Library Server: The requested document cannot be located: file:///c:/aspect7/Library/Store/nAwpFQiskcgytDjrmiVFDRmlbHYNSbA<widget name="Import Aspect6 Labor" group="" category="Aspect6 Utilities" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Import Aspect6 Labor" modified="12-20-2017 14:17:50" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=12-09-2017 21:37:10: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=179|aspectfuncx=50|aspectfuncy=50|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=null|aspectfuncVisible=false|PublishFtpFilename=Import Aspect6 Labor.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=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\\'627196')\\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\\'939523')\\quot\\>Notes</span></td>
//crlf////tab//</tr>
//crlf//</table>
^
ID=627196|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=sensor_list|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=|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_oi85fK8kFTQDVVcRTsBH6W5i_Import 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=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=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\\__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_oi85fK8kFTQDVVcRTsBH6W5i_Import Aspect6 Labor.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Import Aspect6 Labor\\comma\\importJobCodes\\comma\\action_list\\comma\\Action=importJobCodes\\comma\\private//crlf////tab//Import Aspect6 Labor\\comma\\importEmployeeRecords\\comma\\action_list\\comma\\Action=importEmployeeRecords\\comma\\private//crlf////tab//Import Aspect6 Labor\\comma\\importLaborDetail\\comma\\action_list\\comma\\Action=importLaborDetail\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//importJobCodes//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importJobCodes\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Imports job codes from Aspect6 to Aspect7.  //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Aspect6StoreDir - Directory containing Aspect6 file//crlf////tab////tab//Aspect7StoreDir - Directory containing Aspect7 file//crlf////tab////tab//Replace - Optional.  If true\\comma\\ the existing file will be deleted before the import//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//\\quot\\Ok\\quot\\ or \\quot\\Error\\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//appendToLog(\\quot\\importJobCodes Aspect6StoreDir=__Aspect6StoreDir__ Aspect7StoreDir=__Aspect7StoreDir__\\quot\\)//crlf////tab////crlf////tab////tab////tab////abort if Aspect6 store directory is not specified//crlf////tab////tab////tab//if(undefined(\\quot\\__Aspect6StoreDir__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Missing Aspect6 store directory\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////abort if Aspect7 store directory is not specified//crlf////tab////tab////tab//if(undefined(\\quot\\__Aspect7StoreDir__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Missing Aspect7 store directory\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////delete existing file if Replace is true//crlf////tab////tab////tab//if(\\quot\\__Replace__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////tab////tab////tab//fileDelete(addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\jobcode.bin\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the drivers//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Job_Codes_By_Filename\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\\\quot\\jobdef.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(POS_Generic_JobCode_Dta_Buffered\\comma\\drv7\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\jobcode.bin\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drv6\\comma\\\\quot\\(ID_RESERVED_USED=true)\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverSetFilter(drv7\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////crlf////tab////tab////tab////set alias fields//crlf////tab////tab////tab//sAlias=\\quot\\\\quot\\//crlf////tab////crlf////tab////tab////tab////set fields to merge//tab////crlf////tab////tab////tab//sFieldsToMerge=\\quot\\Number~~pipe~~Name~~pipe~~Early_In~~pipe~~Late_In~~pipe~~Early_Out~~pipe~~Late_Out~~pipe~~RegHrs_Code~~pipe~~OvtHrs_Code~~pipe~~Tips_Code~~pipe~~PR_Number~~pipe~~Sales_Code~~pipe~~Union_Code\\quot\\//crlf////crlf////tab////tab////tab//sKeyFields=\\quot\\Number\\quot\\//crlf////tab////tab////tab//sSourceFilter=\\quot\\true\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab////merge the drivers//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drv7\\comma\\true\\comma\\drv6\\comma\\sSourceFilter\\comma\\sKeyFields\\comma\\sFieldsToMerge\\comma\\sAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverClose(drv6)//crlf////tab////tab////tab//driverClose(drv7)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//importEmployeeRecords//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importEmployeeRecords\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Imports vendors from Aspect6 to Aspect7.  //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Aspect6StoreDir - Directory containing Aspect6 file//crlf////tab////tab//Aspect7StoreDir - Directory containing Aspect7 file//crlf////tab////tab//Replace - Optional.  If true\\comma\\ the existing file will be deleted before the import//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//\\quot\\Ok\\quot\\ or \\quot\\Error\\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//appendToLog(\\quot\\importEmployeeRecords Aspect6StoreDir=__Aspect6StoreDir__ Aspect7StoreDir=__Aspect7StoreDir__\\quot\\)//crlf////tab////crlf////tab////tab////tab////abort if Aspect6 store directory is not specified//crlf////tab////tab////tab//if(undefined(\\quot\\__Aspect6StoreDir__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Missing Aspect6 store directory\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if Aspect7 store directory is not specified//crlf////tab////tab////tab//if(undefined(\\quot\\__Aspect7StoreDir__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Missing Aspect7 store directory\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////delete existing file if Replace is true//crlf////tab////tab////tab//if(\\quot\\__Replace__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////tab////tab////tab//fileDelete(addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\employee.bin\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the drivers//crlf////tab////tab////tab//driverOpen(Aspect6_Employee_Records_By_Filename\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\\\quot\\employee.def\\quot\\)//crlf////tab////tab////tab//driverOpen(POS_Generic_Employee_Dta_Buffered\\comma\\drv7\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\employee.bin\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drv6\\comma\\\\quot\\(ID_RESERVED_USED=true)\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverSetFilter(drv7\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////crlf////tab////tab////tab////set alias fields//crlf////tab////tab////tab//sAlias=\\quot\\CheckName=ID_TEMPDEFREC_M_CASHIER\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~City=ID_TEMPDEFREC_ADDRESS_CITY\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~DateOfBirth=ID_TEMPDEFREC_BIRTHDATE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~DateOfHire=ID_TEMPDEFREC_DATE_OF_HIRE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~DateOfTerm=ID_TEMPDEFREC_DATE_OF_TERMINATION\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Delete=ID_TEMPDEFREC_DELETED\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~First_Name=ID_TEMPDEFREC_FIRST_NAME\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Last_Name=ID_TEMPDEFREC_LAST_NAME\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Mid_Name=ID_TEMPDEFREC_MID_NAME\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~NoImport=ID_TEMPDEFREC_DO_NOT_IMPORT_HOURS\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~PhoneNum=ID_TEMPDEFREC_PHONE1\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~POS_Name=ID_TEMPDEFREC_M_EMPLOYEE_NAME\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~POS_Number=ID_TEMPDEFREC_M_EMPLOYEE_NUMBER\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~State=ID_TEMPDEFREC_ADDRESS_STATE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Street=ID_TEMPDEFREC_ADDRESS_STREET\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Terminated=ID_TEMPDEFREC_TERMINATED\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ZipCode=ID_TEMPDEFREC_ADDRESS_ZIP\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~JobNum1=ID_TEMPDEFREC_M_RATE[1].ID_TRATEREC_JOB_CODE_NUMBER\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~RegRate1=ID_TEMPDEFREC_M_RATE[1].ID_TRATEREC_REGULAR_PAY\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~OvtRate1=ID_TEMPDEFREC_M_RATE[1].ID_TRATEREC_OVERTIME_PAY\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~JobNum2=ID_TEMPDEFREC_M_RATE[2].ID_TRATEREC_JOB_CODE_NUMBER\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~RegRate2=ID_TEMPDEFREC_M_RATE[2].ID_TRATEREC_REGULAR_PAY\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~OvtRate2=ID_TEMPDEFREC_M_RATE[2].ID_TRATEREC_OVERTIME_PAY\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~JobNum3=ID_TEMPDEFREC_M_RATE[3].ID_TRATEREC_JOB_CODE_NUMBER\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~RegRate3=ID_TEMPDEFREC_M_RATE[3].ID_TRATEREC_REGULAR_PAY\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~OvtRate3=ID_TEMPDEFREC_M_RATE[3].ID_TRATEREC_OVERTIME_PAY\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~JobNum4=ID_TEMPDEFREC_M_RATE[4].ID_TRATEREC_JOB_CODE_NUMBER\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~RegRate4=ID_TEMPDEFREC_M_RATE[4].ID_TRATEREC_REGULAR_PAY\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~OvtRate4=ID_TEMPDEFREC_M_RATE[4].ID_TRATEREC_OVERTIME_PAY\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~JobNum5=ID_TEMPDEFREC_M_RATE[5].ID_TRATEREC_JOB_CODE_NUMBER\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~RegRate5=ID_TEMPDEFREC_M_RATE[5].ID_TRATEREC_REGULAR_PAY\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~OvtRate5=ID_TEMPDEFREC_M_RATE[5].ID_TRATEREC_OVERTIME_PAY\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~JobNum6=ID_TEMPDEFREC_M_RATE[6].ID_TRATEREC_JOB_CODE_NUMBER\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~RegRate6=ID_TEMPDEFREC_M_RATE[6].ID_TRATEREC_REGULAR_PAY\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~OvtRate6=ID_TEMPDEFREC_M_RATE[6].ID_TRATEREC_OVERTIME_PAY\\quot\\//crlf////tab////crlf////tab////tab////tab////set fields to merge//tab////crlf////tab////tab////tab//sFieldsToMerge=\\quot\\CheckName~~pipe~~City~~pipe~~DateOfBirth~~pipe~~DateOfHire~~pipe~~DateOfTerm~~pipe~~Delete~~pipe~~First_Name~~pipe~~Last_Name~~pipe~~Mid_Name~~pipe~~NoImport~~pipe~~PhoneNum~~pipe~~POS_Name~~pipe~~POS_Number~~pipe~~State~~pipe~~Street~~pipe~~Terminated~~pipe~~ZipCode~~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////crlf////tab////tab////tab//sKeyFields=\\quot\\POS_Number\\quot\\//crlf////tab////tab////tab//sSourceFilter=\\quot\\true\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab////merge the drivers//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drv7\\comma\\true\\comma\\drv6\\comma\\sSourceFilter\\comma\\sKeyFields\\comma\\sFieldsToMerge\\comma\\sAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverClose(drv6)//crlf////tab////tab////tab//driverClose(drv7)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//importLaborDetail//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importLaborDetail\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Imports vendors from Aspect6 to Aspect7.  //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Aspect6StoreDir - Directory containing Aspect6 file//crlf////tab////tab//Aspect7StoreDir - Directory containing Aspect7 file//crlf////tab////tab//DtFrom - Starting date of range to be imported in MM-dd-yyyy format//crlf////tab////tab//DtTo - Ending date of range to be imported in MM-dd-yyyy format//crlf////tab////tab//Replace - Optional.  If true\\comma\\ the existing file will be deleted before the import//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//\\quot\\Ok\\quot\\ or \\quot\\Error\\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//appendToLog(\\quot\\__Action__ From=__dtFrom__ To=__dtTo__ Aspect6StoreDir=__Aspect6StoreDir__ Aspect7StoreDir=__Aspect7StoreDir__\\quot\\)//crlf////tab////crlf////tab////tab////tab////abort if Aspect6 store directory is not specified//crlf////tab////tab////tab//if(undefined(\\quot\\__Aspect6StoreDir__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Missing Aspect6 store directory\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if Aspect7 store directory is not specified//crlf////tab////tab////tab//if(undefined(\\quot\\__Aspect7StoreDir__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Missing Aspect7 store directory\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if start date not specified//crlf////tab////tab////tab//if(undefined(\\quot\\__DtFrom__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Missing starting date\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if end date not specified//crlf////tab////tab////tab//if(undefined(\\quot\\__DtTo__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Missing ending date\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////set alias fields//crlf////tab////tab////tab//sAlias=\\quot\\Inventory_Item_ID=ID_TCOUNTREC_ITEM\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Size_Prefix=ID_TCOUNTREC_SIZE.ID_TSIZEREC_PREFIX\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Size_Unit=ID_TCOUNTREC_SIZE.ID_TSIZEREC_SZ\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Physical_Count=ID_TCOUNTREC_ACTUAL\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Aspect6_DiskIndex=DiskIndex\\quot\\//crlf////crlf////tab////tab////tab//sAlias=\\quot\\Employee=ID_TDLYLBRDTLREC_EMPLOYEE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~SchJobCode=ID_TDLYLBRDTLREC_PAYINFO[1].ID_TDLYLBRPAYINFO_JOB_CODE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~SchPosition=ID_TDLYLBRDTLREC_PAYINFO[1].ID_TDLYLBRPAYINFO_POSITION\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~SchPayType=ID_TDLYLBRDTLREC_PAYINFO[1].ID_TDLYLBRPAYINFO_PAY_TYPE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~SchTimeIn=ID_TDLYLBRDTLREC_PAYINFO[1].ID_TDLYLBRPAYINFO_TIME_IN\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~SchTimeOut=ID_TDLYLBRDTLREC_PAYINFO[1].ID_TDLYLBRPAYINFO_TIME_OUT\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~SchRegRate=ID_TDLYLBRDTLREC_PAYINFO[1].ID_TDLYLBRPAYINFO_REGULAR_RATE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~SchBreakIn=ID_TDLYLBRDTLREC_PAYINFO[1].ID_TDLYLBRPAYINFO_BREAK_IN\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~SchBreakOut=ID_TDLYLBRDTLREC_PAYINFO[1].ID_TDLYLBRPAYINFO_BREAK_OUT\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~SchBrkNotPd=ID_TDLYLBRDTLREC_PAYINFO[1].ID_TDLYLBRPAYINFO_BREAK_NOT_PAID\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ActJobCode=ID_TDLYLBRDTLREC_PAYINFO[2].ID_TDLYLBRPAYINFO_JOB_CODE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ActPosition=ID_TDLYLBRDTLREC_PAYINFO[2].ID_TDLYLBRPAYINFO_POSITION\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ActPayType=ID_TDLYLBRDTLREC_PAYINFO[2].ID_TDLYLBRPAYINFO_PAY_TYPE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ActTimeIn=ID_TDLYLBRDTLREC_PAYINFO[2].ID_TDLYLBRPAYINFO_TIME_IN\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ActTimeOut=ID_TDLYLBRDTLREC_PAYINFO[2].ID_TDLYLBRPAYINFO_TIME_OUT\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ActRegRate=ID_TDLYLBRDTLREC_PAYINFO[2].ID_TDLYLBRPAYINFO_REGULAR_RATE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ActBreakIn=ID_TDLYLBRDTLREC_PAYINFO[2].ID_TDLYLBRPAYINFO_BREAK_IN\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ActBreakOut=ID_TDLYLBRDTLREC_PAYINFO[2].ID_TDLYLBRPAYINFO_BREAK_OUT\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ActBrkNotPd=ID_TDLYLBRDTLREC_PAYINFO[2].ID_TDLYLBRPAYINFO_BREAK_NOT_PAID\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~AppJobCode=ID_TDLYLBRDTLREC_PAYINFO[3].ID_TDLYLBRPAYINFO_JOB_CODE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~AppPosition=ID_TDLYLBRDTLREC_PAYINFO[3].ID_TDLYLBRPAYINFO_POSITION\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~AppPayType=ID_TDLYLBRDTLREC_PAYINFO[3].ID_TDLYLBRPAYINFO_PAY_TYPE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~AppTimeIn=ID_TDLYLBRDTLREC_PAYINFO[3].ID_TDLYLBRPAYINFO_TIME_IN\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~AppTimeOut=ID_TDLYLBRDTLREC_PAYINFO[3].ID_TDLYLBRPAYINFO_TIME_OUT\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~AppRegRate=ID_TDLYLBRDTLREC_PAYINFO[3].ID_TDLYLBRPAYINFO_REGULAR_RATE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~AppBreakIn=ID_TDLYLBRDTLREC_PAYINFO[3].ID_TDLYLBRPAYINFO_BREAK_IN\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~AppBreakOut=ID_TDLYLBRDTLREC_PAYINFO[3].ID_TDLYLBRPAYINFO_BREAK_OUT\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~AppBrkNotPd=ID_TDLYLBRDTLREC_PAYINFO[3].ID_TDLYLBRPAYINFO_BREAK_NOT_PAID\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab////set fields to merge//tab////crlf////tab////tab////tab//sFieldsToMerge=\\quot\\Employee~~pipe~~SchJobCode~~pipe~~SchPosition~~pipe~~SchPayType~~pipe~~SchTimeIn~~pipe~~SchTimeOut~~pipe~~SchRegRate~~pipe~~SchBreakIn~~pipe~~SchBreakOut~~pipe~~SchBrkNotPd~~pipe~~ActJobCode~~pipe~~ActPosition~~pipe~~ActPayType~~pipe~~ActTimeIn~~pipe~~ActTimeOut~~pipe~~ActRegRate~~pipe~~ActBreakIn~~pipe~~ActBreakOut~~pipe~~ActBrkNotPd~~pipe~~AppJobCode~~pipe~~AppPosition~~pipe~~AppPayType~~pipe~~AppTimeIn~~pipe~~AppTimeOut~~pipe~~AppRegRate~~pipe~~AppBreakIn~~pipe~~AppBreakOut~~pipe~~AppBrkNotPd\\quot\\//crlf////tab////tab////crlf////tab////tab////tab//sKeyFields=\\quot\\Employee~~pipe~~ActTimeIn\\quot\\//crlf////crlf////tab////tab////tab//dtFrom=parseTime(\\quot\\__DtFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dtTo=parseTime(\\quot\\__DtTo__\\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////tab////tab////tab////tab//sAspect6Date=formatDate(dt\\comma\\\\quot\\MM-dd-yy\\quot\\)//crlf////tab////tab////tab////tab//sAspect6Filename=addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\sAspect6Date\\plus\\\\quot\\.lbr\\quot\\//crlf////tab////tab////tab////tab//sAspect7Filename=addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\lbr.\\quot\\\\plus\\sDate\\plus\\\\quot\\.bin\\quot\\//crlf////crlf////tab////tab////tab////tab//if(fileExists(sAspect6Filename))//crlf////tab////tab////tab////tab////tab////delete existing file if Replace is true//crlf////tab////tab////tab////tab////tab//if(\\quot\\__Replace__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//fileDelete(sAspect7Filename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////tab////tab////tab////open the drivers//crlf////tab////tab////tab////tab////tab//driverOpen(Aspect6_Daily_Labor_Details_By_Filename\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\sAspect6Filename)//crlf////tab////tab////tab////tab////tab//driverSetFilter(drv6\\comma\\\\quot\\ID_RESERVED_USED=true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////only import if there are actual counts in the Aspect6 file//crlf////tab////tab////tab////tab////tab//driverOpen(POS_Generic_Labor_Detail_Dta_Buffered\\comma\\drv7\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\sAspect7Filename)//crlf////tab////tab////tab////tab////tab//driverSetFilter(drv7\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////tab////tab////merge the drivers//crlf////tab////tab////tab////tab////tab//s=driverMerge(true\\comma\\drv7\\comma\\true\\comma\\drv6\\comma\\\\quot\\true\\quot\\\\comma\\sKeyFields\\comma\\sFieldsToMerge\\comma\\sAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab////tab//driverClose(drv7)//crlf////tab////tab////tab////tab////tab//scriptSetResult(s)//crlf////crlf////tab////tab////tab////tab////tab//driverClose(drv6)//crlf////tab////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//
^
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=939523|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=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=953812|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|
^
ID=953812|X=183|Y=220|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=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|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=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_Import Aspect6 Labor\\quot\\; commands:\\quot\\
//crlf//
//crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Import Aspect6 Labor\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\
//crlf////tab////tab////Created 07-20-2014 14:38: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\\oi85fK8kFTQDVVcRTsBH6W5i_Import Aspect6 Labor\\comma\\AgentTerminate\\comma\\953812\\comma\\0\\comma\\
//crlf////tab////tab//scriptSetResult(0)
//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;07202014//amp//nbsp;143851//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;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;07-20-2014//amp//nbsp;14:38: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>(0)<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>07202014 143851</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\\chart953812\\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>Import 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 content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 0px; width: 120px; height: 46px; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart953812\\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="Labor Dialogs" group="" category="Drivers / Dialogs" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Labor Dialogs" modified="09-26-2023 20:55:30" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=12-27-2022 21:35:21: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=323|aspectfuncx=211|aspectfuncy=100|aspectfuncw=812|aspectfunch=820|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Labor Dialogs.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=557417|X=1010|Y=11|W=528|H=573|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=|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////crlf//<hr>//crlf//<p><b>//crlf////tab//When using htmlSelect to create a select box\\comma\\ use !!include so the select box will be //crlf////tab//created after the driver include has been processed.  The dialog is included in the //crlf////tab//processed driver as text and getProcessedContent() calls replacePageArgs() after the //crlf////tab//driver include is processed.  This allows the StoreCode page argument to be used in//crlf////tab//the dialog to get vendors\\comma\\ sizes\\comma\\ etc from the correct store directory.  See the vendor//crlf////tab//selections in the inventory item dialog for an example.//crlf//</b></p>//crlf//<p><b>//crlf////tab//Make sure to use !include for the driver and !!include for the htmlSelect expression.  //crlf////tab//If the driver also uses !!include\\comma\\ page arguments will not be set before the edit//crlf////tab//dialog containing the htmlSelect is processed.//crlf//</b></p>//crlf//<p><b>//crlf////tab//Also - The expression used to set the visibility of the dialog needs to be changed to !! include//crlf////tab//as well as the random value used in the tab dialog.//crlf//</b></p>//crlf//<hr>//crlf////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=989632|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='591018'>Job Code Category</option>//crlf////tab//<option value='444070'>Job Codes</option>//crlf////tab//<option value='147550'>Employee Records</option>//crlf////tab//<option value='508116'>Employee Jobs //amp// Rates</option>//crlf////tab//<option value='534064'>Employee Jobs //amp// Rates - Specific Employee</option>//crlf////tab//<option value='13245'>Labor Detail</option>//crlf//</select>//crlf//^
ID=444070|X=183|Y=33|W=599|H=581|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=989632|AttachLeft=|AlignLeft=989632|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//<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\POS_GENERIC_JOBCODE__DialogID__\\quot\\ salt=\\quot\\__DialogID__\\quot\\ aspectinit=\\quot\\initializeEditJobCodeDialog\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:400px; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Labor Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Javascript used to display only the appropriate earnings codes based on //crlf////tab//the export format selected in the store settings//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<script ID=\\quot\\JSEditJobCodeDialog\\quot\\>//crlf////tab////tab//function initializeEditJobCodeDialog(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\\SelectedPayrollExportFormat\\quot\\\\plus\\salt).value;//crlf////tab////tab////tab//appendToLog(\\quot\\sExportFormat=\\quot\\\\plus\\sExportFormat);//crlf////crlf////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\\\plus\\salt\\comma\\false);//crlf////crlf////tab////tab////tab////The union code doubles as \\quot\\branch\\quot\\ for Millennium//crlf////tab////tab////tab//setVisible(\\quot\\ECUnion_Code\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//document.getElementById(\\quot\\ECUntion_Code_Label__DialogID__\\quot\\).innerHTML=\\quot\\Union Code\\quot\\;//crlf////crlf////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\ECOvertime_Hours\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\ECTips\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\ECCach_Tips\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\ECCharge_Tips\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\ECSales\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\ECTips_Paid\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\ECTips_Received\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\ECTips_CCFee\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\ECTip_Share\\quot\\\\plus\\salt\\comma\\false);//crlf////crlf////tab////tab////tab//if((sExportFormat.length==0) ~~pipe~~~~pipe~~ (sExportFormat.equalsIgnoreCase(\\quot\\0\\quot\\))) {//crlf////tab////tab////tab////tab//setVisible(\\quot\\ECNoFormatSelected\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(\\quot\\ECAskRep\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab////tab//setVisible(\\quot\\ECTitle\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab//setVisible(\\quot\\ECNoFormatSelected\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab////tab//setVisible(\\quot\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(\\quot\\ECTitle\\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\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECCharge_Tips\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECSales\\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////tab//setVisible(\\quot\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECOvertime_Hours\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECTips\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECSales\\quot\\\\plus\\salt\\comma\\true);//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\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\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\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECOvertime_Hours\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECTips\\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\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\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\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECOvertime_Hours\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECTips\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\Paychoice\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECOvertime_Hours\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECTips\\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\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECOvertime_Hours\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECTips\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECUnion_Code\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//document.getElementById(\\quot\\ECUntion_Code_Label__DialogID__\\quot\\).innerHTML=\\quot\\Branch\\quot\\;//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\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\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\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\\\plus\\salt\\comma\\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\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECOvertime_Hours\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECTips\\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\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\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\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECTips\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\Paycor2023\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECTips\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\Paylocity\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECOvertime_Hours\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECTips\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//document.getElementById(\\quot\\ECUntion_Code_Label__DialogID__\\quot\\).innerHTML=\\quot\\Branch\\quot\\;//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\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\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\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECOvertime_Hours\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECTips\\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////There are no fields to be displayed for Trupay//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\TimeWorks\\quot\\)) {//crlf////tab////tab////tab////tab////tab////There are no fields to be displayed for Trupay//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\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////There are no fields to be displayed for Trupay//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\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////There are no fields to be displayed for Trupay//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECAskRep\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\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\\ECPayroll_Job_No\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//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//<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\\__salt__general\\apos\\)\\quot\\>Job Code</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\__salt__export\\apos\\)\\quot\\>Earnings Codes</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\__salt__tip_share\\apos\\)\\quot\\>Tip Share</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\__salt__Enterprise\\apos\\)\\quot\\>Enterprise</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=\\apos\\__salt__general\\apos\\>Job Code</option>//crlf////tab////tab////tab////tab//<option value=\\apos\\__salt__export\\apos\\>Earnings Codes</option>//crlf////tab////tab////tab////tab//<option value=\\apos\\__salt__tip_share\\apos\\>Tip Share</option>//crlf////tab////tab////tab////tab//<option value=\\apos\\__salt__Enterprise\\apos\\>Enterprise</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Job Code//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__general\\quot\\ style=\\quot\\height:auto;width:100\\percent\\\\quot\\>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>POS ID</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\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\\width:200px\\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>Category</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__Job_Code_Category_ID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Name:\\quot\\Job_Code_Category_ID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\POS_Generic_Job_Code_Category_Name_By_ID\\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\\style=\\apos\\width:200px\\apos\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\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////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Sales Link</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\POS_Generic_Daily_Sales_Field_Name_by_ID\\quot\\\\comma\\\\quot\\Sales_Link\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\apos\\width:200px\\apos\\ onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></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\\__salt__export\\quot\\ style=\\quot\\height:auto;width:100\\percent\\\\quot\\>//crlf////tab////tab////tab//<!-- The selected export format for the store is used to show only the necessary//crlf////tab////tab////tab////tab////tab////tab//earnings codes//crlf////tab////tab////tab//-->//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ //crlf////tab////tab////tab////tab//ID=\\quot\\SelectedPayrollExportFormat__DialogID__\\quot\\ //crlf////tab////tab////tab////tab//value=\\quot\\{@lookup(Aspect_BackOffice_Payroll_Export_Format_by_ID\\comma\\\\quot\\__StoreID__\\quot\\)}\\quot\\>//crlf////crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\ECNoFormatSelected__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td colspan=\\apos\\2\\apos\\>Please edit the store settings and select a payroll export format.   //crlf////tab////tab////tab////tab////tab////tab//After selecting an export format\\comma\\ you can enter the appropriate earnings codes //crlf////tab////tab////tab////tab////tab////tab//here.</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\ECAskRep__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td colspan=\\apos\\2\\apos\\>Ask your payroll representative for the values to enter here</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\ECPayroll_Job_No__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Payroll Job Number</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 ID=\\quot\\ECUnion_Code__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//This field is also used to get the branch for Millennium.  The text in the //crlf////tab////tab////tab////tab////tab//span tag below is set to Branch for Millennium.//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<td><span ID=\\quot\\ECUntion_Code_Label__DialogID__\\quot\\>Union Code</span></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////tab//<tr ID=\\quot\\ECRegular_Hours__DialogID__\\quot\\>//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 ID=\\quot\\ECOvertime_Hours__DialogID__\\quot\\>//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 ID=\\quot\\ECTips__DialogID__\\quot\\>//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 ID=\\quot\\ECCach_Tips__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Cash 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 ID=\\quot\\ECCharge_Tips__DialogID__\\quot\\>//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 ID=\\quot\\ECTips_Paid__DialogID__\\quot\\>//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 ID=\\quot\\ECTips_Received__DialogID__\\quot\\>//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 ID=\\quot\\ECTip_Share__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Tip Share</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_Share_Code\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\ECTips_CCFee__DialogID__\\quot\\>//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 ID=\\quot\\ECSales__DialogID__\\quot\\>//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 colspan=\\apos\\2\\apos\\>\\amp\\nbsp;</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab//<br>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Tip Share//crlf////tab////tab//This was added 4/2017 for Iavarone / Ken Brown (reseller).  They needed to //crlf////tab////tab//export a tip share calculation to ADP.//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__tip_share\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<p>Edit these settings to calculate a tip share amount as a percent of sales for each employee //crlf////tab////tab////tab////tab//working this job code.  This is not required.  It is used for some payroll exports.</p>//crlf////tab////tab////tab//<table style=\\quot\\width:auto\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Tip Share Percent</td>//crlf////tab////tab////tab////tab////tab//<td><input ID=\\quot\\p45E\\quot\\ 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\\Calculate_Tip_Share_Percent\\quot\\ TYPE=\\quot\\number\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Tip Share Field Selection</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\POS_Generic_Calc_Tip_Share_Field_Selection\\quot\\\\comma\\\\quot\\Calculate_Tip_Share_Field_Selection\\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////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Enterprise//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__Enterprise\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<table style=\\quot\\width:100\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Category 1</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Enterprise_Category1\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Category 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:100\\percent\\;max-width:__TextFieldWidth__\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Enterprise_Category2\\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>Category 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:100\\percent\\;max-width:__TextFieldWidth__\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Enterprise_Category3\\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\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:100\\percent\\;max-width:__TextFieldWidth__\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Enterprise_Name\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</div>//crlf//^
ID=147550|X=183|Y=33|W=632|H=469|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=989632|AttachLeft=|AlignLeft=989632|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//<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\POS_GENERIC_EMPLOYEE__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:600px; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Labor 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//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this)\\quot\\></div>//crlf////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__general')\\quot\\>Employee</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__rates')\\quot\\>Rates</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='__salt__general'>Employee</option>//crlf////tab////tab////tab////tab//<option value='__salt__rates'>Rates</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Hidden external filter used to filter the rates/jobs driver to the selected employee//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<span style=\\quot\\display:none\\quot\\>//crlf////tab////tab////tab//<!!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab////tab////tab//ID:\\quot\\__salt__FilterEmployeePOSNumber\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\name='POS_Number'\\quot\\;//crlf////tab////tab////tab////tab//Condition:\\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//Expression:\\quot\\Employee_POS_ID='$value$'\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</span>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//General//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__general\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Contact//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;margin:0px 15px 15px 0px\\quot\\>//crlf////tab////tab////tab////tab//<b>Name/Contact</b>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<conditional expression:false>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>POS Number</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ style=\\quot\\width:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\POS_Number\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Last Name</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ style=\\quot\\width:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Last_Name\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<conditional expression:false>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Middle Name</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ style=\\quot\\width:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Mid_Name\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>First Name</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ style=\\quot\\width:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\First_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>Phone</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ style=\\quot\\width:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\PhoneNum\\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>EMail</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ style=\\quot\\width:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\EMail\\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>Street</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ style=\\quot\\width:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Street\\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>City</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ style=\\quot\\width:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\City\\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>State</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ style=\\quot\\width:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\State\\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>Zip</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ style=\\quot\\width:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ZipCode\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\NoExport\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Exclude from Labor Detail</td>//crlf////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Terminated\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Terminated</td>//crlf////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Inactive\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Inactive</td>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Date of birth\\comma\\ hire\\comma\\ term//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;margin:0px 15px 15px 0px\\quot\\>//crlf////tab////tab////tab////tab//<b>Date of Birth\\comma\\ Hire\\comma\\ Term</b>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Birth Date</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\DateOfBirth\\quot\\ TYPE=\\quot\\date\\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>Hire Date</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\DateOfHire\\quot\\ TYPE=\\quot\\date\\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>Termination Date</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\DateOfTerm\\quot\\ TYPE=\\quot\\date\\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////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Payroll Information//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;margin:0px 15px 15px 0px\\quot\\>//crlf////tab////tab////tab////tab//<b>Payroll Information</b>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Payroll Number</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\\PayNumber\\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>Soc Sec Num</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\\Social_Security_Number\\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>Marital Status</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\POS_Generic_Employee_Marital_Status\\quot\\\\comma\\\\quot\\Marital_Status\\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>Federal Deductions</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ID=\\quot\\i2DU\\quot\\ 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\\Federal_Deductions\\quot\\ TYPE=\\quot\\number\\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>State Deductions</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ID=\\quot\\odik\\quot\\ 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\\State_Deductions\\quot\\ TYPE=\\quot\\number\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab//<conditional expression:false>//crlf////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\NoImport\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Do Not Import Labor</td>//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Rates//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__rates\\quot\\ class=\\quot\\DialogTabContent\\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\\POS_GENERIC_EMPLOYEE_JOBS_AND_RATES\\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\\StoreID=__StoreID__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_GENERIC_EMPLOYEE_JOBS_AND_RATES\\quot\\;//crlf////tab////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//display: \\quot\\Regular Rates by Employee / Job\\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\\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\\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//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//EditDialogID: \\quot\\oi85fK8kFTQDVVcRTsBH6W5i~~pipe~~Labor Dialogs~~pipe~~534064~~pipe~~POS_GENERIC_EMPLOYEE_JOBS_AND_RATES~~pipe~~__salt__\\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\\__salt__FilterEmployeePOSNumber\\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\\false\\quot\\;//crlf////tab////tab////tab////tab//Timestamp: \\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//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//</div>//crlf////crlf//^
ID=13245|X=183|Y=33|W=422|H=486|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=989632|AttachLeft=|AlignLeft=989632|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\\POS_GENERIC_LABOR__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ AdjustHeight=\\quot\\false\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:500px; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Labor 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//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this)\\quot\\></div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////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__approvedshift')\\quot\\>Approved Shift</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__posshift')\\quot\\>POS Shift</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__approvedshift'>Approved Shift</option>//crlf////tab////tab////tab////tab//<option value='__salt__posshift'>POS Shift</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Approved Shift//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__approvedshift\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<table class=\\quot\\inline\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Employee</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab////tab////tab//< !!include type:expression; expression:htmlSelect(\\quot\\POS_Generic_Employee_Name_Last_First\\quot\\\\comma\\\\quot\\Employee\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\class='medium' onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\\\comma\\\\quot\\(not(Inactive)) and (not(Terminated)) and (not(NoExport))\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab////tab//<!!include type:Collection;//crlf////tab////tab////tab////tab////tab////tab////tab//ID:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Name:\\quot\\Employee\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\POS_Generic_Employee_Name_Last_First\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//DataList:\\quot\\true\\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\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Filter:\\quot\\(not(Inactive)) and (not(Terminated)) and (not(NoExport))\\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>Job Code</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\POS_Generic_Job_Code_Names_By_POS_ID_with_Select\\quot\\\\comma\\\\quot\\AppJobCode\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\class='medium' onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab//<div style=\\quot\\float:left;margin:15px 15px 0px 0px\\quot\\>//crlf////tab////tab////tab////tab//<b>Time In/Out</b>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Time In</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input onblur=\\quot\\submitDialogCell(this)\\quot\\ class=\\quot\\datetime\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\AppTimeIn\\quot\\ TYPE=\\quot\\datetime-local\\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>Time Out</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input onblur=\\quot\\submitDialogCell(this)\\quot\\ class=\\quot\\datetime\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\AppTimeOut\\quot\\ TYPE=\\quot\\datetime-local\\quot\\ pattern=\\quot\\yyyy-MM-ddTHH:mm\\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>Regular Rate</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class=\\quot\\number\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\AppRegRate\\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>Break In</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input onblur=\\quot\\submitDialogCell(this)\\quot\\ class=\\quot\\datetime\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\AppBreakIn\\quot\\ TYPE=\\quot\\datetime-local\\quot\\ pattern=\\quot\\yyyy-MM-ddTHH:mm\\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>Break Out</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input onblur=\\quot\\submitDialogCell(this)\\quot\\ class=\\quot\\datetime\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\AppBreakOut\\quot\\ TYPE=\\quot\\datetime-local\\quot\\ pattern=\\quot\\yyyy-MM-ddTHH:mm\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\AppBrkNotPd\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Break Not Paid</span>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<div style=\\quot\\float:left;margin:15px 15px 15px 0px\\quot\\>//crlf////tab////tab////tab////tab//<b>Sales</b>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Net Sales</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class='number' VALUE=\\quot\\\\quot\\ NAME=\\quot\\AppNetSales\\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>Cash Sales</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class='number' VALUE=\\quot\\\\quot\\ NAME=\\quot\\AppCashSls\\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>Charge Sales</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class='number' VALUE=\\quot\\\\quot\\ NAME=\\quot\\AppChgSls\\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>CC Fee</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class='number' VALUE=\\quot\\\\quot\\ NAME=\\quot\\AppCCFee\\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////tab//<div style=\\quot\\float:left;margin:15px 15px 15px 0px\\quot\\>//crlf////tab////tab////tab////tab//<b>Tips</b>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Declared Tips</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class='number' VALUE=\\quot\\\\quot\\ NAME=\\quot\\AppDeclTip\\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>Charge Tips</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class='number' VALUE=\\quot\\\\quot\\ NAME=\\quot\\AppChgTip\\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>Cash Tips</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input NAME=\\quot\\AppCashTip\\quot\\ class='number' readonly=true disabled=true></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Tips Paid</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class='number' VALUE=\\quot\\\\quot\\ NAME=\\quot\\AppTipsPaid\\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>Tips Received</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class='number' VALUE=\\quot\\\\quot\\ NAME=\\quot\\AppTipsReceived\\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////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//POS Shift//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__posshift\\quot\\ class=\\quot\\DialogTabContent\\quot\\ style=\\quot\\clear:both\\quot\\>//crlf////tab////tab////tab//<table class=\\quot\\inline\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Employee</td>//crlf////tab////tab////tab////tab////tab//<td><input name=\\quot\\EmpName\\quot\\ type=\\quot\\text\\quot\\ class=\\quot\\medium\\quot\\ disabled readonly style=\\quot\\background-color://pound//ebebeb\\quot\\ style=\\quot\\background-color://pound//ebebeb\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Job Code</td>//crlf////tab////tab////tab////tab////tab//<td><input name=\\quot\\ActJobCodeName\\quot\\ type=\\quot\\text\\quot\\ class=\\quot\\medium\\quot\\ disabled readonly style=\\quot\\background-color://pound//ebebeb\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//<div style=\\quot\\float:left;margin:15px 15px 0px 0px\\quot\\>//crlf////tab////tab////tab////tab//<b>Time In/Out</b>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Time In</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input disabled readonly style=\\quot\\background-color://pound//ebebeb\\quot\\ class=\\quot\\datetime\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ActTimeIn\\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>Time Out</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input disabled readonly style=\\quot\\background-color://pound//ebebeb\\quot\\ class=\\quot\\datetime\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ActTimeOut\\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>Regular Rate</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input disabled readonly style=\\quot\\background-color://pound//ebebeb\\quot\\ class=\\quot\\number\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ActRegRate\\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>Break In</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input disabled readonly style=\\quot\\background-color://pound//ebebeb\\quot\\ class=\\quot\\datetime\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ActBreakIn\\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>Break Out</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input disabled readonly style=\\quot\\background-color://pound//ebebeb\\quot\\ class=\\quot\\datetime\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ActBreakOut\\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////tab//<div style=\\quot\\float:left;margin:15px 15px 15px 0px\\quot\\>//crlf////tab////tab////tab////tab//<b>Sales</b>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Net Sales</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input disabled readonly style=\\quot\\background-color://pound//ebebeb\\quot\\ class='number' VALUE=\\quot\\\\quot\\ NAME=\\quot\\ActNetSales\\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>Cash Sales</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input disabled readonly style=\\quot\\background-color://pound//ebebeb\\quot\\ class='number' VALUE=\\quot\\\\quot\\ NAME=\\quot\\ActCashSls\\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>Charge Sales</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input disabled readonly style=\\quot\\background-color://pound//ebebeb\\quot\\ class='number' VALUE=\\quot\\\\quot\\ NAME=\\quot\\ActChgSls\\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>CC Fee</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input disabled readonly style=\\quot\\background-color://pound//ebebeb\\quot\\ class='number' VALUE=\\quot\\\\quot\\ NAME=\\quot\\ActCCFee\\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////tab//<div style=\\quot\\float:left;margin:15px 15px 15px 0px\\quot\\>//crlf////tab////tab////tab////tab//<b>Tips</b>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Declared Tips</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input disabled readonly style=\\quot\\background-color://pound//ebebeb\\quot\\ class='number' VALUE=\\quot\\\\quot\\ NAME=\\quot\\ActDeclTip\\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>Cash Tips</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input disabled readonly style=\\quot\\background-color://pound//ebebeb\\quot\\ class='number' VALUE=\\quot\\\\quot\\ NAME=\\quot\\ActCashTip\\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>Charge Tips</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input disabled readonly style=\\quot\\background-color://pound//ebebeb\\quot\\ class='number' VALUE=\\quot\\\\quot\\ NAME=\\quot\\ActChgTip\\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>Tips Paid</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input disabled readonly style=\\quot\\background-color://pound//ebebeb\\quot\\ class='number' VALUE=\\quot\\\\quot\\ NAME=\\quot\\ActTipsPaid\\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>Tips Received</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input disabled readonly style=\\quot\\background-color://pound//ebebeb\\quot\\ class='number' VALUE=\\quot\\\\quot\\ NAME=\\quot\\ActTipsReceived\\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//</div>//crlf////crlf//^
ID=508116|X=183|Y=33|W=685|H=622|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=989632|AttachLeft=|AlignLeft=989632|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\\POS_GENERIC_EMPLOYEE_JOBS_AND_RATES__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:300px; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Labor Dialogs\\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//<!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__Job_/_Rate')\\quot\\>Job / Rate</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//<!-- Job / Rate -->//crlf////tab////tab//<div ID=\\quot\\__salt__Job_/_Rate\\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>Employee</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\POS_Generic_Employee_Name_Last_First\\quot\\\\comma\\\\quot\\Employee_POS_ID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\class='medium' onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Job Code</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\POS_Generic_Job_Code_Names_By_POS_ID_with_Select\\quot\\\\comma\\\\quot\\Job_Code_POS_ID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\class='medium' onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Rate</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class='int' VALUE=\\quot\\\\quot\\ NAME=\\quot\\Rate\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab//<span name='Message_for_Dialog'></span>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf////crlf//^
ID=534064|X=183|Y=33|W=637|H=448|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=989632|AttachLeft=|AlignLeft=989632|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\\POS_GENERIC_EMPLOYEE_JOBS_AND_RATES__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:300px; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Labor Dialogs\\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//<!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__Job_/_Rate')\\quot\\>Job / Rate</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//<!-- Job / Rate -->//crlf////tab////tab//<div ID=\\quot\\__salt__Job_/_Rate\\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>Job Code</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\POS_Generic_Job_Code_Names_By_POS_ID_with_Select\\quot\\\\comma\\\\quot\\Job_Code_POS_ID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\class='medium' onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Rate</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class='int' VALUE=\\quot\\\\quot\\ NAME=\\quot\\Rate\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab//<span name='Message_for_Dialog'></span>//crlf////tab////tab//</div>//crlf////crlf////tab//</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\\javascript:showTab(this\\comma\\'950596')\\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\\'832648')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=950596|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=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_oi85fK8kFTQDVVcRTsBH6W5i_Labor 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=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\\__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_oi85fK8kFTQDVVcRTsBH6W5i_Labor 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=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=832648|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=591018|X=183|Y=33|W=628|H=572|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=989632|AttachLeft=|AlignLeft=989632|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//<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\POS_GENERIC_JOB_CODE_CATEGORY__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:300px; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Labor Dialogs\\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__Main')\\quot\\>Job Code 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'>Job Code Category</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Main -->//crlf////tab////tab//<div ID=\\quot\\__salt__Main\\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//
</widget><widget name="Labor Drivers" group="" category="Drivers / Dialogs" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Labor Drivers" modified="06-17-2022 01:06:34" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=03-08-2019 22:21: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=33|toolboxy=247|aspectfuncx=179|aspectfuncy=100|aspectfuncw=881|aspectfunch=816|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Labor Drivers.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=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\\'377330')\\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\\'888901')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=377330|X=1500|Y=27|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=|Content=<conditional type:expression; expression:(false) or (\\quot\\__getContent__\\quot\\=\\quot\\LaborDetailDimensionalDriver\\quot\\)>//crlf////tab//function exportPayroll(TableID\\comma\\s) {//crlf////tab////tab////if complete\\comma\\ display message and exit//crlf////tab////tab//if(s) {//crlf////tab////tab////tab//if(s.toUpperCase().startsWith(\\quot\\ERROR\\quot\\)) {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab////if the result is successful\\comma\\ the first line is a message followed by a tab and then the //crlf////tab////tab////tab////tab////output.  There may be two outputs\\comma\\ also separated by a tab.  This is used to transfer the //crlf////tab////tab////tab////tab////additional file used to export employees for ADP.  However\\comma\\ for now\\comma\\ this output is //crlf////tab////tab////tab////tab////not displayed until it is determined that is is needed.  To enable it\\comma\\ un-comment the //crlf////tab////tab////tab////tab////assignment for sOutput2 below.//crlf////tab////tab////tab////tab//var n=s.indexOf(\\quot\\\t\\quot\\);//crlf////tab////tab////tab////tab//var sMsg=s.substring(0\\comma\\n);//crlf////crlf////tab////tab////tab////tab//var sOutput1=\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//var sOutput2=\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//var s=s.substring(n+1);//crlf////tab////tab////tab////tab//var n=s.indexOf(\\quot\\\t\\quot\\);//crlf////tab////tab////tab////tab//if(n<0) {//crlf////tab////tab////tab////tab////tab//sOutput1=s;//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else {//crlf////tab////tab////tab////tab////tab//sOutput1=s.substring(0\\comma\\n);//crlf////tab////tab////tab////tab////tab////don't show the second file which is employees exported for ADP//crlf////tab////tab////tab////tab////tab////sOutput2=s.substring(n+1);//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+sMsg+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////crlf////tab////tab////tab////tab//if (navigator.appName !='Microsoft Internet Explorer'){//crlf////tab////tab////tab////tab////tab//window.open('data:text/csv;charset=utf-8\\comma\\' + escape(sOutput1));//crlf////tab////tab////tab////tab////tab//if(sOutput2.length>0) {//crlf////tab////tab////tab////tab////tab////tab//window.open('data:text/csv;charset=utf-8\\comma\\' + escape(sOutput2));//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//}  //crlf////tab////tab////tab////tab//else {//crlf////tab////tab////tab////tab////tab//var popup=window.open(''\\comma\\'csv'\\comma\\'');//crlf////tab////tab////tab////tab////tab//popup.document.write(sOutput1);//crlf////tab////tab////tab////tab////tab//if(sOutput2.length>0) {//crlf////tab////tab////tab////tab////tab////tab//popup=window.open(''\\comma\\'csv'\\comma\\'');//crlf////tab////tab////tab////tab////tab////tab//popup.document.write(sOutput2);//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////get driver params from table//crlf////tab////tab//var eTable=document.getElementById(TableID);//crlf////tab////tab//var sTableParams=eTable.getAttribute(\\quot\\paramsactive\\quot\\);//crlf////crlf////tab////tab////get storeID from params.  This will be a string consisting of//crlf////tab////tab////Store\\comma\\StoreID or Group\\comma\\StoreID1\\comma\\StoreID2//crlf////tab////tab//var s=getElementValue(sTableParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\//power//\\quot\\);//crlf////tab////tab////crlf////tab////tab////get the store ID//crlf////tab////tab////abort if a group is selected instead of a single store//crlf////tab////tab//var a=getSubStringArray(s\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\true);//crlf////crlf////tab////tab////look for single store in table.  The table can be opened by selecting //crlf////tab////tab////a store or group or by selecting just a store.  If a store/group is used when //crlf////tab////tab////creating the table\\comma\\ the store ID will be store\\comma\\xxx or group\\comma\\xxx.  Otherwise it//crlf////tab////tab////will just be a single store ID//crlf////tab////tab//if(a.length==1) {//crlf////tab////tab////tab//var sStoreID=a[0];//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//if(a[0].equalsIgnoreCase(\\quot\\group\\quot\\)) {//crlf////tab////tab////tab////tab//var s=\\quot\\Labor cannot be exported for multiple stores.  Pleas open the \\quot\\;//crlf////tab////tab////tab////tab//s+=\\quot\\Labor Detail report for a single store before exporting.\\quot\\;//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////tab////crlf////tab////tab////tab//var sStoreID=a[1];//crlf////tab////tab//};//crlf////crlf////tab////tab////get the start/end dates//crlf////tab////tab//var sDateFrom=getElementValue(sTableParams\\comma\\\\quot\\From\\quot\\\\comma\\\\quot\\//power//\\quot\\);//crlf////tab////tab//var sDateTo=getElementValue(sTableParams\\comma\\\\quot\\To\\quot\\\\comma\\\\quot\\//power//\\quot\\);//crlf////crlf////tab////tab////get the HashID of the computer used to create the table.  This is the source//crlf////tab////tab////for the agent action//crlf////tab////tab//sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab////export labor//crlf////tab////tab//showDialog(\\quot\\icon=true//amp//msg=Exporting payroll...\\quot\\);//crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=oi85fK8kFTQDVVcRTsBH6W5i\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Export Payroll//amp//ContainerItemID=action_list\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Action=exportPayroll//amp//ActionExec=true\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+sStoreID+\\quot\\//amp//DateFrom=\\quot\\+sDateFrom+\\quot\\//amp//DateTo=\\quot\\+sDateTo;//crlf////tab////tab//sUrl +=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab////tab//sFunc=\\quot\\exportPayroll('\\quot\\+TableID+\\quot\\'\\comma\\s)\\quot\\;//crlf////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab//};//crlf//</conditional>^
ID=AspectScript|X=1500|Y=27|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=27|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_oi85fK8kFTQDVVcRTsBH6W5i_Labor 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=27|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_oi85fK8kFTQDVVcRTsBH6W5i_Labor 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=27|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=888901|X=1500|Y=27|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=375238|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=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='324560'>Overview</option>//crlf////tab//<option value='337634'>Job Code Categories</option>//crlf////tab//<option value='848958'>Job Codes</option>//crlf////tab//<option value='622530'>Employee Records</option>//crlf////tab//<option value='540110'>Jobs //amp// Rates</option>//crlf////tab//<option value='801096'>Labor Detail</option>//crlf////tab//<option value='994095'>Labor Detail (Dimensional)</option>//crlf////tab//<option value='342309'>Inspect Overtime For Employee</option>//crlf////tab//<option value=''></option>//crlf////tab//<option value=''>============Aspect6 Drivers============</option>//crlf////tab//<option value='130922'>XML Export - Labor Detail</option>//crlf////tab//<option value=''></option>//crlf////tab//<option value=''>============Unused Drivers============</option>//crlf////tab//<option value='364243'>[OLD] POS Generic JobCode Dta</option>//crlf////tab//<option value='406328'>[OLD] POS Generic Employee Dta</option>//crlf////tab//<option value='380092'>[OLD] POS Generic Labor Detail Dta (Single Day)</option>//crlf////tab//<option value='582639'>[OLD] POS Generic Labor Detail Dta</option>//crlf////tab//<option value='481638'>[OLD] POS Generic Consolidated Vert Labor Detail</option>//crlf//</select>//crlf//^
ID=364243|X=183|Y=33|W=738|H=732|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=375238|AttachLeft=|AlignLeft=375238|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//__StoreID__//crlf////tab//{@fileModified(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\))+\\quot\\jobcode.bin\\quot\\)}//crlf////tab//{if(fileExists(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache/WidgetEdit_oi85fK8kFTQDVVcRTsBH6W5i_Labor Drivers.html\\quot\\)\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//POS_Generic_JobCode_Dta_Buffered//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//No store selected//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab//<h1>Job Codes</h1>//crlf////crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\true)>//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_GENERIC_JOBCODE_DTA_BUFFERED\\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\\getFilespecState(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__'))+'jobcode.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=POS_GENERIC_JOBCODE\\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\\__ReadOnly__\\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\\oi85fK8kFTQDVVcRTsBH6W5i~~pipe~~Labor Dialogs~~pipe~~444070~~pipe~~POS_GENERIC_JOBCODE~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\Aspect_BackOffice_Store_Name_By_ID\\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//</conditional>//crlf////crlf//^
ID=406328|X=183|Y=33|W=738|H=732|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=375238|AttachLeft=|AlignLeft=375238|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//__StoreID__//crlf////tab//{@fileModified(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\))+\\quot\\employee.bin\\quot\\)}//crlf////tab//{if(fileExists(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache/WidgetEdit_oi85fK8kFTQDVVcRTsBH6W5i_Labor Drivers.html\\quot\\)\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//POS_Generic_Employee_Dta_Buffered//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//No store selected//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab//<h1>Employee Records</h1>//crlf////crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\true)>//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_Generic_Employee_Dta_Buffered\\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\\getFilespecState(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__'))+'employee.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=POS_Generic_Employee\\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\\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\\__ReadOnly__\\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\\oi85fK8kFTQDVVcRTsBH6W5i~~pipe~~Labor Dialogs~~pipe~~147550~~pipe~~POS_GENERIC_EMPLOYEE~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\Aspect_BackOffice_Store_Name_By_ID\\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//</conditional>//crlf////crlf//^
ID=582639|X=183|Y=33|W=738|H=732|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=375238|AttachLeft=|AlignLeft=375238|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//__StoreID__//crlf////tab//__DateFrom__//crlf////tab//__DateTo__//crlf////tab//{@if((undefined(\\quot\\__DateFrom__\\quot\\)) or (undefined(\\quot\\__DateTo__\\quot\\))\\comma\\\\quot\\\\quot\\\\comma\\getFilespecState(getSetTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\1440*60\\comma\\\\quot\\MM-dd-yyyy\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\))+\\quot\\lbr.$e$.bin\\quot\\\\comma\\char(0x3B))))}//crlf////tab//{if(fileExists(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache/WidgetEdit_oi85fK8kFTQDVVcRTsBH6W5i_Labor Drivers.html\\quot\\)\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//POS_Generic_Labor_Detail_Dta_Buffered//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//No store selected//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__DateFrom__\\quot\\)) and (defined(\\quot\\__DateTo__\\quot\\)) and (defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab//<h1>Labor Detail</h1>//crlf////crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\true)>//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_Generic_Consolidated_Vert_Labor_Detail\\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\\getFilespecState(getSetTime('__DateFrom__'\\comma\\'__DateTo__'\\comma\\1440*60\\comma\\'MM-dd-yyyy'\\comma\\'true'\\comma\\addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__'))+'lbr.$e$.bin'\\comma\\char(0x3B)))\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~DocumentID=oi85fK8kFTQDVVcRTsBH6W5i~~pipe~~Widget=Labor Drivers~~pipe~~ContainerItemID=481638~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~Metadata=POS_Generic_Labor_Detail\\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\\__ReadOnly__\\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\\oi85fK8kFTQDVVcRTsBH6W5i~~pipe~~Labor Dialogs~~pipe~~13245~~pipe~~POS_GENERIC_LABOR~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\Aspect_BackOffice_Store_Name_By_ID\\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=481638|X=183|Y=33|W=718|H=761|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=375238|AttachLeft=|AlignLeft=375238|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//Note:  Cannot use a state expression here because the result of the script below//crlf////tab//is the name of a system driver which will not be valid during subsequent calls//crlf////tab//{@now()}//crlf//</state>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//POS_Generic_Consolidated_Vert_Labor_Detail//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//No store selected//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__DateFrom__\\quot\\)) and (defined(\\quot\\__DateTo__\\quot\\)) and (defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Opening consolidated driver for labor detail\\quot\\)//crlf////tab////tab//DateSet=getSetTime(parseTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\1440*60\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\DateSet=\\quot\\+DateSet)//crlf////crlf////tab////tab////open a set of system drivers//crlf////tab////tab//arSet=getSetDriver(POS_Generic_Labor_Detail_Dta_Buffered\\comma\\DateSet\\comma\\WRITE\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=$e$\\quot\\)//crlf////crlf////tab////tab////it's not necessary to delineate fields if they will all be included//crlf////tab////tab//arFields=\\quot\\\\quot\\//crlf////crlf////tab////tab//sysdrv=getSetConsolidate(\\quot\\vertical\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\arFields\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\arSet)//crlf////tab////tab//appendToLog(\\quot\\Created system driver with name=\\quot\\+sysdrv+\\quot\\ records=\\quot\\+driverGetRecordCount(sysdrv\\comma\\true))//crlf////tab////tab//scriptSetResult(sysdrv)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf//^
ID=380092|X=183|Y=33|W=787|H=651|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=375238|AttachLeft=|AlignLeft=375238|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//__StoreID__//crlf////tab//__Date__//crlf////tab//{@if(undefined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\getFilespecState(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\))+\\quot\\lbr.$e$.bin\\quot\\))}//crlf////tab//{@if(fileExists(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache/WidgetEdit_oi85fK8kFTQDVVcRTsBH6W5i_Labor Drivers.html\\quot\\)\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//POS_Generic_Labor_Detail_Dta//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//No store selected//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Date__\\quot\\)) and (defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab//<h1>Labor Detail (Single Day)</h1>//crlf////crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\true)>//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_GENERIC_LABOR_DETAIL_DTA\\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~~StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~Metadata=POS_GENERIC_LABOR_DETAIL_DTA\\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\\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\\POS_GENERIC_LABOR_DETAIL_DTADialog\\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////crlf//</conditional>//crlf//^
ID=848958|X=183|Y=33|W=720|H=657|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=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=375238|AttachLeft=|AlignLeft=375238|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//03-23-2016//crlf//This item is used to edit job codes for a single store//crlf//--------------------------------------------------------------------------]//crlf//<state>//crlf////tab//{@gfs(getStoreDir(\\quot\\__StoreID__\\quot\\)+\\quot\\jobcode.bin\\quot\\)}//crlf////tab//{@gfs(getStoreDir(\\quot\\__StoreID__\\quot\\)+\\quot\\JobCodeCategory.bin\\quot\\)}//crlf////tab//{@gfs(indirect(getToken(\\quot\\Cache_Views_Sales_Filespec\\quot\\)))}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Use the store ID defined by the POS Interface agent if a StoreID is not defined.//crlf//This is used to inspect the Labor Detail when reviewing the ADP payroll export//crlf//--------------------------------------------------------------------------]//crlf//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\if(boolean(getSystemValue(DevelopmentMode))\\comma\\\\quot\\dDqDiP2B3SSYRNb1z7ju6uge\\quot\\\\comma\\getToken(\\quot\\POSInterface_StoreID\\quot\\)))>//crlf////crlf//<conditional expression:not(defined(\\quot\\__StoreID__\\quot\\))>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf////crlf//<conditional expression:defined(\\quot\\__StoreID__\\quot\\)>//crlf////tab//<script ID=\\quot\\JS848958\\quot\\>//crlf////tab////tab///******************************************************************//crlf////tab////tab//Function called from table menu to edit job code categories//crlf////tab////tab//******************************************************************///crlf////tab////tab//function editJobCodeCategories(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//var sParams=eTable.getAttribute(\\quot\\Params\\quot\\);//crlf////tab////tab////tab//var sStoreID=getElementValue(sParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab//openInspectWindow(\\quot\\Edit Job Code Categorie\\quot\\\\comma\\\\quot\\ViewID=03kSIuGy//amp//Source=\\quot\\+sHashID+\\quot\\//amp//StoreID=\\quot\\+sStoreID);//crlf////tab////tab//};//crlf////tab//</script>//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\\POS_GENERIC_JOBCODE_DTA\\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\\StoreID=__StoreID__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_GENERIC_JOBCODE_DTA\\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\\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\\oi85fK8kFTQDVVcRTsBH6W5i~~pipe~~Labor Dialogs~~pipe~~444070~~pipe~~POS_GENERIC_JOBCODE~~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\\Edit Categories~~pipe~~editJobCodeCategories\\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:500px\\quot\\></div>//crlf////crlf//__servertimerresults__//crlf//^
ID=324560|X=183|Y=33|W=721|H=651|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=375238|AttachLeft=|AlignLeft=375238|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h1>Overview</h1>//crlf////crlf//<p?This widget contains items used to display labor related drivers like job codes\\comma\\//crlf//employee records and labor detail.</p>//crlf////crlf//<p>The items prefixed with [OLD] were created before dimensional views were available.//crlf//They were an earlier attempt to consolidate data for multiple days or stores and are//crlf//no longer used.</p>//crlf////crlf//<p>In items containing records that can be edited (job codes\\comma\\ daily labor\\comma\\ employee records)\\comma\\//crlf//there are two tables that may be produced.  One is used when a store group//crlf//is selected in the UI and the second is used when a single store is selected.</p>//crlf////crlf//<p>When a single store is selected\\comma\\ a driver include is used to create the table.  This//crlf//allows records to be added\\comma\\ deleted and edited.  A dimensional driver is not used for//crlf//a single store because it is not currently possible to add records in a dimensional driver.</o>//crlf////crlf//<p>When a store group is selected\\comma\\ a dimensional driver is used by including the //crlf//appropriate dimensional view.  This means that there is an associated dimensional view//crlf//for each standard view for Job Codes\\comma\\ Employee Records and Labor Detail.  It is possible to edit//crlf//data in the driver and probably possible to delete records.  However\\comma\\ it is not possible //crlf//to add a new record.  A dimensional driver consolidating multiple drivers is most useful//crlf//for reporting and may also be useful for editing in some situations - for example\\comma\\ when//crlf//comparing data from multiple stores to clean them up.</p>//crlf////crlf//<p>In the future\\comma\\ it should be possible to add a new record to a dimensional driver.//crlf//When this happens\\comma\\ the driver include can be removed and the table will always be created//crlf//using a dimensional driver.</p>^
ID=622530|X=183|Y=33|W=781|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=375238|AttachLeft=|AlignLeft=375238|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//__StoreID__//crlf////tab//{@gfs(getStoreDir(//pound//StoreID)+\\quot\\employee.bin\\quot\\)}//crlf////tab//{@gfs(getToken(\\quot\\homedir\\quot\\)+\\quot\\Aspect_BackOffice/store_list.dta\\quot\\)}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\07082017\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab////don't cache//crlf//  {@now()}//crlf//</state>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Use the store ID defined by the POS Interface agent if a StoreID is not defined.//crlf//This is used to inspect the Labor Detail when reviewing the ADP payroll export//crlf//--------------------------------------------------------------------------]//crlf//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\if(boolean(getSystemValue(DevelopmentMode))\\comma\\\\quot\\dDqDiP2B3SSYRNb1z7ju6uge\\quot\\\\comma\\getToken(\\quot\\POSInterface_StoreID\\quot\\)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Employee Records//crlf//--------------------------------------------------------------------------]//crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Debugging//crlf//--------------------------------------------------------------------------]//crlf//<include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\5UsdZL5534uWZQCtEIUFcTAW\\quot\\)>//crlf////crlf//<conditional expression:not(defined(\\quot\\__StoreID__\\quot\\))>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf////crlf//<conditional expression:defined(\\quot\\__StoreID__\\quot\\)>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter - Contains text//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//Comment: \\quot\\InputType is Text\\comma\\ Select\\comma\\ Checkbox\\comma\\ Date\\comma\\ Time or Hidden\\quot\\;//crlf////tab////tab//Comment: \\quot\\Use single quotes in condition and expression\\quot\\;//crlf////tab////tab//Comment: \\quot\\Double quotes can be used in all fields.  E.g. onBlur=\\quot\\alert('test')\\quot\\\\quot\\;//crlf////tab////tab//Comment: \\quot\\Driver params are pipe-delimited and do not contain quotes\\quot\\;//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\\POS_Number+PayNumber+Last_Name+Mid_Name+First_Name+Street+City+State+ZipCode+PhoneNum+Email+Social_Security_Number)\\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//[!------------------------------------------------------------------------//crlf////tab//Filter - Show inactive employees//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\checkbox\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterShowInactive\\quot\\;//crlf////tab////tab//Condition:\\quot\\true\\quot\\;//crlf////tab////tab//Expression:\\quot\\if($value$\\comma\\true\\comma\\not(Inactive))\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\\\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//> Show Inactive Employees//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter - Show terminated employees//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\checkbox\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterShowTerminated\\quot\\;//crlf////tab////tab//Condition:\\quot\\true\\quot\\;//crlf////tab////tab//Expression:\\quot\\if($value$\\comma\\true\\comma\\not(Terminated))\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\\\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//> Show Terminated Employees//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\\POS_Generic_Employee_Dta\\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\\StoreID=__StoreID__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_Generic_Employee_Dta\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//_XDisplayFilter:\\quot\\(not(Delete)) and (not(Terminated))\\quot\\;//crlf////tab////tab//XDisplayXFilter___salt__FilterShowInactive: \\quot\\if($value$\\comma\\true\\comma\\not(InActive))//power//false//power//true//power//and\\quot\\;//crlf////tab////tab//XDisplayXFilter___salt__ShowTerminated: \\quot\\if($value$\\comma\\true\\comma\\not(Terminated))//power//false//power//true//power//and\\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\\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\\oi85fK8kFTQDVVcRTsBH6W5i~~pipe~~Labor Dialogs~~pipe~~147550~~pipe~~POS_GENERIC_EMPLOYEE~~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__FilterShowInactive\\comma\\__salt__FilterShowTerminated\\comma\\__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//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//<div style=\\quot\\width:100px;height:500px\\quot\\></div>//crlf////crlf////crlf//^
ID=801096|X=183|Y=33|W=150|H=20|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=375238|AttachLeft=|AlignLeft=375238|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Opens a labor detail driver for a single date.  Used to edit daily labor and//crlf//as an embedded view in edit daily sales.//crlf////crlf//Params://crlf////tab//StoreID - Store ID//crlf////tab//Date - Date (MM-dd-yyyy)//crlf////tab//Display - Name of default display//crlf////tab//TableControls - True or false.  Default is true.//crlf////tab//CanSelect - Optional.  Default is true;//crlf////tab//JobCodeID - Optoinal.  Comma-delimited list of job code ID's.  If defined\\comma\\ the driver //crlf////tab////tab//will be filtered to records with an approved job code that is a subset of the list.//crlf//--------------------------------------------------------------------------]//crlf//<state>//crlf////tab//__StoreID__//crlf////tab//__Date__//crlf////tab//__Display__//crlf////tab//__TableControls__//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\gfs(getStoreDir(\\quot\\__StoreID__\\quot\\)+\\quot\\employee.bin\\quot\\))}//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\gfs(getStoreDir(\\quot\\__StoreID__\\quot\\)+\\quot\\jobcode.bin\\quot\\))}//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\gfs(getStoreDir(\\quot\\__StoreID__\\quot\\)+\\quot\\JobCodeCategory.bin\\quot\\))}//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(POS_Generic_Labor_Detail_Dta\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\))}//crlf////tab//{//pound//if(defined(\\quot\\__StoreID__\\quot\\)\\comma\\gfs(getStoreDir(\\quot\\__StoreID__\\quot\\)+\\quot\\LABORDETAILADD.__Date__.BIN\\quot\\\\comma\\\\quot\\\\quot\\)}//crlf////tab//{//pound//if(defined(\\quot\\__StoreID__\\quot\\)\\comma\\gfs(getStoreDir(\\quot\\__StoreID__\\quot\\)+\\quot\\External_Labor_Detail_Dta.bin\\quot\\\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\10202020\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//1.0//crlf//</state>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Use the store ID defined by the POS Interface agent if a StoreID is not defined.//crlf//This is used to inspect the Labor Detail when reviewing the ADP payroll export//crlf//--------------------------------------------------------------------------]//crlf//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\if(boolean(getSystemValue(DevelopmentMode))\\comma\\\\quot\\dDqDiP2B3SSYRNb1z7ju6uge\\quot\\\\comma\\getToken(\\quot\\POSInterface_StoreID\\quot\\)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Get display//crlf//--------------------------------------------------------------------------]//crlf//<_include type:script; commands:\\quot\\//crlf////tab//sStoreID=if(defined(\\quot\\__StoreID__\\quot\\)\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\getToken(\\quot\\POSInterface_StoreID\\quot\\))//crlf////tab//sDisplay=lookup(Aspect_BackOffice_Default_Labor_Detail_Display_Day_by_By_ID\\comma\\sStoreID)//crlf////tab//if(len(sDisplay)=0)//crlf////tab////tab//sDisplay=\\quot\\Labor By Job Code\\quot\\//crlf////tab//endif//crlf////tab//appendToLog(\\quot\\Display=__Display__ Default=\\quot\\+sDisplay)//crlf////tab//return(htmlConstant(\\quot\\Display\\quot\\\\comma\\\\quot\\__Display__\\quot\\\\comma\\sDisplay))//crlf//\\quot\\>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Set constants for testing//crlf//< include type:expression; expression:htmlConstant(\\quot\\date\\quot\\\\comma\\\\quot\\__date__\\quot\\\\comma\\\\quot\\02-13-2017\\quot\\)>//crlf//< include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\1mNufdynZWHlF17UxiqvpXVh\\quot\\)>//crlf//--------------------------------------------------------------------------]//crlf////crlf//[!------------------------------------------------------------------------//crlf//Set constants//crlf//--------------------------------------------------------------------------]//crlf//<include type:expression; expression:htmlConstant(\\quot\\TableControls\\quot\\\\comma\\\\quot\\__TableControls__\\quot\\\\comma\\\\quot\\true\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\CanSelect\\quot\\\\comma\\\\quot\\__CanSelect__\\quot\\\\comma\\\\quot\\true\\quot\\)>//crlf////crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (defined(\\quot\\__date__\\quot\\)) and (gt(len(trim(\\quot\\__StoreID__\\quot\\))\\comma\\0\\comma\\n))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf////tab//<script ID=\\quot\\JSEditLaborDetail\\quot\\>//crlf////tab////tab//function importLaborDetail(TableID\\comma\\b\\comma\\result) {//crlf////tab////tab////tab////get confirmation to import//crlf////tab////tab////tab//if(!b) {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=Import this day?<br><br>//amp//fnOk=importLaborDetail(\\\quot\\\\quot\\+TableID+\\quot\\\\\quot\\\\comma\\true)//amp//fnCancel=close\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////got confirmation.  Do the import.//crlf////tab////tab////tab//if(!result) {//crlf////tab////tab////tab////tab//var eTable=document.getElementById(TableID);//crlf////tab////tab////tab////tab//if(!eTable) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: Cannot locate table with ID: \\quot\\+TableID+\\quot\\//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//var sParams=eTable.getAttribute(\\quot\\aspectparamsactive\\quot\\);//crlf////tab////tab////tab////tab//var sStoreID=getElementValue(sParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\) ;//crlf////tab////tab////tab////tab//if(sStoreID.length==0) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: Cannot locate Store ID in table: \\quot\\+TableID+\\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//var sDate=getElementValue(sParams\\comma\\\\quot\\Date\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\) ;//crlf////tab////tab////tab////tab//if(sDate.length==0) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: Cannot locate date in table: \\quot\\+TableID+\\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//var sUrl=getServer()+\\quot\\/?Network=Greenlight//amp//ID=execAgentAction\\quot\\;//crlf////tab////tab////tab////tab//sUrl +=\\quot\\//amp//Action=importDailyLabor//amp//StoreID=\\quot\\+sStoreID+\\quot\\//amp//Date=\\quot\\+sDate;//crlf////crlf////tab////tab////tab////tab//showDialog(\\quot\\icon=true//amp//msg=Importing...\\quot\\);//crlf////tab////tab////tab////tab//var sFunc=\\quot\\importLaborDetail(\\\quot\\\\quot\\+TableID+\\quot\\\\\quot\\\\comma\\true\\comma\\s)\\quot\\;//crlf////tab////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////import complete//crlf////tab////tab////tab//if(result.toUpperCase().startsWith(\\quot\\OK\\quot\\)) {//crlf////tab////tab////tab////tab////refresh the table  Don't show a message.  The 'loading' message will be displayed.//crlf////tab////tab////tab////tab//showDialog();//crlf////tab////tab////tab////tab//refreshTable(TableID\\comma\\\\quot\\refresh\\quot\\);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+result+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab//function importSalesAndTips(TableID\\comma\\b\\comma\\result) {//crlf////tab////tab////tab////get confirmation to import//crlf////tab////tab////tab//if(!b) {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=Import sales and charge tips?<br><br>//amp//fnOk=importSalesAndTips(\\\quot\\\\quot\\+TableID+\\quot\\\\\quot\\\\comma\\true)//amp//fnCancel=close\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////got confirmation.  Do the import.//crlf////tab////tab////tab//if(!result) {//crlf////tab////tab////tab////tab//var eTable=document.getElementById(TableID);//crlf////tab////tab////tab////tab//if(!eTable) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: Cannot locate table with ID: \\quot\\+TableID+\\quot\\//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//var sParams=eTable.getAttribute(\\quot\\aspectparamsactive\\quot\\);//crlf////tab////tab////tab////tab//var sStoreID=getElementValue(sParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\) ;//crlf////tab////tab////tab////tab//if(sStoreID.length==0) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: Cannot locate Store ID in table: \\quot\\+TableID+\\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//var sDate=getElementValue(sParams\\comma\\\\quot\\Date\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\) ;//crlf////tab////tab////tab////tab//if(sDate.length==0) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: Cannot locate date in table: \\quot\\+TableID+\\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//var sUrl=getServer()+\\quot\\/?Network=Greenlight//amp//ID=execAgentAction\\quot\\;//crlf////tab////tab////tab////tab//sUrl +=\\quot\\//amp//Action=updateDailyLaborSalesAndTips//amp//StoreID=\\quot\\+sStoreID+\\quot\\//amp//Date=\\quot\\+sDate+\\quot\\//amp//ForceImport=true\\quot\\;//crlf////crlf////tab////tab////tab////tab//showDialog(\\quot\\icon=true//amp//msg=Importing...\\quot\\);//crlf////tab////tab////tab////tab//var sFunc=\\quot\\importSalesAndTips(\\\quot\\\\quot\\+TableID+\\quot\\\\\quot\\\\comma\\true\\comma\\s)\\quot\\;//crlf////tab////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////import complete//crlf////tab////tab////tab//if(result.toUpperCase().startsWith(\\quot\\OK\\quot\\)) {//crlf////tab////tab////tab////tab////refresh the table  Don't show a message.  The 'loading' message will be displayed.//crlf////tab////tab////tab////tab//showDialog();//crlf////tab////tab////tab////tab//refreshTable(TableID\\comma\\\\quot\\refresh\\quot\\);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+result+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//</script>//crlf////tab////crlf////tab//<div style=\\quot\\height:auto;min-height:300px\\quot\\>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Chart//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__Chart\\quot\\ style=\\quot\\width:100\\percent\\;height:500px;display:none\\quot\\></div>//crlf////tab////tab//<br>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//External filter - job code Category//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__FilterJobCodeCategory\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not('$value$'=0)\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\Job_Code_Category_ID='$value$'\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\POS_Generic_Job_Code_Category_Name_By_ID\\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//External filter - job code//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__FilterJobCode\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not('$value$'=0)\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\AppJobCode='$value$'\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\POS_Generic_Job_Code_Names_By_POS_ID_with_Select\\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//External filter - Employee//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__FilterEmployee\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\(not('$value$'=0)) and (not(len('$value$')=0))\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\Employee='$value$'\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//Datalist:\\quot\\true\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\placeholder='-- Select Employee --'\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\POS_Generic_Employee_Name_Last_First\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\(not(Inactive)) and (not(Terminated)) and (not(NoExport))\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Filter - Contains Text//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__FilterContainsText\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\gte(pos('$value$'\\comma\\EmpName+AppJobCode+AppJobCodeName+Employee_POS_ID+Job_Code_Category_Name+ActJobCodeName+Employee_Payroll_Number)\\comma\\0\\comma\\n)\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\placeholder='Contains text'\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab////tab//Selected:\\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////crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\POS_Generic_Labor_Detail_Dta\\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\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_Generic_Labor_Detail_Dta\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\__Display__\\quot\\;//crlf////tab////tab////tab//InspectMenu: \\quot\\yr93M1fI\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\SchJobCode\\comma\\SchPosition\\comma\\SchPayType\\comma\\SchTimeIn\\comma\\SchTimeOut\\comma\\SchRegRate\\comma\\//crlf////tab////tab////tab////tab//SchBreakIn\\comma\\SchBreakOut\\comma\\SchBrkNotPd\\comma\\SchRegHours\\comma\\SchOvtHrs1\\comma\\SchOvtHrs2\\comma\\SchOvtRate1\\comma\\//crlf////tab////tab////tab////tab//SchOvtRate2//crlf////tab////tab////tab//\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//basefilter: \\quot\\//crlf////tab////tab////tab////tab//(not(Do_Not_Export))//crlf////tab////tab////tab////tab//<conditional expression:defined(\\quot\\__JobCodeID__\\quot\\)>//crlf////tab////tab////tab////tab////tab//and (isSubset(AppJobCode\\comma\\\\quot\\__JobCodeID__\\quot\\))//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab//\\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\\__CanSelect__\\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\\//crlf////tab////tab////tab////tab//Employee\\comma\\ AppJobCode\\comma\\ AppTimeIn\\comma\\ AppTimeOut\\comma\\ AppRegRate\\comma\\ AppBreakIn\\comma\\ AppBreakOut\\comma\\ //crlf////tab////tab////tab////tab//AppBrkNotPd\\comma\\ AppCashSls\\comma\\ AppChgSls\\comma\\ AppDeclTip\\comma\\ AppCashTip\\comma\\ AppChgTip\\comma\\ AppNetSales\\comma\\ //crlf////tab////tab////tab////tab//EmpName\\comma\\ ActJobCodeName\\comma\\ ActTimeIn\\comma\\ ActTimeOut\\comma\\ ActRegRate\\comma\\ ActBreakIn\\comma\\ ActBreakOut\\comma\\ //crlf////tab////tab////tab////tab//ActCashSls\\comma\\ ActChgSls\\comma\\ ActDeclTip\\comma\\ ActCashTip\\comma\\ ActChgTip\\comma\\ ActNetSales//crlf////tab////tab////tab////tab//ActOvtHrs1\\comma\\ ActOvtHrs2\\comma\\ ActOvtRate1\\comma\\ ActOvtRate2\\comma\\//crlf////tab////tab////tab////tab//AppTtlHours\\comma\\ AppRegPay\\comma\\ AppOvtRate\\comma\\ AppOvtHours\\comma\\ AppOvtPay1\\comma\\ AppOvtPay2\\comma\\ AppOvtPay\\comma\\//crlf////tab////tab////tab////tab//AppTtlPay\\comma\\ AppTotalTips\\comma\\ AppCashTip\\comma\\ Total_Tip_Pcnt\\comma\\ Cash_Tip_Pcnt\\comma\\ Charge_Tip_Pcnt.//crlf////tab////tab////tab////tab//AppRegHours\\comma\\ AppOvtHrs1\\comma\\ AppOvtHrs2\\comma\\ Calculated_Tip_Share//crlf////tab////tab////tab//\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\oi85fK8kFTQDVVcRTsBH6W5i~~pipe~~Labor Dialogs~~pipe~~13245~~pipe~~POS_GENERIC_LABOR~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab//_EditDialogID: \\quot\\DocumentID~~pipe~~Widget~~pipe~~Item~~pipe~~POS_GENERIC_JOBCODE_DTA_BUFFERED~~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\\__salt__FilterJobCodeCategory\\comma\\__salt__FilterJobCode\\comma\\__salt__FilterEmployee\\comma\\__salt__FilterContainsText\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\__TableControls__\\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\\Import From POS~~pipe~~importLaborDetail\\comma\\Import Sales //amp// Tips~~pipe~~importSalesAndTips\\quot\\;//crlf////tab////tab////tab//faq: \\quot\\EoCejhEY\\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\\\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartVisible: \\quot\\true\\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//<conditional expression:undefined(\\quot\\__StoreID__\\quot\\)>//crlf////tab//<div style=\\quot\\width:100px;height:20px\\quot\\></div>//crlf//</conditional>//crlf////crlf//^
ID=540110|X=183|Y=33|W=845|H=688|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=375238|AttachLeft=|AlignLeft=375238|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//__StoreID__//crlf////tab//__EmployeePOSID__//crlf////tab//{@getDependencyStates(POS_Generic_Employee_Jobs_and_Rates\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\04152016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Jobs //amp// Rates//crlf//--------------------------------------------------------------------------]//crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<conditional expression:not(defined(\\quot\\__StoreID__\\quot\\))>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf////crlf//<conditional expression:defined(\\quot\\__StoreID__\\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\\POS_GENERIC_EMPLOYEE_JOBS_AND_RATES\\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\\StoreID=__StoreID__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_GENERIC_EMPLOYEE_JOBS_AND_RATES\\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\\//crlf////tab////tab////tab//(true) //crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__EmployeePOSID__\\quot\\)>//crlf////tab////tab////tab////tab//and (Employee_POS_ID='__EmployeePOSID__')//crlf////tab////tab////tab//</conditional>//crlf////tab////tab//\\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//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\oi85fK8kFTQDVVcRTsBH6W5i~~pipe~~Labor Dialogs~~pipe~~508116~~pipe~~POS_GENERIC_EMPLOYEE_JOBS_AND_RATES~~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//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////crlf////crlf////crlf////crlf//^
ID=342309|X=183|Y=33|W=881|H=720|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=375238|AttachLeft=|AlignLeft=375238|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Displays information about overtime hours and rates for an employee during //crlf//a payroll week.  Records for the entire week are included regardless of //crlf//whether the date specified is the start of the week or not.//crlf////crlf//Params://crlf////tab//StoreID - Store ID//crlf////tab//Date - Date of inspection (MM-dd-yyyy_//crlf////tab//EmployeePOSID - ID of the employee being inspected//crlf//--------------------------------------------------------------------------]//crlf////crlf//[!------------------------------------------------------------------------//crlf//Constants for debugging//crlf//< include type:expression; expression:htmlConstant(\\quot\\date\\quot\\\\comma\\\\quot\\__date__\\quot\\\\comma\\\\quot\\04-24-2016\\quot\\)>//crlf//< include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\KZX2VBNGExCTHrLmixKxY8eJ\\quot\\)>//crlf//< include type:expression; expression:htmlConstant(\\quot\\EmployeePOSID\\quot\\\\comma\\\\quot\\__EmployeePOSID__\\quot\\\\comma\\\\quot\\1355\\quot\\)>//crlf//--------------------------------------------------------------------------]//crlf////crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (defined(\\quot\\__Date__\\quot\\)) and (defined(\\quot\\__EmployeePOSID__\\quot\\))>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Determine the start and end dates.  These are set as constants using From //crlf////tab//and To which are passed to the embedded view//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//dtFrom=payperiodStartDate(\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\__Date__\\quot\\)//crlf////tab////tab//dtTo=incrementTime(dtFrom\\comma\\6)//crlf////tab////tab//s=htmlConstant(\\quot\\From\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(dtFrom\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab//s=s+htmlConstant(\\quot\\To\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(dtTo\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab//return(s)//crlf////tab//\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Embed the \\quot\\Labor Detail\\quot\\ dimensional view from the back-office package//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!!include //crlf////tab////tab//type:view; //crlf////tab////tab//viewid:\\quot\\6VmnRdES\\quot\\; //crlf////tab////tab//Source:\\quot\\\\quot\\; //crlf////tab////tab//params:\\quot\\StoreID=__StoreID__//amp//From=__From__//amp//To=__To__//amp//EmployeePOSID=__EmployeePOSID__//amp//MetadataAdd=InspectOvt\\quot\\;//crlf////tab//> //crlf////crlf//</conditional>^
ID=130922|X=183|Y=33|W=903|H=638|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=375238|AttachLeft=|AlignLeft=375238|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 an Aspect6 labor detail xml export.  It was used//crlf//to compare labor in Aspect6 with labor in Aspect7//crlf////crlf//Params://crlf////tab//Filename - Filename of the Aspect6 xml export file//crlf//--------------------------------------------------------------------------]//crlf////crlf//<_include type:expression; expression:htmlConstant(\\quot\\filename\\quot\\\\comma\\\\quot\\__filename__\\quot\\\\comma\\\\quot\\c:\temp\2017-02\6.csv\\quot\\)>//crlf////crlf//<conditional expression:defined(\\quot\\__Filename__\\quot\\)>//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\\ASPECT6_XML_EXPORT_LABOR_DETAIL\\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\\filename=__filename__~~pipe~~keyexpression=DiskIndex~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT6_XML_EXPORT_-_LABOR_DETAIL\\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\\350\\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\\ASPECT6_XML_EXPORT_-_LABOR_DETAILDialog\\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//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//<conditional expression:not(defined(\\quot\\__Filename__\\quot\\))>//crlf////tab//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//</conditional>//crlf//^
ID=994095|X=183|Y=33|W=1003|H=732|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=375238|AttachLeft=|AlignLeft=375238|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 labor detail report for a single store and //crlf//range of dates.  The Labor Detail dimensional view is embedded using an //crlf//include tag.  The dimensional view could be opened directly by including it //crlf//in the view menu.  This item is used so external filters can be passed to //crlf//the view.//crlf////crlf//This view is limited to a single store to make it easier to create the employee//crlf//collection in the external filter.  //crlf//--------------------------------------------------------------------------]//crlf//<state>//crlf////tab//__StoreID__//crlf////tab//__From__//crlf////tab//__To__//crlf////tab//__Display__//crlf////tab//__TableControls__//crlf////tab//{@gfs(getSetTime(\\quot\\__From__\\quot\\\\comma\\\\quot\\__To__\\quot\\\\comma\\1440*60\\comma\\\\quot\\MM-dd-yyyy\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\getStoreDir(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\lbr.$e$.bin\\quot\\\\comma\\\\quot\\;\\quot\\)\\plus\\\\quot\\;\\quot\\\\plus\\getStoreDir(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\employee.bin\\quot\\\\plus\\\\quot\\;\\quot\\\\plus\\getStoreDir(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\jobcode.bin\\quot\\)}//crlf////tab//{@gfs(getSetTime(\\quot\\__From__\\quot\\\\comma\\\\quot\\__To__\\quot\\\\comma\\1440*60\\comma\\\\quot\\MM-dd-yyyy\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\getStoreDir(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\sales.$e$.bin;\\quot\\\\plus\\getStoreDir(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\salesadd.$e$.bin;\\quot\\\\plus\\getStoreDir(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\ckd.$e$.bin;\\quot\\)\\plus\\\\quot\\;\\quot\\\\plus\\getStoreDir(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\category.bin\\quot\\\\plus\\\\quot\\;\\quot\\\\plus\\getStoreDir(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\customsalesfields.bin\\quot\\)}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\06162022\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//Debug=true//crlf////tab//1.0//crlf//</state>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Debugging//crlf//< _include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\iyEM5cnXHkvu33oGzn0UgwUi\\quot\\)>//crlf//< _include type:expression; expression:htmlConstant(\\quot\\From\\quot\\\\comma\\\\quot\\__From__\\quot\\\\comma\\\\quot\\08-16-2021\\quot\\)>//crlf//< _include type:expression; expression:htmlConstant(\\quot\\To\\quot\\\\comma\\\\quot\\__To__\\quot\\\\comma\\\\quot\\08-22-2021\\quot\\)>//crlf//--------------------------------------------------------------------------]//crlf////crlf//[!------------------------------------------------------------------------//crlf//Use the store ID defined by the POS Interface agent if a StoreID is not defined.//crlf//This is used to inspect the Labor Detail when reviewing the ADP payroll export//crlf//--------------------------------------------------------------------------]//crlf//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\getToken(\\quot\\POSInterface_StoreID\\quot\\))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Get display//crlf//--------------------------------------------------------------------------]//crlf//<_include type:script; commands:\\quot\\//crlf////tab//sStoreID=if(defined(\\quot\\__StoreID__\\quot\\)\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\getToken(\\quot\\POSInterface_StoreID\\quot\\))//crlf////tab//sDisplay=lookup(Aspect_BackOffice_Default_Labor_Detail_Display_Period_by_ID\\comma\\sStoreID)//crlf////tab//appendToLog(\\quot\\sStoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\ sDisplay=\\quot\\\\plus\\sDisplay)//crlf////tab//if(len(sDisplay)=0)//crlf////tab////tab//sDisplay=\\quot\\Labor by Job Code / Employee Name\\quot\\//crlf////tab//endif//crlf////tab//appendToLog(\\quot\\Dimensional Display=__Display__ Default=\\quot\\\\plus\\sDisplay)//crlf////tab//return(htmlConstant(\\quot\\Display\\quot\\\\comma\\\\quot\\__Display__\\quot\\\\comma\\sDisplay))//crlf//\\quot\\>//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\\\\quot\\true\\quot\\)>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Default Display//crlf//< include type:expression; expression:htmlConstant(\\quot\\Display\\quot\\\\comma\\\\quot\\__Display__\\quot\\\\comma\\\\quot\\Labor by Employee Name / Approved Time In\\quot\\)>//crlf//--------------------------------------------------------------------------]//crlf////crlf//[!------------------------------------------------------------------------//crlf//Include the Labor Detail dimensional view//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:((defined(\\quot\\__StoreID__\\quot\\)) and (gt(len(trim(\\quot\\__StoreID__\\quot\\))\\comma\\0\\comma\\n)))>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Chart//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__Chart\\quot\\ style=\\quot\\width:100\\percent\\;height:500px;display:none\\quot\\></div>//crlf////tab//<br>//crlf////crlf////tab//<conditional expression:not(\\quot\\__ExternalFilter__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//External filter - job code Category//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__FilterJobCodeCategory\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not(\\apos\\$value$\\apos\\=0)\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\Job_Code_Category_ID=\\apos\\$value$\\apos\\\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\POS_Generic_Job_Code_Category_Name_By_ID\\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//External filter - job code//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__FilterJobCode\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not(\\apos\\$value$\\apos\\=0)\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\AppJobCode=\\apos\\$value$\\apos\\\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\POS_Generic_Job_Code_Names_By_POS_ID_with_Select\\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//External filter - Employee//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__FilterEmployee\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\(not(\\apos\\$value$\\apos\\=0)) and (not(len(\\apos\\$value$\\apos\\)=0))\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\Employee=\\apos\\$value$\\apos\\\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//Datalist:\\quot\\true\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\placeholder=\\apos\\-- Select Employee --\\apos\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\POS_Generic_Employee_Name_Last_First\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\(not(Inactive)) and (not(Terminated)) and (not(NoExport))\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Filter - Contains Text//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__FilterContainsText\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not(len(trim(\\apos\\$value$\\apos\\))=0)\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\gte(pos(\\apos\\$value$\\apos\\\\comma\\EmpName\\plus\\AppJobCode\\plus\\AppJobCodeName\\plus\\Employee_POS_ID\\plus\\Job_Code_Category_Name\\plus\\ActJobCodeName\\plus\\Employee_Payroll_Number)\\comma\\0\\comma\\n)\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\placeholder=\\apos\\Contains text\\apos\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab////tab//Selected:\\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//[!------------------------------------------------------------------------//crlf////tab//Include the Labor Detail dimensional view//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include//crlf////tab////tab//type:view;//crlf////tab////tab//viewid:\\quot\\6VmnRdES\\quot\\;//crlf////tab////tab//Source:\\quot\\\\quot\\;//crlf////tab////tab//params:\\quot\\salt=__salt__\\amp\\//crlf////tab////tab////tab//ExternalFilters=__salt__FilterEmployee\\comma\\__salt__FilterJobCode\\comma\\__salt__FilterJobCodeCategory\\comma\\__salt__FilterContainsText\\amp\\//crlf////tab////tab////tab//BaseFilter=not(Do_Not_Export)\\amp\\//crlf////tab////tab////tab//StoreID=__StoreID__\\amp\\//crlf////tab////tab////tab//From=__From__\\amp\\//crlf////tab////tab////tab//To=__To__\\amp\\//crlf////tab////tab////tab//MaxRecords=1000\\amp\\//crlf////tab////tab////tab//Display=__Display__\\amp\\//crlf////tab////tab////tab//TableControls=__TableControls__\\amp\\//crlf////tab////tab////tab//InspectMenu=yr93M1fI\\amp\\//crlf////tab////tab////tab//jsviewid=P06KjIMV\\amp\\//crlf////tab////tab////tab//ChartVisible=true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//^
ID=337634|X=183|Y=33|W=915|H=701|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=375238|AttachLeft=|AlignLeft=375238|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//{@gfs(getStoreDir(\\quot\\__StoreID__\\quot\\)+\\quot\\JobCodeCategory.bin\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Debugging//crlf//--------------------------------------------------------------------------]//crlf//<include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\Es134hBQNJBUojYEL0ZGpNLO\\quot\\)>//crlf////crlf//<conditional expression:(false) or (\\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\\POS_GENERIC_JOB_CODE_CATEGORY\\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\\StoreID=__StoreID__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_GENERIC_JOB_CODE_CATEGORY\\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\\oi85fK8kFTQDVVcRTsBH6W5i~~pipe~~Labor Dialogs~~pipe~~591018~~pipe~~POS_GENERIC_JOB_CODE_CATEGORY~~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//</conditional>
</widget><widget name="Labor Documentation" group="Documentation" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Labor Documentation" modified="05-03-2016 19:54:45" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=true ContainsAgentActions=false TaskInitialStartTime=03-09-2016 22:20:13: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=Labor Documentation.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=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=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\\'856212')\\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\\'743532')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=856212|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=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|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_VWaUGu88BMN0hDYWzZj57VpG_Sales Documentation.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Labor Documentation\\comma\\getLaborDriverList\\comma\\sensor_list\\comma\\Sensor=getLaborDriverList\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//getLaborDriverList//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getLaborDriverList\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Returns a list of driver ID\\apos\\s as a comma-delimited list in the form://crlf////tab////tab//Group\\comma\\DriverID\\comma\\Agent Name //crlf////tab////tab//where Agent Name is the name of the agent used to update the driver if there is one.//crlf////tab////tab//This sensor is used by the Driver Descriptions item in the Notification Container 2//crlf////tab////tab//widget in the System Products widget library.  That item produces a display containing//crlf////tab////tab//a list of the drivers and notes associated with each driver.//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 list of drivers//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Setup\\comma\\POS_Generic_Employee_Dta//crlf////tab////tab//Setup\\comma\\POS_Generic_Employee_Jobs_and_Rates\\comma\\Update Jobs and Rates //crlf////tab////tab//Setup\\comma\\POS_Generic_JobCode_Dta//crlf////tab////tab//Labor Detail\\comma\\POS_Generic_Labor_Detail_Dta\\comma\\Calculate Overtime//crlf////tab//</conditional>//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_VWaUGu88BMN0hDYWzZj57VpG_Sales Documentation.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=743532|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=249346|X=183|Y=22|W=97|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=\\apos\\887231\\apos\\>Scratchpad</option>//crlf////tab////tab//<option value=\\apos\\841765\\apos\\>Labor Documentation</option>//crlf////tab////tab//<option value=\\apos\\905408\\apos\\>Placeholder3</option>//crlf////tab////tab//<option value=\\apos\\250123\\apos\\>Placeholder4</option>//crlf////tab////tab//<option value=\\apos\\424476\\apos\\>Placeholder5</option>//crlf////tab////tab//<option value=\\apos\\50841\\apos\\>Placeholder6</option>//crlf////tab////tab//<option value=\\apos\\894522\\apos\\>Placeholder7</option>//crlf////tab////tab//<option value=\\apos\\584998\\apos\\>Placeholder8</option>//crlf////tab////tab//<option value=\\apos\\172031\\apos\\>Placeholder9</option>//crlf////tab////tab//<option value=\\apos\\355722\\apos\\>Placeholder10</option>//crlf////tab//</select>//crlf//
^
ID=887231|X=183|Y=43|W=714|H=690|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=249346|AttachLeft=|AlignLeft=249346|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=841765|X=183|Y=43|W=983|H=700|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=249346|AttachLeft=|AlignLeft=249346|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////crlf////tab//<constant name:\\quot\\__max_text_width__\\quot\\; value:\\quot\\800px\\quot\\>//crlf////crlf////tab//<div style=\\quot\\width:100\\percent\\;max-width:1200px\\quot\\>//crlf////tab////tab//<conditional expression:false>//crlf////tab////tab//=====================================================================================//crlf////tab////tab//Overview//crlf////tab////tab//=====================================================================================//crlf////tab////tab//</conditional>//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=Overview\\quot\\;>//crlf////tab////tab////tab//<div style=\\quot\\max-width:__max_text_width__\\quot\\>//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//[!------------------------------------------------------------------------//crlf////tab////tab//Driver Descriptions//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=Labor Driver Descriptions\\quot\\;>//crlf////tab////tab////tab//<!include //crlf////tab////tab////tab////tab//type:widget; //crlf////tab////tab////tab////tab//server:{AspectHashID}; //crlf////tab////tab////tab////tab//secure:true; //crlf////tab////tab////tab////tab//documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; //crlf////tab////tab////tab////tab//widget:\\quot\\Notification Container 2\\quot\\; //crlf////tab////tab////tab////tab//containerItemID:\\quot\\260878\\quot\\; //crlf////tab////tab////tab////tab//params:\\quot\\sensor=getLaborDriverList\\amp\\getContent=true\\quot\\;//crlf////tab////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////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Agent Sensors/Actions//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=Labor Agent Sensors/Actions\\quot\\;>//crlf////tab////tab////tab//<!-- This relative div is required to position the dialogs properly in the table below -->//crlf////tab////tab////tab//<div style=\\quot\\position:relative;top:0px;left:0px;\\quot\\>//crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//This include tag uses the \\quot\\Sensors / Actions\\quot\\ view in the System Tools//crlf////tab////tab////tab////tab//package.  The Library parameter specifies that only agents included in the //crlf////tab////tab////tab////tab//\\quot\\Aspect Back-Office Sales\\quot\\ wiidget library should be included in the list.  //crlf////tab////tab////tab////tab//The Name parameter can be used to limit the list to specific agent sensors //crlf////tab////tab////tab////tab//and actions.  It has been disabled for now to show all sensors/actions///crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<!include //crlf////tab////tab////tab////tab////tab//type:view; //crlf////tab////tab////tab////tab////tab//viewid:\\quot\\BCgmpiSl\\quot\\; //crlf////tab////tab////tab////tab////tab//Source:\\quot\\\\quot\\; //crlf////tab////tab////tab////tab////tab//params:\\quot\\getContent=true\\amp\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//Library=oi85fK8kFTQDVVcRTsBH6W5i\\amp\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//Display=Actions and Sensors by Group / Widget\\amp\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//FilterType=false\\amp\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//Name=\\amp\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//TableControls=false\\amp\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//getContent=true\\quot\\;//crlf////tab////tab////tab////tab//> //crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<!-- add some blank space so the dialog for the last item in the list can be seen -->//crlf////tab////tab////tab//<div style=\\quot\\height:500px;width:10px\\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=getfooter\\quot\\;>//crlf////tab//</div>//crlf//</conditional>//crlf//
^
ID=905408|X=183|Y=43|W=714|H=690|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=249346|AttachLeft=|AlignLeft=249346|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=250123|X=183|Y=43|W=714|H=690|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=249346|AttachLeft=|AlignLeft=249346|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=424476|X=183|Y=43|W=714|H=690|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=249346|AttachLeft=|AlignLeft=249346|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=50841|X=183|Y=43|W=714|H=690|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=249346|AttachLeft=|AlignLeft=249346|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=894522|X=183|Y=43|W=714|H=690|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=249346|AttachLeft=|AlignLeft=249346|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=584998|X=183|Y=43|W=714|H=690|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=249346|AttachLeft=|AlignLeft=249346|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=172031|X=183|Y=43|W=714|H=690|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=249346|AttachLeft=|AlignLeft=249346|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=355722|X=183|Y=43|W=714|H=690|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=249346|AttachLeft=|AlignLeft=249346|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="Calculate Overtime" group="" category="Overtime Calculations" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Calculate Overtime" modified="05-18-2022 15:19:10" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=03-08-2019 22:21: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=91|toolboxy=235|aspectfuncx=206|aspectfuncy=100|aspectfuncw=856|aspectfunch=803|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Calculate Overtime.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=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\\'844622')\\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\\'77746')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=844622|X=300|Y=127|W=1274|H=882|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=1274|H=882|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=1274|H=882|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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_oi85fK8kFTQDVVcRTsBH6W5i_Calculate Overtime.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=1274|H=882|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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_oi85fK8kFTQDVVcRTsBH6W5i_Calculate Overtime.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Calculate Overtime\\comma\\calculateOvertime\\comma\\action_list\\comma\\Action=calculateOvertime\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//calculateOvertime//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\calculateOvertime\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Calculated overtime hours and pay for a given store.  Because labor//crlf////tab////tab//calculations on a day can affect subsequent days\\comma\\ labor is calculated for all //crlf////tab////tab//days in the week containing the given date.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - ID of the store//crlf////tab////tab//Date - MM-dd-yyyy.  Date to be calculated.  Calculations will be done for all days in //crlf////tab////tab////tab////tab////tab////tab//the week containing the date.//crlf////tab////tab//EmployeeID - Optional.  If specified\\comma\\ calculations will only be done for the given employee.//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\\calculateOvertime\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab////tab//dtStart=parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Calculate overtime.  Store=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\ Start=\\quot\\\\plus\\formatDate(dtStart\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////tab//boolAspect6Compatible=true//crlf////tab////tab////tab////crlf////tab////tab////tab//if (boolAspect6Compatible)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Aspect6 Compatibility is enabled\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////get store payroll settings//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Store\\comma\\drvStore\\comma\\WRITE)//crlf////tab////tab////tab//intRecord=driverFindRecordAbsolute(drvStore\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\quote(sStoreID))//crlf////tab////tab////tab//if (intRecord<0)//crlf////tab////tab////tab////tab//driverClose(drvStore)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Cannot calculate overtime.  Invalid store ID: \\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////PR_Week_Start_Day//tab//0-6 (Sun - Sat)//crlf////tab////tab////tab////PR_Period Start Date//tab//Starting date of most recent payroll period//crlf////tab////tab////tab////PR_Frequency//tab////tab////tab//0-Weekly\\comma\\ 1-Bi-Weekly\\comma\\ 2-Semi-Monthly//crlf////tab////tab////tab////PR_Over_8_In_Day//tab////tab//Rate for hours worked over eight in a single day - 0 - Regular\\comma\\ 1-Time \\plus\\ 1/2\\comma\\ 2-Double//crlf////tab////tab////tab////PR_Over_12_In_Day//tab//Rate for hours worked over twelve  in a single day. - 0 - Regular\\comma\\ 1-Time \\plus\\ 1/2\\comma\\ 2-Double//crlf////tab////tab////tab////PR_First8_7th_Day//tab////tab//Rate for first eight hours worked on the 7th consecutive day - 0 - Regular\\comma\\ 1-Time \\plus\\ 1/2\\comma\\ 2-Double//crlf////tab////tab////tab////PR_Over8_7th_Day//tab////tab//Rate for hours worked over eight on the 7th consecutive day - 0 - Regular\\comma\\ 1-Time \\plus\\ 1/2\\comma\\ 2-Double//crlf////tab////tab////tab////PR_Use_Avg_Reg_Rate//tab//Use average regular rate when calculating overtime rate - 0 - Regular\\comma\\ 1-Time \\plus\\ 1/2\\comma\\ 2-Double//crlf////tab////tab////tab////PR_Use_Tip_Credit//tab////tab//Use tip credit when calculating overtime//crlf////tab////tab////tab////PR_40Hours//tab////tab////tab//Is overtime for hours over 40 in a week is based on regular or total hours//crlf////tab////tab////tab////PR_Round_Clock_Times//tab//If true\\comma\\ round clock in/out times to //crlf////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////Get store name\\comma\\ directory and payroll settings//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab//sStoreName=driverGetFieldAbsolute(drvStore\\comma\\\\quot\\Store_Name\\quot\\\\comma\\intRecord)//crlf////tab////tab////tab//sStoreDir=addDirSlash(driverGetFieldAbsolute(drvStore\\comma\\\\quot\\Store_Directory\\quot\\\\comma\\intRecord))//crlf////tab////tab////tab//iPR_Week_Start_Day=driverGetFieldAbsolute(drvStore\\comma\\\\quot\\PR_Week_Start_Day\\quot\\\\comma\\intRecord)//crlf////tab////tab////tab//dtPR_Period_Start_Date=driverGetFieldAbsolute(drvStore\\comma\\\\quot\\PR_Period_Start_Date\\quot\\\\comma\\intRecord)//crlf////tab////tab////tab//iPR_Frequency=driverGetFieldAbsolute(drvStore\\comma\\\\quot\\PR_Frequency\\quot\\\\comma\\intRecord)//crlf////tab////tab////tab//iPR_Over_8_In_Day=driverGetFieldAbsolute(drvStore\\comma\\\\quot\\PR_Over_8_In_Day\\quot\\\\comma\\intRecord)//crlf////tab////tab////tab//iPR_Over_12_In_Day=driverGetFieldAbsolute(drvStore\\comma\\\\quot\\PR_Over_12_In_Day\\quot\\\\comma\\intRecord)//crlf////tab////tab////tab//iPR_First8_7th_Day=driverGetFieldAbsolute(drvStore\\comma\\\\quot\\PR_First8_7th_Day\\quot\\\\comma\\intRecord)//crlf////tab////tab////tab//iPR_Over8_7th_Day=driverGetFieldAbsolute(drvStore\\comma\\\\quot\\PR_Over8_7th_Day\\quot\\\\comma\\intRecord)//crlf////tab////tab////tab//bPR_Use_Avg_Reg_Rate=driverGetFieldAbsolute(drvStore\\comma\\\\quot\\PR_Use_Avg_Reg_Rate\\quot\\\\comma\\intRecord)//crlf////tab////tab////tab//bPR_Use_Tip_Credit=driverGetFieldAbsolute(drvStore\\comma\\\\quot\\PR_Use_Tip_Credit\\quot\\\\comma\\intRecord)//crlf////tab////tab////tab//iPR_40Hours=driverGetFieldAbsolute(drvStore\\comma\\\\quot\\PR_40Hours\\quot\\\\comma\\intRecord)//crlf////tab////tab////tab//dMinimumWage=driverGetFieldAbsolute(drvStore\\comma\\\\quot\\PR_Minimum_Wage\\quot\\\\comma\\intRecord)//crlf////tab////tab////tab//bPR_Round_Clock_Times=driverGetFieldAbsolute(drvStore\\comma\\\\quot\\PR_Round_Clock_Times\\quot\\\\comma\\intRecord)//crlf////tab////tab////tab//bNoOvertimeCalc=driverGetFieldAbsolute(drvStore\\comma\\\\quot\\PR_No_Overtime_Calc\\quot\\\\comma\\intRecord)//crlf////tab////tab////tab////crlf////tab////tab////tab//driverClose(drvStore)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\dMinimumWage=\\quot\\\\plus\\dMinimumWage)//crlf////tab////tab////tab//appendToLog(\\quot\\bPR_Use_Tip_Credit=\\quot\\\\plus\\bPR_Use_Tip_Credit)//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////abort if the starting day of the week is not valid//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab//if ((iPR_Week_Start_Day<0) or (iPR_Week_Start_Day>6))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Cannot calculate overtime.  Invalid starting date for store named \\quot\\\\plus\\sStoreName)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////back up starting date until it aligns with the start of the payroll week//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab//appendToLog(\\quot\\Determine starting date from \\quot\\\\plus\\formatDate(dtStart\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ Payroll start day=\\quot\\\\plus\\iPR_Week_Start_Day)//crlf////tab////tab////tab//dtStart=payperiodStartDate(sStoreID\\comma\\dtStart)//crlf////tab////tab////tab//appendToLog(\\quot\\Starting date is \\quot\\\\plus\\formatDate(dtStart\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////Calculate labor for each day from the start of the pay period to the end of the //crlf////tab////tab////tab////pay period//crlf////tab////tab////tab////=================================================================================//crlf////crlf////tab////tab////tab////open consolidated driver//crlf////tab////tab////tab//driverOpen(ConsDriverVert\\comma\\dCons\\comma\\WRITE\\comma\\true)//crlf////crlf////tab////tab////tab////add week\\apos\\s worth of files to the driver//crlf////tab////tab////tab//nDay=0//crlf////tab////tab////tab//cDriver=0//crlf////tab////tab////tab//while (nDay<7) //crlf////tab////tab////tab////tab//sFilename=sStoreDir\\plus\\\\quot\\lbr.\\quot\\\\plus\\formatDate(incrementTime(dtStart\\comma\\nDay)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//if (fileExists(sFilename))//crlf////tab////tab////tab////tab////tab////NOTE: These drivers are opened with NoDepend //crlf////tab////tab////tab////tab////tab//sEmbedName=\\quot\\Embed\\quot\\\\plus\\nDay//crlf////tab////tab////tab////tab////tab//driverOpen(POS_Generic_Labor_Detail_Dta\\comma\\sEmbedName\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\sFilename\\plus\\\\quot\\~~pipe~~NoDepend\\quot\\)//crlf////tab////tab////tab////tab////tab//driverSetFilter(sEmbedName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab//driverConsolidate(dCons\\comma\\sEmbedName\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Adding driver: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab////tab//cDriver\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nDay\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab//appendToLog(\\quot\\Added \\quot\\\\plus\\cDriver\\plus\\\\quot\\ drivers\\quot\\)//crlf////tab////tab////tab//if (cDriver>0)//crlf////tab////tab////tab////tab////sort the driver by employee \\amp\\ date \\amp\\ time//crlf////tab////tab////tab////tab//driverSetSort(dCons\\comma\\\\quot\\Employee~~pipe~~AppTimeIn\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//05-03-2016: Don\\apos\\t calculate overtime for pos and scheduled shifts.  There are//crlf////tab////tab////tab////tab//no scheduled shifts right now and there\\apos\\s no reason to do it for the pos shifts.//crlf////tab////tab////tab////tab//The pos shifts are only there to record the original clock in/out times and tips//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//cntrPass=2//crlf////tab////tab////tab////tab//while (cntrPass<3)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Calculating overtime - pass \\quot\\\\plus\\cntrPass)//crlf////crlf////tab////tab////tab////tab////tab//sLastEmployee=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////get the prefix used to read/write the fields depending on the pass//crlf////tab////tab////tab////tab////tab//sFieldPrefix=getElement(\\quot\\sch~~pipe~~act~~pipe~~app\\quot\\\\comma\\cntrPass\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//cRecords=driverGetRecordCount(dCons\\comma\\false)//crlf////tab////tab////tab////tab////tab//cntrRecord=0//crlf////tab////tab////tab////tab////tab//while (cntrRecord<cRecords)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////tab////tab////tab////get employee and time in/out//crlf////tab////tab////tab////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////tab////tab////tab//sEmployeeNum=driverGetField(dCons\\comma\\\\quot\\Employee\\quot\\\\comma\\cntrRecord)//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\sEmployeeNum=\\quot\\\\plus\\sEmployeeNum)//crlf////tab////tab////tab////tab////tab////tab//Debug=false//crlf////tab////tab////tab////tab////tab////tab//if ((sEmployeeNum=\\quot\\116\\quot\\) and (cntrPass=2))//crlf////tab////tab////tab////tab////tab////tab////tab//Debug=true//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////tab////tab////tab////clear the overtime reasons//crlf////tab////tab////tab////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////tab////tab////tab//if(Debug)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Clearing overtime reasons in record: \\quot\\\\plus\\cntrRecord)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\\\quot\\Overtime_Reason_1\\quot\\\\comma\\cntrRecord\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\\\quot\\Overtime_Reason_2\\quot\\\\comma\\cntrRecord\\comma\\0)//crlf////crlf////tab////tab////tab////tab////tab////tab//dtTimeIn=driverGetField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\TimeIn\\quot\\\\comma\\cntrRecord)//crlf////tab////tab////tab////tab////tab////tab//dtTimeOut=driverGetField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\TimeOut\\quot\\\\comma\\cntrRecord)//crlf////tab////tab////tab////tab////tab////tab//dtBreakIn=driverGetField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\BreakIn\\quot\\\\comma\\cntrRecord)//crlf////tab////tab////tab////tab////tab////tab//dtBreakOut=driverGetField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\BreakOut\\quot\\\\comma\\cntrRecord)//crlf////tab////tab////tab////tab////tab////tab//dtBreakNotPaid=driverGetField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\BrkNotPd\\quot\\\\comma\\cntrRecord)//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////round hours//crlf////tab////tab////tab////tab////tab////tab//if (bPR_Round_Clock_Times) //crlf////tab////tab////tab////tab////tab////tab////tab//dtTimeIn=roundTime(dtTimeIn\\comma\\\\quot\\Minute\\quot\\\\comma\\\\quot\\Near\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//dtTimeOut=roundTime(dtTimeOut\\comma\\\\quot\\Minute\\quot\\\\comma\\\\quot\\Near\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//dtBreakIn=roundTime(dtBreakIn\\comma\\\\quot\\Minute\\quot\\\\comma\\\\quot\\Near\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//dtBreakOut=roundTime(dtBreakOut\\comma\\\\quot\\Minute\\quot\\\\comma\\\\quot\\Near\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//if ((dateNumber(dtTimeIn)=0) or (dateNumber(dtTimeOut)=0))//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\RegHours\\quot\\\\comma\\cntrRecord\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtHrs1\\quot\\\\comma\\cntrRecord\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtRate1\\quot\\\\comma\\cntrRecord\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//if ((dateNumber(dtTimeIn)<>dateNumber(dtTimeOut)) and (dateNumber(dtTimeIn)>0) and (dateNumber(dtTimeOut)>0))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//dRegRate=driverGetField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\RegRate\\quot\\\\comma\\cntrRecord)//crlf////tab////tab////tab////tab////tab////tab////tab//dHours=hours(dateNumber(dtTimeOut)-dateNumber(dtTimeIn)\\comma\\false)//crlf////tab////tab////tab////tab////tab////tab////tab//if((dtBreakNotPaid) and ((dateNumber(dtBreakOut)*dateNumber(dtBreakIn)>0)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//dBreakHours=hours(dateNumber(dtBreakOut)-dateNumber(dtBreakIn)\\comma\\false)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//dHours=dHours - dBreakHours//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//intDayOfWeek=dayOfWeek(dtTimeIn)-1//crlf////tab////tab////tab////tab////tab////tab////tab//dRegHours=0//crlf////tab////tab////tab////tab////tab////tab////tab//dOvtHours=0//crlf////tab////tab////tab////tab////tab////tab////tab//dOvtRate=0//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//if (Debug)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\In=\\quot\\\\plus\\formatDate(dtTimeIn\\comma\\\\quot\\HH:mm:ss\\quot\\)\\plus\\\\quot\\ Out=\\quot\\\\plus\\formatDate(dtTimeOut\\comma\\\\quot\\HH:mm:ss\\quot\\)\\plus\\\\quot\\ hours=\\quot\\\\plus\\dHours)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//if (bNoOvertimeCalc)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\RegHours\\quot\\\\comma\\cntrRecord\\comma\\dHours)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtHrs1\\quot\\\\comma\\cntrRecord\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtRate1\\quot\\\\comma\\cntrRecord\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtHrs2\\quot\\\\comma\\cntrRecord\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtRate2\\quot\\\\comma\\cntrRecord\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////calculate overtime rate using tip credit at time and a half//crlf////tab////tab////tab////tab////tab////tab////tab////tab//dCalcOtRateX1_5=dRegRate * 1.5//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(Debug)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\dCalcOtRateX1_5=\\quot\\\\plus\\dRegRate\\plus\\\\quot\\*1.5=\\quot\\\\plus\\dCalcOtRateX1_5)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if ((dRegRate>0) and (dRegRate<dMinimumWage) and (bPR_Use_Tip_Credit))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dCalcOtRateX1_5=dMinimumWage * 1.5 - (dMinimumWage-dRegRate)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(Debug)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\dCalcOtRateX1_5=\\quot\\\\plus\\dMinimumWage\\plus\\\\quot\\*1.5-(\\quot\\\\plus\\dMinimumWage\\plus\\\\quot\\-\\quot\\\\plus\\dRegRate\\plus\\\\quot\\)=\\quot\\\\plus\\dCalcOtRateX1_5)//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////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab////calculate overtime rate using tip credit at double time//crlf////tab////tab////tab////tab////tab////tab////tab////tab//dCalcOtRateX2_0=dRegRate * 2//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if ((dRegRate>0) and (dRegRate<dMinimumWage) and (bPR_Use_Tip_Credit))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dCalcOtRateX2_0=dMinimumWage * 2.0 - (dMinimumWage-dRegRate)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////tab////tab////tab////tab////tab////clear totals if starting on a new employee//crlf////tab////tab////tab////tab////tab////tab////tab////tab////arPreviousDays //tab////tab//- Array of dates on which a shift has been worked.  Used to calculate consecutive work days//crlf////tab////tab////tab////tab////tab////tab////tab////tab////arPreviousHoursSameDay//tab//- Array of hours worked on each of 7 days.  Used to calculate the previous house on the same day//crlf////tab////tab////tab////tab////tab////tab////tab////tab////dtLastTimeIn //tab////tab////tab//- The date/time of the last shift worked//crlf////tab////tab////tab////tab////tab////tab////tab////tab////iConsecutiveDays //tab////tab//- The number of consecutive days worked//crlf////tab////tab////tab////tab////tab////tab////tab////tab////dPrevRegHours//tab////tab//- The number of regular hours worked so far//crlf////tab////tab////tab////tab////tab////tab////tab////tab////dPrevOvtHours//tab////tab//- The number of overtime hours worked so far//crlf////tab////tab////tab////tab////tab////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\sEmployeeNum=\\quot\\\\plus\\sEmployeeNum\\plus\\\\quot\\ sLastEmployee-\\quot\\\\plus\\sLastEmployee)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if (sEmployeeNum<>sLastEmployee)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sLastEmployee=sEmployeeNum//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//arPreviousDays=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//arPreviousHoursSameDay=\\quot\\0~~pipe~~0~~pipe~~0~~pipe~~0~~pipe~~0~~pipe~~0~~pipe~~0\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////This is to address a bug in setElement which was fixed in verion 7.602.  This line //crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////is not required for versions beyond 7.602.  Otherwise\\comma\\ the overtime calculations will //crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////be incorrect because of a problem setting values in arPreviousHoursSameDay.  The bug //crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////causes values from the previous employee to be carried over.//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//setElement(getSalt(4)\\comma\\0\\comma\\0\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dtLastTimeIn=date(0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//iConsecutiveDays=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dPrevRegHours=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dPrevOvtHours=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////tab////tab////tab////tab////tab////update consecutive work days (make sure to not count a double as a consecutive shift)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////The iConsecutiveDays variable contains the number of consecutive days not including the current day//crlf////tab////tab////tab////tab////tab////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if (day(dtTimeIn)<>day(dtLastTimeIn))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dt=incrementTime(dtTimeIn\\comma\\-1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if (pos(formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\arPreviousDays)>=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//iConsecutiveDays=iConsecutiveDays\\plus\\1//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//else //crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//iConsecutiveDays=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//arPreviousDays=addElement(arPreviousDays\\comma\\formatDate(dtTimeIn\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dtLastTimeIn=dtTimeIn//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab////write cumulative hours and days worked to file for troubleshooting//crlf////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\\\quot\\CumTtlHrs\\quot\\\\comma\\cntrRecord\\comma\\dPrevRegHours\\plus\\dPrevOvtHours\\plus\\dHours)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\\\quot\\ConsecDays\\quot\\\\comma\\cntrRecord\\comma\\iConsecutiveDays\\plus\\1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab//if (Debug)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//strMsg=\\quot\\Employee=\\quot\\\\plus\\sEmployeeNum\\plus\\\\quot\\ TimeIn:\\quot\\\\plus\\formatDate(dtTimeIn\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//strMsg=strMsg \\plus\\ \\quot\\ Hours=\\quot\\\\plus\\formatNumber(dHours\\comma\\\\quot\\\\pound\\.\\pound\\\\pound\\\\pound\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//strMsg=strMsg \\plus\\ \\quot\\ arPrevHrs=\\quot\\\\plus\\arPreviousHoursSameDay\\plus\\\\quot\\ arPreviousDays=\\quot\\\\plus\\arPreviousDays\\plus\\\\quot\\ iConsecutiveDays=\\quot\\\\plus\\iConsecutiveDays//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(strMsg)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////tab////tab////tab////tab////tab////get hours worked previously on the same day//crlf////tab////tab////tab////tab////tab////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////tab////tab////tab////tab////tab//dlEarlierHours=getElement(arPreviousHoursSameDay\\comma\\intDayOfWeek\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab//dOvtHours1=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab//dOvtHours2=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab//dRegHours=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate1=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////tab////tab////tab////tab////tab////Overtime on 7th day trumps everything else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if ((iConsecutiveDays>=6) and (iPR_First8_7th_Day>0))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////The first-8 and over-8 rules are applied together//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//Num1=dlEarlierHours\\plus\\dHours-8//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtHours2=max(min(dHours\\comma\\Num1)\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtHours1=dHours-dOvtHours2 //crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dRegHours=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate1=dCalcOtRateX1_5//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if (iPR_First8_7th_Day=2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate1=dCalcOtRateX2_0//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//dOvtRate2=dCalcOtRateX1_5//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if (iPR_Over8_7th_Day=2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate2=dCalcOtRateX2_0//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//if (boolAspect6Compatible)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate1=dRegRate*1.5//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate2=dRegRate*2//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////write the hours and rates//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\RegHours\\quot\\\\comma\\cntrRecord\\comma\\dRegHours)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtHrs1\\quot\\\\comma\\cntrRecord\\comma\\dOvtHours1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtRate1\\quot\\\\comma\\cntrRecord\\comma\\dOvtRate1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(dOvtHours1>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(Debug)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Setting Overtime Reason1[1]=3\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\\\quot\\Overtime_Reason_1\\quot\\\\comma\\cntrRecord\\comma\\3)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtHrs2\\quot\\\\comma\\cntrRecord\\comma\\dOvtHours2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtRate2\\quot\\\\comma\\cntrRecord\\comma\\dOvtRate2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(dOvtHours2>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\\\quot\\Overtime_Reason_2\\quot\\\\comma\\cntrRecord\\comma\\1)//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//dOvtRate1=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate2=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////Hours over 8 in a single day//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if ((dlEarlierHours\\plus\\dHours>8) and (iPR_Over_8_In_Day>0))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(dlEarlierHours\\plus\\dHours-8>dOvtHours1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(Debug)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Over 8 in single day: dlEarlierHours=\\quot\\\\plus\\dlEarlierHours\\plus\\\\quot\\ dHours=\\quot\\\\plus\\dHours\\plus\\\\quot\\ dOvtHours1=\\quot\\\\plus\\dOvtHours1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtHours1=min(dHours\\comma\\dlEarlierHours\\plus\\dHours-8)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dRegHours=dHours-dOvtHours1//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate1=dCalcOtRateX1_5//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(Debug)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Over 8 in single day: dOvtHours1=\\quot\\\\plus\\dOvtHours1\\plus\\\\quot\\ dRegHours=\\quot\\\\plus\\dRegHours)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if (boolAspect6Compatible)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate1=dRegRate*1.5//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if (iPR_Over_8_In_Day=2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate1=dCalcOtRateX2_0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//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////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////write the hours and rate//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\RegHours\\quot\\\\comma\\cntrRecord\\comma\\dRegHours)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtHrs1\\quot\\\\comma\\cntrRecord\\comma\\dOvtHours1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtRate1\\quot\\\\comma\\cntrRecord\\comma\\dOvtRate1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(dOvtHours1>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(Debug)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Setting Overtime Reason1[2]=3 dOvtHours1=\\quot\\\\plus\\dOvtHours1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\\\quot\\Overtime_Reason_1\\quot\\\\comma\\cntrRecord\\comma\\3)//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////added 12/16/2021//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtHrs2\\quot\\\\comma\\cntrRecord\\comma\\dOvtHours2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtRate2\\quot\\\\comma\\cntrRecord\\comma\\dOvtRate2)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////Hours over 12 in a single day//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if ((dlEarlierHours\\plus\\dHours>12) and (iPR_Over_12_In_Day>0))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtHours2=dlEarlierHours\\plus\\dHours-12//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate2=dCalcOtRateX1_5//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if (iPR_Over_12_In_Day=2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate2=dCalcOtRateX2_0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if (iPR_Over_8_In_Day>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////overtime for over 8 hours in a day is in effect//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtHours1=min(dlEarlierHours\\plus\\dHours-8-dOvtHours2\\comma\\dHours-dOvtHours2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dRegHours=dHours - dOvtHours1 - dOvtHours2//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate1=dCalcOtRateX1_5//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if (iPR_Over_8_In_Day=2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate1=dCalcOtRateX2_0//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////only overtime for over 12 hours in a day\\comma\\ so remaining hours are regular and there is no overtime 1//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dRegHours=dRegHours - dOvtHours2//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate1=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if (boolAspect6Compatible)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate1=dRegRate*1.5//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate2=dRegRate*1.5//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if (iPR_Over_12_In_Day=2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate2=dRegRate*2//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////write the hours and rate//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\RegHours\\quot\\\\comma\\cntrRecord\\comma\\dRegHours)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtHrs1\\quot\\\\comma\\cntrRecord\\comma\\dOvtHours1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtRate1\\quot\\\\comma\\cntrRecord\\comma\\dOvtRate1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(dOvtHours1>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(Debug)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Setting Overtime Reason1[3]=3\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\\\quot\\Overtime_Reason_1\\quot\\\\comma\\cntrRecord\\comma\\3)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtHrs2\\quot\\\\comma\\cntrRecord\\comma\\dOvtHours2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtRate2\\quot\\\\comma\\cntrRecord\\comma\\dOvtRate2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(dOvtHours2>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\\\quot\\Overtime_Reason_2\\quot\\\\comma\\cntrRecord\\comma\\2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////Hours over 40//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////after 40 regular hours//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//Num1=dPrevRegHours//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if (iPR_40Hours=1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////after 40 total hours//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//Num1=dPrevRegHours \\plus\\ dPrevOvtHours//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//dOver40OvtHours1=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOver40OvtRate1=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if (Num1\\plus\\dHours<=40)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOver40RegHours=dHours//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if (Num1>=40) //crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOver40OvtHours1=dHours//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOver40RegHours=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOver40OvtRate1=dCalcOtRateX1_5//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOver40OvtHours1=min(dHours\\comma\\(Num1\\plus\\dHours)-40)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOver40RegHours=dHours - dOver40OvtHours1//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOver40OvtRate1=dCalcOtRateX1_5//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////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////write the hours and rate if the overtime is greater than or equal to that calculated earlier//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if (Debug)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\dOver40OvtHours1=\\quot\\\\plus\\dOver40OvtHours1\\plus\\\\quot\\ dOver40OvtRate1=\\quot\\\\plus\\dOver40OvtRate1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\dOvtHours1=\\quot\\\\plus\\dOvtHours1\\plus\\\\quot\\ dOvtRate1=\\quot\\\\plus\\dOvtRate1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\dOvtHours2=\\quot\\\\plus\\dOvtHours2\\plus\\\\quot\\ dOvtRate2=\\quot\\\\plus\\dOvtRate2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////determine if overtime based on 40 hours is greater than previously //crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////calculated overtime.  If a regular rate is not supplied\\comma\\ compare only//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////the hours.  This can happen for salaried employees.//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//b=false//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(dRegRate=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//b=(dOver40OvtHours1>=dOvtHours1\\plus\\dOvtHours2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//b=(dOver40OvtHours1*dOver40OvtRate1>=(dOvtHours1*dOvtRate1)\\plus\\(dOvtHours2*dOvtRate2))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(b)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dRegHours=dOver40RegHours//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtHours1=dOver40OvtHours1//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate1=dOver40OvtRate1//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtHours2=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate2=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if (boolAspect6Compatible)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate1=dRegRate*1.5//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if ((dRegRate>0) and (dRegRate<dMinimumWage) and (bPR_Use_Tip_Credit))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dOvtRate1=dMinimumWage * 1.5 - (dMinimumWage-dRegRate)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(Debug)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\dOvtRate1=\\quot\\\\plus\\dMinimumWage\\plus\\\\quot\\*1.5-(\\quot\\\\plus\\dMinimumWage\\plus\\\\quot\\-\\quot\\\\plus\\dRegRate\\plus\\\\quot\\)=\\quot\\\\plus\\dCalcOtRateX1_5)//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//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\RegHours\\quot\\\\comma\\cntrRecord\\comma\\dRegHours)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtHrs1\\quot\\\\comma\\cntrRecord\\comma\\dOvtHours1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtRate1\\quot\\\\comma\\cntrRecord\\comma\\dOvtRate1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(dOvtHours1>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(Debug)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Setting Overtime Reason1[4]=4\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\\\quot\\Overtime_Reason_1\\quot\\\\comma\\cntrRecord\\comma\\4)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\\\quot\\Overtime_Reason_1\\quot\\\\comma\\cntrRecord\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtHrs2\\quot\\\\comma\\cntrRecord\\comma\\dOvtHours2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtRate2\\quot\\\\comma\\cntrRecord\\comma\\dOvtRate2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\\\quot\\Overtime_Reason_2\\quot\\\\comma\\cntrRecord\\comma\\0)//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////crlf////tab////tab////tab////tab////tab////tab////tab////update previous regular and overtime hours//crlf////tab////tab////tab////tab////tab////tab////tab//dPrevRegHours=dPrevRegHours \\plus\\ dRegHours//crlf////tab////tab////tab////tab////tab////tab////tab//dPrevOvtHours=dPrevOvtHours \\plus\\ dOvtHours1 \\plus\\ dOvtHours2//crlf////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////update the previous hours worked in the array of previous hours//crlf////tab////tab////tab////tab////tab////tab////tab//arPreviousHoursSameDay=setElement(arPreviousHoursSameDay\\comma\\intDayOfWeek\\comma\\value(getElement(arPreviousHoursSameDay\\comma\\intDayOfWeek\\comma\\\\quot\\~~pipe~~\\quot\\))\\plus\\dHours\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\RegHours\\quot\\\\comma\\cntrRecord\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtHrs1\\quot\\\\comma\\cntrRecord\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtRate1\\quot\\\\comma\\cntrRecord\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtHrs2\\quot\\\\comma\\cntrRecord\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutField(dCons\\comma\\sFieldPrefix\\plus\\\\quot\\OvtRate2\\quot\\\\comma\\cntrRecord\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//cntrRecord\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//cntrPass\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////close the consolidated driver//crlf////tab////tab////tab////tab//driverClose(dCons)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////set dependency states for all drivers.  This is done to avoid calculating overtime//crlf////tab////tab////tab////again for days in the pay period that was just calculated.  //crlf////tab////tab////tab//nDay=0//crlf////tab////tab////tab//while (nDay<7) //crlf////tab////tab////tab////tab//sDate=formatDate(incrementTime(dtStart\\comma\\nDay)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//sFilename=sStoreDir\\plus\\\\quot\\lbr.\\quot\\\\plus\\sDate\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//if (fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//setDependencyStates(\\quot\\POS_Generic_Labor_Detail_Dta\\quot\\\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\~~pipe~~Date=\\quot\\\\plus\\sDate)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nDay\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Calculating overtime - complete\\quot\\)//crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>^
ID=debug_console|X=300|Y=127|W=1274|H=882|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=77746|X=300|Y=127|W=1274|H=882|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=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=184|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=250881|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=250881|X=183|Y=216|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=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=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_Calculate Overtime\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Calculate Overtime\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 03-20-2016 10:25:52//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\\oi85fK8kFTQDVVcRTsBH6W5i_Calculate Overtime\\comma\\AgentTerminate\\comma\\250881\\comma\\2\\comma\\//crlf////tab////tab//scriptSetResult(2)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=184|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;03202016//amp//nbsp;102552//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_Calculate//amp//nbsp;Overtime\\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-2016//amp//nbsp;10:25:52</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=184|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=184|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=184|Y=43|W=922|H=687|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=|Content=<state>03202016 102552</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\\chart250881\\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>Calculate Overtime</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: 167px; left: 257px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart250881\\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=722330|X=564|Y=141|W=639|H=328|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><br>//crlf//<include type:script; commands:\\quot\\//crlf////tab//sParams=\\quot\\StoreID=sTX8JPmYvSdFJKNMEiwfPv8G//amp//Date=11-11-2021\\quot\\//crlf////tab//s=execAgentAction(\\quot\\calculateOvertime\\quot\\\\comma\\sParams)//crlf////tab//return(s)//crlf//\\quot\\>//crlf//
</widget><widget name="Update Jobs and Rates" group="" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Update Jobs And Rates" modified="12-20-2017 14:17:17" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=12-09-2017 21:37:10: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=107|toolboxy=242|aspectfuncx=50|aspectfuncy=50|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=null|aspectfuncVisible=false|PublishFtpFilename=Update Jobs and Rates.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=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=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\\'884487')\\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\\'730013')\\quot\\>Notes</span></td>
//crlf////tab//</tr>
//crlf//</table>
^
ID=884487|X=300|Y=120|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=120|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=120|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_oi85fK8kFTQDVVcRTsBH6W5i_Update Jobs and Rates.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=120|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\\__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_oi85fK8kFTQDVVcRTsBH6W5i_Update Jobs and Rates.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Update Jobs and Rates\\comma\\updateEmployeeJobsAndRates\\comma\\action_list\\comma\\Action=updateEmployeeJobsAndRates\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateEmployeeJobsAndRates//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateEmployeeJobsAndRates\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates the POS_Generic_Employee_Jobs_and_Rates driver to record the jobs and //crlf////tab////tab//rates for each employee from the timeclock.  Only the latest rate is recorded.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - ID of store//crlf////tab////tab//DateFrom - Optional.  Starting date of timeclock driver to read.  Default is last business day.//crlf////tab////tab//DateTo - Optional.  Ending date of timeclock driver to read.  Default is current 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\\updateEmployeeJobsAndRates\\quot\\; commands:\\quot\\//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 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////crlf////tab////tab////tab//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab////tab//dtFrom=if(defined(\\quot\\__DateFrom__\\quot\\)\\comma\\parseTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\lastBusinessDay())//crlf////tab////tab////tab//dtTo=if(defined(\\quot\\__DateTo__\\quot\\)\\comma\\parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\mpw())//crlf////crlf////tab////tab////tab////open consolidated driver containing timeclock drivers for all days//crlf////tab////tab////tab//driverOpen(ConsDriverVert\\comma\\dTimeclock\\comma\\WRITE\\comma\\true)//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////tab////tab////tab////tab//sFilename=getStoreDir(sStoreID)\\plus\\\\quot\\lbr.\\quot\\\\plus\\sDate\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//sDriverName=getSalt(4)//crlf////tab////tab////tab////tab////tab////Note:  The nodepend parameter is used here to avoid calculating overtime which//crlf////tab////tab////tab////tab////tab////is not required for this function//crlf////tab////tab////tab////tab////tab//driverOpen(POS_Generic_Labor_Detail_Dta\\comma\\sDriverName\\comma\\READ\\comma\\true\\comma\\\\quot\\NoDepend~~pipe~~StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\~~pipe~~Date=\\quot\\\\plus\\sDate)//crlf////tab////tab////tab////tab////tab//driverConsolidate(dTimeclock\\comma\\sDriverName\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////sort the driver\\comma\\ latest records first//crlf////tab////tab////tab//driverSetSort(dTimeclock\\comma\\\\quot\\Business_Date\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverSetFilter(dTimeclock\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////open the jobs and rates driver//crlf////tab////tab////tab//driverOpen(POS_Generic_Employee_Jobs_and_Rates\\comma\\dJobsAndRates\\comma\\WRITE\\comma\\false\\comma\\\\quot\\NoDepend~~pipe~~StoreID=\\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab//driverSetFilter(dJobsAndRates\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////create hashtable used to lookup record numbers by employee ID/Job ID//crlf////tab////tab////tab////and a hashtable containing the last timeclock entry//crlf////tab////tab////tab////Note: The employee ID and job code ID are based on the POS ID\\apos\\s\\comma\\ not an Aspect ID//crlf////tab////tab////tab//hashCreate(hashRecordNumber)//crlf////tab////tab////tab//hashCreate(hashLastTimeclockEntry)//crlf////tab////tab////tab//c=driverGetRecordCount(dJobsAndRates)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sEmployeePOSID=driverGetField(dJobsAndRates\\comma\\\\quot\\Employee_POS_ID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sJobCodePOSID=driverGetField(dJobsAndRates\\comma\\\\quot\\Job_Code_POS_ID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dtLastTimeclockEntry=driverGetField(dJobsAndRates\\comma\\\\quot\\Last_Timeclock_Entry\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sKey=sEmployeePOSID\\plus\\\\quot\\_\\quot\\\\plus\\sJobCodePOSID//crlf////tab////tab////tab////tab//hashPut(hashRecordNumber\\comma\\sKey\\comma\\driverGetAbsoluteIndex(dJobsAndRates\\comma\\n))//crlf////tab////tab////tab////tab//hashPut(hashLastTimeclockEntry\\comma\\sKey\\comma\\dtLastTimeclockEntry)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////initialize hashtable used to record employees/jobs that have already been updated//crlf////tab////tab////tab////The key is the employee ID and Job ID.  Since the driver is sorted in reverse date//crlf////tab////tab////tab////order\\comma\\ only the first record read needs to be recorded.//crlf////tab////tab////tab//hashCreate(hashRecorded)//crlf////crlf////tab////tab////tab//cAdded=0//crlf////tab////tab////tab//cUpdated=0//crlf////tab////tab////tab//c=driverGetRecordCount(dTimeclock)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sEmployeePOSID=driverGetField(dTimeclock\\comma\\\\quot\\Employee\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sJobCodePOSID=driverGetField(dTimeclock\\comma\\\\quot\\AppJobCode\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sKey=sEmployeePOSID\\plus\\\\quot\\_\\quot\\\\plus\\sJobCodePOSID//crlf////tab////tab////tab////tab//if(not(hashContainsKey(hashRecorded\\comma\\sKey)))//crlf////tab////tab////tab////tab////tab//dtBusiness=driverGetField(dTimeclock\\comma\\\\quot\\Business_Date\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////tab//bSkip=false//crlf////tab////tab////tab////tab////tab//if(hashContainsKey(hashLastTimeclockEntry\\comma\\sKey))//crlf////tab////tab////tab////tab////tab////tab//if(hashGet(hashLastTimeclockEntry\\comma\\sKey)>=dtBusiness)//crlf////tab////tab////tab////tab////tab////tab////tab//bSkip=true//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//if(not(bSkip))//crlf////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hashRecordNumber\\comma\\sKey))//crlf////tab////tab////tab////tab////tab////tab////tab//r=hashGet(hashRecordNumber\\comma\\sKey)//crlf////tab////tab////tab////tab////tab////tab////tab//cUpdated\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(dJobsAndRates)//crlf////tab////tab////tab////tab////tab////tab////tab//hashPut(hashRecordNumber\\comma\\sKey\\comma\\r)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dJobsAndRates\\comma\\Employee_POS_ID\\comma\\r\\comma\\sEmployeePOSID)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dJobsAndRates\\comma\\Job_Code_POS_ID\\comma\\r\\comma\\sJobCodePOSID)//crlf////tab////tab////tab////tab////tab////tab////tab//cAdded\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab//dRate=driverGetField(dTimeclock\\comma\\\\quot\\AppRegRate\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dJobsAndRates\\comma\\Rate\\comma\\r\\comma\\dRate)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dJobsAndRates\\comma\\Last_Timeclock_Entry\\comma\\r\\comma\\dtBusiness)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dJobsAndRates\\comma\\Last_Updated\\comma\\r\\comma\\now())//crlf////tab////tab////tab////tab////tab////tab//hashPut(dtLastTimeclockEntry\\comma\\sKey\\comma\\dtBusiness)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//hashPut(hashRecorded\\comma\\sKey)//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(dJobsAndRates)//crlf////tab////tab////tab//driverClose(dTimeclock)//crlf////tab////tab////tab//return(\\quot\\Ok: Added \\quot\\\\plus\\cUpdated\\plus\\\\quot\\ records.  Updated \\quot\\\\plus\\cUpdated\\plus\\\\quot\\ records\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf//
^
ID=debug_console|X=300|Y=120|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=730013|X=300|Y=120|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=42|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=570788|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|
^
ID=570788|X=183|Y=216|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=42|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_Update Jobs and Rates\\quot\\; commands:\\quot\\
//crlf//
//crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Update Jobs and Rates\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\
//crlf////tab////tab////Created 04-15-2016 09:34:35
//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\\oi85fK8kFTQDVVcRTsBH6W5i_Update Jobs and Rates\\comma\\AgentTerminate\\comma\\570788\\comma\\2\\comma\\
//crlf////tab////tab//scriptSetResult(2)
//crlf////tab//\\quot\\>
//crlf//</conditional>
^
ID=ScriptText|X=183|Y=42|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;04152016//amp//nbsp;093435//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_Update//amp//nbsp;Jobs//amp//nbsp;and//amp//nbsp;Rates\\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-2016//amp//nbsp;09:34:35</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=42|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=42|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=42|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>04152016 093435</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\\chart570788\\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>Update Jobs and Rates</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: 130px; left: 92px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart570788\\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="Update Daily Labor Sales and Tips" group="" category="" description="Moved to Labor Detail agent.  Delete this." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Update Daily Labor Sales And Tips" modified="01-26-2018 19:45:37" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=01-16-2018 14:26:35: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=219|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Update Daily Labor Sales and Tips.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\\'836511')\\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\\'837702')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=836511|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=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=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_oi85fK8kFTQDVVcRTsBH6W5i_Update Daily Labor Sales and Tips.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_oi85fK8kFTQDVVcRTsBH6W5i_Update Daily Labor Sales and Tips.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Update Daily Labor Sales and Tips\\comma\\updateDailyLaborSalesAndTips_Deleted\\comma\\action_list\\comma\\Action=updateDailyLaborSalesAndTips\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateDailyLaborSalesAndTips//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateDailyLaborSalesAndTips_Deleted\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Records total sales\\comma\\ charge tips\\comma\\ comps \\amp\\ discounts in the daily labor file//crlf////tab////tab//by reading records from the check detail file//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 calculated//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\\updateDailyLaborSalesAndTips_Deleted\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\updateDailyLaborSalesAndTips StoreID=__StoreID__ Date=__Date__\\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 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////tab////crlf////tab////tab////tab//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab////tab//sStoreDir=getStoreDir(sStoreID)//crlf////tab////tab////tab//sDate=\\quot\\__Date__\\quot\\//crlf////tab////tab////tab//Dt=parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////crlf////tab////tab////tab////abort if already executing//crlf////tab////tab////tab//if(scriptCount(this\\comma\\\\quot\\(sStoreID=\\quot\\\\plus\\quote(sStoreID)\\plus\\\\quot\\) and (sDate=\\quot\\\\plus\\sDate\\plus\\\\quot\\)\\quot\\)>1)//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Aborted because another instance is already running\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the check details file is missing//crlf////tab////tab////tab//s=sStoreDir\\plus\\\\quot\\ckd.\\quot\\\\plus\\sDate\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab//if(not(fileExists(s)))//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Cannot locate \\quot\\\\plus\\s))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the daily labor file is missing//crlf////tab////tab////tab//s=sStoreDir\\plus\\\\quot\\lbr.\\quot\\\\plus\\sDate\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab//if(not(fileExists(s)))//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Cannot locate \\quot\\\\plus\\s))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////create hashtables containing the open and close time for each check number//crlf////tab////tab////tab//hashCreate(hashCheckTimeOpen)//crlf////tab////tab////tab//hashCreate(hashCheckTimeClose)//crlf////tab////tab////tab//hashCreate(hashCheckEmployee)//crlf////tab////tab////tab//driverOpen(POS_Generic_Check_Header_Dta\\comma\\drvCheckHeader\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\~~pipe~~Date=\\quot\\\\plus\\sDate)//crlf////tab////tab////tab//driverSetFilter(drvCheckHeader\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(drvCheckHeader)//crlf//appendToLog(\\quot\\Creating check header hashtables c=\\quot\\\\plus\\c)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sCheckNumber=driverGetField(drvCheckHeader\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//tCheckOpen=driverGetField(drvCheckHeader\\comma\\\\quot\\Time_Open\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//tCheckClose=driverGetField(drvCheckHeader\\comma\\\\quot\\Time_Close\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sEmployeePOSID=driverGetField(drvCheckHeader\\comma\\\\quot\\Emp_Close\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//hashPut(hashCheckTimeOpen\\comma\\sCheckNumber\\comma\\tCheckOpen)//crlf////tab////tab////tab////tab//hashPut(hashCheckTimeClose\\comma\\sCheckNumber\\comma\\tCheckClose)//crlf////tab////tab////tab////tab//hashPut(hashCheckEmployee\\comma\\sCheckNumber\\comma\\sEmployeePOSID)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(drvCheckHeader)//crlf////crlf////tab////tab////tab////open the check detail driver//crlf////tab////tab////tab//driverOpen(POS_Generic_Check_Detail_Dta\\comma\\drvCheckDetail\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\~~pipe~~Date=\\quot\\\\plus\\sDate)//crlf////crlf////tab////tab////tab////create a hashtable of tenders by check number.  The key is the check number and the//crlf////tab////tab////tab////value is the tendered amount broken down into cash and charge amounts.  The format of //crlf////tab////tab////tab////the value is Cash Tender\\comma\\Charge Tender.  E.g. a check with $10 tendered in cash and //crlf////tab////tab////tab////$20 tendered in charge would be 19\\comma\\20.  This is used to split the sale amount when a //crlf////tab////tab////tab////check has more than one tender//crlf////tab////tab////tab//hashCreate(hashTender)//crlf////tab////tab////tab//driverSetFilter(drvCheckDetail\\comma\\\\quot\\Rectype=8\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(drvCheckDetail)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sCheckNumber=driverGetField(drvCheckDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sTenderID=driverGetField(drvCheckDetail\\comma\\\\quot\\Id1\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dAmount=driverGetField(drvCheckDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////get any previous amounts recorded//crlf////tab////tab////tab////tab//if(hashContainsKey(hashTender\\comma\\sCheckNumber))//crlf////tab////tab////tab////tab////tab//s=hashGet(hashTender\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab//dCashAmount=getElement(s\\comma\\0)//crlf////tab////tab////tab////tab////tab//dChargeAmount=getElement(s\\comma\\1)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//dCashAmount=0//crlf////tab////tab////tab////tab////tab//dChargeAmount=0//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////update the cash or charge total with the current amount//crlf////tab////tab////tab////tab//bIsCash=boolean(lookup(POS_Generic_Lookup_Tender_Is_Cash_By_Tender_POS_Id\\comma\\sTenderID))//crlf////tab////tab////tab////tab//if(bIsCash)//crlf////tab////tab////tab////tab////tab//dCashAmount=dCashAmount\\plus\\dAmount//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//dChargeAmount=dChargeAmount\\plus\\dAmount//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//hashPut(hashTender\\comma\\sCheckNumber\\comma\\dCashAmount\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\dChargeAmount)//crlf////crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////open the daily labor driver//crlf////tab////tab////tab//driverOpen(POS_Generic_Labor_Detail_Dta\\comma\\drvLaborDetail\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Nodepend~~pipe~~StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\~~pipe~~Date=\\quot\\\\plus\\sDate)//crlf////tab////tab////tab//driverSetFilter(drvLaborDetail\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////create an array containing information about each shift.  The array consists of elements//crlf////tab////tab////tab////in the form://crlf////tab////tab////tab////employee POS number~~pipe~~Absolute Record Number~~pipe~~Time In~~pipe~~Time Out//crlf////tab////tab////tab//arrayCreate(a)//crlf////tab////tab////tab//c=driverGetRecordCount(drvLaborDetail)//crlf//appendToLog(\\quot\\Creating daily labor array.  c-\\quot\\\\plus\\c)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//r=driverGetAbsoluteIndex(drvLaborDetail\\comma\\n)//crlf////tab////tab////tab////tab//sEmployeePOSID=driverGetField(drvLaborDetail\\comma\\\\quot\\Employee\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//tTimeIn=driverGetField(drvLaborDetail\\comma\\\\quot\\ActTimeIn\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//tTimeOut=driverGetField(drvLaborDetail\\comma\\\\quot\\ActTimeOut\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//s=sEmployeePOSID\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\r\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\formatDate(tTimeIn\\comma\\\\quot\\MMddyyyyHHmm\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\formatDate(tTimeOut\\comma\\\\quot\\MMddyyyyHHmm\\quot\\)//crlf////tab////tab////tab////tab//arrayAdd(a\\comma\\s)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////initialize hashtables used to record the sales\\comma\\ total comps/discounts and charge tips//crlf////tab////tab////tab////The key is the absolute record number in the daily labor file//crlf////tab////tab////tab//hashCreate(hashSales)//crlf////tab////tab////tab//hashCreate(hashComps)//crlf////tab////tab////tab//hashCreate(hashChargeTips)//crlf////crlf////tab////tab////tab////read the check details driver\\comma\\ accumulating totals for each daily labor record//crlf////tab////tab////tab//driverSetFilter(drvCheckDetail\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(drvCheckDetail)//crlf//appendToLog(\\quot\\Reading check details.  c=\\quot\\\\plus\\c)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//iRecType=driverGetField(drvCheckDetail\\comma\\\\quot\\Rectype\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(isSubset(iRecType\\comma\\\\quot\\0\\comma\\2\\comma\\3\\comma\\10\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////get the amount//crlf////tab////tab////tab////tab////tab//dAmount=driverGetField(drvCheckDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////tab////rMatch is the absolute daily labor record in which the data will be recorded//crlf////tab////tab////tab////tab////tab//rMatch=-1//crlf////crlf////tab////tab////tab////tab////tab////see if the check header can be located//crlf////tab////tab////tab////tab////tab//sCheckNumber=driverGetField(drvCheckDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//if(hashContainsKey(hashCheckEmployee\\comma\\sCheckNumber))//crlf////tab////tab////tab////tab////tab////tab////a check header was found\\comma\\ so get the employee who closed the check and the//crlf////tab////tab////tab////tab////tab////tab////time the check was opened and closed//crlf////tab////tab////tab////tab////tab////tab//sEmployee=hashGet(hashCheckEmployee\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab////tab//tCheckOpen=hashGet(hashCheckTimeOpen\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab////tab//tCheckClose=hashGet(hashCheckTimeClose\\comma\\sCheckNumber)//crlf////crlf////tab////tab////tab////tab////tab////tab////look for a matching shift in the array of records read from the daily labor driver//crlf////tab////tab////tab////tab////tab////tab//cArray=arraySize(a)//crlf////tab////tab////tab////tab////tab////tab//nArray=0//crlf////tab////tab////tab////tab////tab////tab//while((rMatch<0) and (nArray<cArray))//crlf////tab////tab////tab////tab////tab////tab////tab//s=arrayGet(a\\comma\\nArray)//crlf////tab////tab////tab////tab////tab////tab////tab//if(startsWith(s\\comma\\sEmployee\\plus\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//r=getElement(s\\comma\\1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//tTimeIn=parseTime(getElement(s\\comma\\2\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\\\quot\\MMddyyyyHHmm\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//tTimeOut=parseTime(getElement(s\\comma\\3\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\\\quot\\MMddyyyyHHmm\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab//if((tCheckOpen>=tTimeIn) and (tCheckOpen<tTimeOut))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//rMatch=r//crlf////tab////tab////tab////tab////tab////tab////tab////tab//elseif((tCheckClose>=tTimeIn) and (tCheckClose<tTimeOut))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//rMatch=r//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//nArray\\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 no match was found\\comma\\ record the data in the first record for the employee//crlf////tab////tab////tab////tab////tab//if(rMatch<0)//crlf////tab////tab////tab////tab////tab////tab//cArray=arraySize(a)//crlf////tab////tab////tab////tab////tab////tab//nArray=0//crlf////tab////tab////tab////tab////tab////tab//while((rMatch<0) and (nArray<cArray))//crlf////tab////tab////tab////tab////tab////tab////tab//s=arrayGet(a\\comma\\nArray)//crlf////tab////tab////tab////tab////tab////tab////tab//if(startsWith(s\\comma\\sEmployee\\plus\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//r=getElement(s\\comma\\1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//rMatch=r//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//nArray\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//endif//crlf//appendToLog(\\quot\\n=\\quot\\\\plus\\n\\plus\\\\quot\\ Amount=\\quot\\\\plus\\dAmount\\plus\\\\quot\\ RecType=\\quot\\\\plus\\iRecType\\plus\\\\quot\\ rMatch=\\quot\\\\plus\\rMatch)//crlf////tab////tab////tab////tab////tab////accumulate the amount in the appropriate hashtable//crlf////tab////tab////tab////tab////tab//if(rMatch>=0)//crlf////tab////tab////tab////tab////tab////tab//if(iRecType=10)//crlf////tab////tab////tab////tab////tab////tab////tab////update charge tips//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////add the previous total if an element already exists in the hashtable for the //crlf////tab////tab////tab////tab////tab////tab////tab////given record//crlf////tab////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hashChargeTipe\\comma\\rMatch))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//dAmount=dAmount\\plus\\hashGet(hashChargeTipe\\comma\\rMatch)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////record the updated total//crlf////tab////tab////tab////tab////tab////tab////tab//hashPut(hashChargeTipe\\comma\\rMatch\\comma\\dAmount)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////select the hashtable to update//crlf////tab////tab////tab////tab////tab////tab////tab//h=if(iRecType=0\\comma\\\\quot\\hashSales\\quot\\\\comma\\\\quot\\hashComps\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////break the amount into cash and charge based on the tender type(s)//crlf////tab////tab////tab////tab////tab////tab////tab//dCashAmount=0//crlf////tab////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hashTender\\comma\\sCheckNumber))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////get the tendered amounts.  This is in the form cash\\comma\\charge//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s-hashGet(hashTender\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//d1=getElement(s\\comma\\0)//tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab//d2=getElement(s\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(d2=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dCashAmount=dAmount//crlf////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dCashAmount=dAmount*(d1/(d1\\plus\\d2))//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//dChargeAmount=dAmount-dCashAmount//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////add the previous total if an element already exists in the hashtable for the //crlf////tab////tab////tab////tab////tab////tab////tab////given record//crlf////tab////tab////tab////tab////tab////tab////tab//s=\\quot\\0\\comma\\0\\comma\\0\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//if(hashContainsKey(h\\comma\\rMatch))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s=getElement(h\\comma\\rMatch)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//dPreviousAmount=getElement(s\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab//dPreviousCash=getElement(s\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab////tab//dPreviousCharge=getElement(s\\comma\\2)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////record the updated total//crlf////tab////tab////tab////tab////tab////tab////tab//s-(dPreviousAmount\\plus\\dAmount\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\(dPreviousCash\\plus\\dCashAmount)\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\(dPreviousCharge\\plus\\dChargeAmount)//crlf////tab////tab////tab////tab////tab////tab////tab//hashPut(h\\comma\\rMatch\\comma\\s)//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////get the POS type for the store.  Charge sales are imported from the Aloha timeclock//crlf////tab////tab////tab////and should not be overwritten by this routine//crlf////tab////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_by_Store_ID\\comma\\sStoreID)//crlf////crlf////tab////tab////tab////write all hashtables to the daily labor driver.  Clear records for which no data//crlf////tab////tab////tab////exists//crlf//appendToLog(\\quot\\Writing totals to daily labor\\quot\\)//crlf////tab////tab////tab//c=driverGetRecordCount(drvLaborDetail)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//r=driverGetAbsoluteIndex(drvLaborDetail\\comma\\n)//crlf////crlf////tab////tab////tab////tab////get the sales amounts//tab////tab////tab////tab////crlf////tab////tab////tab////tab//s=\\quot\\0\\comma\\0\\comma\\0\\quot\\//crlf////tab////tab////tab////tab//if(hashContainsKey(hashSales\\comma\\r))//crlf////tab////tab////tab////tab////tab//s=hashGet(hashSales\\comma\\r)//crlf////tab////tab////tab////tab//emdof//crlf////tab////tab////tab////tab//dTtlSales=getElement(s\\comma\\0)//crlf////tab////tab////tab////tab//dCashSales=getElement(s\\comma\\1)//crlf////tab////tab////tab////tab//dChargeSales=getElement(s\\comma\\2)//crlf////crlf////tab////tab////tab////tab////get the comp/discount amounts//crlf////tab////tab////tab////tab//s=\\quot\\0\\comma\\0\\comma\\0\\quot\\//crlf////tab////tab////tab////tab//if(hashContainsKey(hashComps\\comma\\r))//crlf////tab////tab////tab////tab////tab//s=hashGet(hashComps\\comma\\r)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dTtlComps=getElement(s\\comma\\0)//crlf////tab////tab////tab////tab//dCashComps=getElement(s\\comma\\1)//crlf////tab////tab////tab////tab//dChargeComps=getElement(s\\comma\\2)//crlf////tab////tab////tab////crlf////tab////tab////tab////tab////deduct the cash and charge comps from the sales to get cash and charge //crlf////tab////tab////tab////tab////sales less discounts//crlf////tab////tab////tab////tab//dCashSalesLessComps=dCashSales-dCashComps//crlf////tab////tab////tab////tab//dChargeSalesLessComps=dChargeSales-dChargeComps//crlf////crlf////tab////tab////tab////tab////get the charge tip amount//crlf////tab////tab////tab////tab//dChargeTips=if(hashContainsKey(hashChargeTipe\\comma\\r)\\comma\\hashGet(hashChargeTipe\\comma\\r)\\comma\\0)//crlf////crlf////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\ActTtlSales\\quot\\\\comma\\r\\comma\\dSales)//crlf////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\AppTtlSales\\quot\\\\comma\\r\\comma\\dSales)//crlf////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\ActComps\\quot\\\\comma\\r\\comma\\dComps)//crlf////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\AppComps\\quot\\\\comma\\r\\comma\\dComps)//crlf////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\ActCashSls\\quot\\\\comma\\r\\comma\\dCashSalesLessComps)//crlf////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\AppCashSls\\quot\\\\comma\\r\\comma\\dCashSalesLessComps)//crlf////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\ActChgSls\\quot\\\\comma\\r\\comma\\dChargeSalesLessComps)//crlf////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\AppChgSls\\quot\\\\comma\\r\\comma\\dChargeSalesLessComps)//crlf////crlf////tab////tab////tab////tab//if((sPOSType<>\\quot\\Aloha\\quot\\) and (sPOSType<>\\quot\\Softtouch\\quot\\))//crlf////tab////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\ActChgTip\\quot\\\\comma\\r\\comma\\dChargeTips)//crlf////tab////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\AppChgTip\\quot\\\\comma\\r\\comma\\dChargeTips)//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(drvCheckDetail)//crlf////tab////tab////tab//driverClose(drvLaborDetail)//crlf////tab////crlf////tab////tab////tab//return(\\quot\\Complete\\quot\\)//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////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=837702|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=580677|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=580677|X=183|Y=229|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=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_Update Daily Labor Sales and Tips\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Update Daily Labor Sales and Tips\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 04-15-2016 18:15: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\\oi85fK8kFTQDVVcRTsBH6W5i_Update Daily Labor Sales and Tips\\comma\\AgentTerminate\\comma\\580677\\comma\\2\\comma\\//crlf////tab////tab//scriptSetResult(2)//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;04152016//amp//nbsp;181556//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_Update//amp//nbsp;Daily//amp//nbsp;Labor//amp//nbsp;Sales//amp//nbsp;and//amp//nbsp;Tips\\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-2016//amp//nbsp;18:15: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=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>04152016 181556</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\\chart580677\\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>Update Daily Labor Sales and Tips</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: 143px; left: 118px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart580677\\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="Labor Detail" group="Agents" category="" description="Contains actions used to import daily labor and to calculate charge sales and tips." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Labor Detail" modified="10-10-2024 21:41:40" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=04-21-2024 02:18:33: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=84|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Labor Detail.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=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\\'616668')\\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\\'268897')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=616668|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_oi85fK8kFTQDVVcRTsBH6W5i_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=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_oi85fK8kFTQDVVcRTsBH6W5i_Labor Detail.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Labor Detail\\comma\\importDailyLabor\\comma\\action_list\\comma\\Action=importDailyLabor\\comma\\private//crlf////tab//Labor Detail\\comma\\updateDailyLaborSalesAndTips\\comma\\action_list\\comma\\Action=updateDailyLaborSalesAndTips\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//importDailyLabor//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importDailyLabor\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Imports a day of labor from the POS system.//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 imported (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\\importDailyLabor\\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 Store ID\\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//sParams=\\quot\\DataType=timeclock\\amp\\StoreID=__StoreID__\\amp\\Date=__Date__\\quot\\//crlf////tab////tab////tab//s=execAgentAction(\\quot\\synchPOSData\\quot\\\\comma\\sParams)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//updateDailyLaborSalesAndTips//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateDailyLaborSalesAndTips\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Records total sales\\comma\\ charge tips\\comma\\ comps \\amp\\ discounts in the daily labor file//crlf////tab////tab//by reading records from the check detail file.  This is called in the dependent driver //crlf////tab////tab//update expression of the POS_Generic_Labor_Detail_Dta driver.//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 calculated//crlf////tab////tab//ForceImport=Optional.  This action will be aborted if sales and tips have already //crlf////tab////tab////tab//been imported for the day.  A non-zero net sales in any record indicates that sales/tips//crlf////tab////tab////tab//have already been imported.  If ForceImport is true\\comma\\ the action will not be aborted.//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\\updateDailyLaborSalesAndTips\\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 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////tab////crlf////tab////tab////tab////abort if pos type is Simphony.  These tips are imported from the pay.txt file//crlf////tab////tab////tab//if(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\simphony\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Aborted because POS type is Simphony\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab////tab//sStoreDir=getStoreDir(sStoreID)//crlf////tab////tab////tab//sDate=\\quot\\__Date__\\quot\\//crlf////tab////tab////tab//Dt=parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//bForceImport=if(defined(\\quot\\__ForceImport__\\quot\\)\\comma\\boolean(\\quot\\__ForceImport__\\quot\\)\\comma\\false)//crlf////crlf////tab////tab////tab////see if sales and tips have already been imported//crlf////tab////tab////tab//s=getCollection(POS_Generic_Labor_Detail_Lookup_Net_Sales_by_Employee\\comma\\\\quot\\not(ActNetSales=0)\\quot\\\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~NoDepend\\quot\\)//crlf////tab////tab////tab//bImported=len(trim(s))>0//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\bImported=\\quot\\\\plus\\bImported\\plus\\\\quot\\ bForceImport=\\quot\\\\plus\\bForceImport)//crlf////tab////tab////tab//appendToLog(\\quot\\s=\\quot\\\\plus\\s)//crlf////crlf////tab////tab////tab////abort if data has already been imported and ForceImport is not true//crlf////tab////tab////tab//if((bImported) and (not(bForceImport)))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Aborting import of sales and tips because data has already been importd\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Aborted because sales and tips have already been imported\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////abort if already executing//crlf////tab////tab////tab//if(scriptCount(this\\comma\\\\quot\\(sStoreID=\\quot\\\\plus\\quote(sStoreID)\\plus\\\\quot\\) and (sDate=\\quot\\\\plus\\sDate\\plus\\\\quot\\)\\quot\\)>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 the check details file is missing//crlf////tab////tab////tab//s=sStoreDir\\plus\\\\quot\\ckd.\\quot\\\\plus\\sDate\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab//if(not(fileExists(s)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Cannot locate \\quot\\\\plus\\s)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the daily labor file is missing//crlf////tab////tab////tab//s=sStoreDir\\plus\\\\quot\\lbr.\\quot\\\\plus\\sDate\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab//if(not(fileExists(s)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Cannot locate \\quot\\\\plus\\s)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sOutput=\\quot\\\\quot\\//crlf//sOutputFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\SalesAndTipsImport.$$$\\quot\\//crlf//fileWriteContent(sOutputFilename\\comma\\sOutput)//crlf////crlf////tab////tab////tab////create hashtables containing the open and close time for each check number//crlf////tab////tab////tab////hashCheckTimeOpen - check open time by check number//crlf////tab////tab////tab////hashCheckTimeClose - check close time by check number//crlf////tab////tab////tab////hashCheckEmployee - check employee by check number//crlf////tab////tab////tab//hashCreate(hashCheckTimeOpen)//crlf////tab////tab////tab//hashCreate(hashCheckTimeClose)//crlf////tab////tab////tab//hashCreate(hashCheckEmployee)//crlf////tab////tab////tab//driverOpen(POS_Generic_Check_Header_Dta\\comma\\drvCheckHeader\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\~~pipe~~Date=\\quot\\\\plus\\sDate)//crlf////tab////tab////tab//driverSetFilter(drvCheckHeader\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(drvCheckHeader)//crlf//sOutput=sOutput\\plus\\\\quot\\Creating check header hashtables c=\\quot\\\\plus\\c\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sCheckNumber=driverGetField(drvCheckHeader\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//tCheckOpen=driverGetField(drvCheckHeader\\comma\\\\quot\\Time_Open\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//tCheckClose=driverGetField(drvCheckHeader\\comma\\\\quot\\Time_Close\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sEmployeePOSID=driverGetField(drvCheckHeader\\comma\\\\quot\\Emp_Close\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//hashPut(hashCheckTimeOpen\\comma\\sCheckNumber\\comma\\tCheckOpen)//crlf////tab////tab////tab////tab//hashPut(hashCheckTimeClose\\comma\\sCheckNumber\\comma\\tCheckClose)//crlf////tab////tab////tab////tab//hashPut(hashCheckEmployee\\comma\\sCheckNumber\\comma\\sEmployeePOSID)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(drvCheckHeader)//crlf////crlf////tab////tab////tab////open the check detail driver//crlf////tab////tab////tab//driverOpen(POS_Generic_Check_Detail_Dta\\comma\\drvCheckDetail\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\~~pipe~~Date=\\quot\\\\plus\\sDate)//crlf////crlf////tab////tab////tab////create a hashtable of tenders by check number.  The key is the check number and the//crlf////tab////tab////tab////value is the tendered amount broken down into cash and charge amounts.  The format of //crlf////tab////tab////tab////the value is Cash Tender\\comma\\Charge Tender.  E.g. a check with $10 tendered in cash and //crlf////tab////tab////tab////$20 tendered in charge would be 19\\comma\\20.  This is used to split the sale amount when a //crlf////tab////tab////tab////check has more than one tender//crlf////tab////tab////tab//hashCreate(hashTender)//crlf////tab////tab////tab//driverSetFilter(drvCheckDetail\\comma\\\\quot\\Rectype=8\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(drvCheckDetail)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sCheckNumber=driverGetField(drvCheckDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sTenderID=driverGetField(drvCheckDetail\\comma\\\\quot\\Id1\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dAmount=driverGetField(drvCheckDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////get any previous amounts recorded//crlf////tab////tab////tab////tab//if(hashContainsKey(hashTender\\comma\\sCheckNumber))//crlf////tab////tab////tab////tab////tab//s=hashGet(hashTender\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab//dCashAmount=value(getElement(s\\comma\\0))//crlf////tab////tab////tab////tab////tab//dChargeAmount=value(getElement(s\\comma\\1))//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//dCashAmount=0//crlf////tab////tab////tab////tab////tab//dChargeAmount=0//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////update the cash or charge total with the current amount//crlf////tab////tab////tab////tab//bIsCash=boolean(lookup(POS_Generic_Lookup_Tender_Is_Cash_By_Tender_POS_Id\\comma\\sTenderID\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//if(bIsCash)//crlf////tab////tab////tab////tab////tab//dCashAmount=dCashAmount\\plus\\dAmount//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//dChargeAmount=dChargeAmount\\plus\\dAmount//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//hashPut(hashTender\\comma\\sCheckNumber\\comma\\dCashAmount\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\dChargeAmount)//crlf//sOutput=sOutput\\plus\\\\quot\\Added tender ID: \\quot\\\\plus\\sTenderID\\plus\\\\quot\\ Is Cash: \\quot\\\\plus\\bIsCash\\plus\\\\quot\\ Check: \\quot\\\\plus\\sCheckNumber\\plus\\\\quot\\ value: \\quot\\\\plus\\hashGet(hashTender\\comma\\sCheckNumber)\\plus\\char(13)\\plus\\char(10)//crlf////crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////open the daily labor driver//crlf////tab////tab////tab//driverOpen(POS_Generic_Labor_Detail_Dta\\comma\\drvLaborDetail\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Nodepend~~pipe~~StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\~~pipe~~Date=\\quot\\\\plus\\sDate)//crlf////tab////tab////tab//driverSetFilter(drvLaborDetail\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////create an array containing information about each shift.  The array consists of elements//crlf////tab////tab////tab////in the form://crlf////tab////tab////tab////employee POS number~~pipe~~Absolute Record Number~~pipe~~Time In~~pipe~~Time Out//crlf////tab////tab////tab//arrayCreate(a)//crlf////tab////tab////tab//c=driverGetRecordCount(drvLaborDetail)//crlf//sOutput=sOutput\\plus\\\\quot\\Creating daily labor array.  c-\\quot\\\\plus\\c\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//r=driverGetAbsoluteIndex(drvLaborDetail\\comma\\n)//crlf////tab////tab////tab////tab//sEmployeePOSID=driverGetField(drvLaborDetail\\comma\\\\quot\\Employee\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//tTimeIn=driverGetField(drvLaborDetail\\comma\\\\quot\\ActTimeIn\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//tTimeOut=driverGetField(drvLaborDetail\\comma\\\\quot\\ActTimeOut\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//s=sEmployeePOSID\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\r\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\formatDate(tTimeIn\\comma\\\\quot\\MMddyyyyHHmm\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\formatDate(tTimeOut\\comma\\\\quot\\MMddyyyyHHmm\\quot\\)//crlf////tab////tab////tab////tab//arrayAdd(a\\comma\\s)//crlf//sOutput=sOutput\\plus\\\\quot\\Added record: \\quot\\\\plus\\s\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////initialize hashtables used to record the sales\\comma\\ total comps/discounts and charge tips//crlf////tab////tab////tab////The key is the absolute record number in the daily labor file//crlf////tab////tab////tab//hashCreate(hashSales)//crlf////tab////tab////tab//hashCreate(hashComps)//crlf////tab////tab////tab//hashCreate(hashChargeTips)//crlf////crlf////tab////tab////tab////read the check details driver\\comma\\ accumulating totals for each daily labor record//crlf////tab////tab////tab//driverSetFilter(drvCheckDetail\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(drvCheckDetail)//crlf////crlf//sOutput=sOutput\\plus\\\\quot\\Reading check details.  c=\\quot\\\\plus\\c\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////get the record type and amount//crlf////tab////tab////tab////tab//dAmount=driverGetField(drvCheckDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//iRecType=driverGetField(drvCheckDetail\\comma\\\\quot\\Rectype\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab//if((dAmount<>0) and (isSubset(iRecType\\comma\\\\quot\\0\\comma\\2\\comma\\3\\comma\\10\\quot\\)))//crlf////tab////tab////tab////tab////tab////rMatch is the absolute daily labor record in which the data will be recorded//crlf////tab////tab////tab////tab////tab//rMatch=-1//crlf////crlf////tab////tab////tab////tab////tab////see if the check header can be located//crlf////tab////tab////tab////tab////tab//sCheckNumber=driverGetField(drvCheckDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//if(hashContainsKey(hashCheckEmployee\\comma\\sCheckNumber))//crlf////tab////tab////tab////tab////tab////tab////a check header was found\\comma\\ so get the employee who closed the check and the//crlf////tab////tab////tab////tab////tab////tab////time the check was opened and closed//crlf////tab////tab////tab////tab////tab////tab//sEmployee=hashGet(hashCheckEmployee\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab////tab//tCheckOpen=hashGet(hashCheckTimeOpen\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab////tab//tCheckClose=hashGet(hashCheckTimeClose\\comma\\sCheckNumber)//crlf////crlf////tab////tab////tab////tab////tab////tab////look for a matching shift in the array of records read from the daily labor driver//crlf////tab////tab////tab////tab////tab////tab//cArray=arraySize(a)//crlf////tab////tab////tab////tab////tab////tab//nArray=0//crlf////tab////tab////tab////tab////tab////tab//while((rMatch<0) and (nArray<cArray))//crlf////tab////tab////tab////tab////tab////tab////tab//s=arrayGet(a\\comma\\nArray)//crlf////tab////tab////tab////tab////tab////tab////tab//if(startsWith(s\\comma\\sEmployee\\plus\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//r=getElement(s\\comma\\1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//tTimeIn=parseTime(getElement(s\\comma\\2\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\\\quot\\MMddyyyyHHmm\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//tTimeOut=parseTime(getElement(s\\comma\\3\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\\\quot\\MMddyyyyHHmm\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////if((tCheckOpen>=tTimeIn) and (tCheckOpen<tCheckClose))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//////tab//rMatch=r//crlf////tab////tab////tab////tab////tab////tab////tab////tab////elseif((tCheckClose>=tTimeIn) and (tCheckClose<tCheckClose))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//////tab//rMatch=r//crlf////tab////tab////tab////tab////tab////tab////tab////tab////endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab//if((tCheckOpen>=tTimeIn) and (tCheckOpen<tTimeOut))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//rMatch=r//crlf////tab////tab////tab////tab////tab////tab////tab////tab//elseif((tCheckClose>=tTimeIn) and (tCheckClose<tTimeOut))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//rMatch=r//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//nArray\\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 no match was found\\comma\\ record the data in the first record for the employee//crlf////tab////tab////tab////tab////tab//if(rMatch<0)//crlf////tab////tab////tab////tab////tab////tab//sEmployee=driverGetField(drvCheckDetail\\comma\\\\quot\\Employee\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//cArray=arraySize(a)//crlf////tab////tab////tab////tab////tab////tab//nArray=0//crlf////tab////tab////tab////tab////tab////tab//while((rMatch<0) and (nArray<cArray))//crlf////tab////tab////tab////tab////tab////tab////tab//s=arrayGet(a\\comma\\nArray)//crlf////tab////tab////tab////tab////tab////tab////tab//if(startsWith(s\\comma\\sEmployee\\plus\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//r=getElement(s\\comma\\1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//rMatch=r//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//nArray\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//endif//crlf//sOutput=sOutput\\plus\\\\quot\\n=\\quot\\\\plus\\n\\plus\\\\quot\\ Employee=\\quot\\\\plus\\sEmployee\\plus\\\\quot\\ Amount=\\quot\\\\plus\\dAmount\\plus\\\\quot\\ RecType=\\quot\\\\plus\\iRecType\\plus\\\\quot\\ rMatch=\\quot\\\\plus\\rMatch\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////accumulate the amount in the appropriate hashtable//crlf////tab////tab////tab////tab////tab//if(rMatch>=0)//crlf////tab////tab////tab////tab////tab////tab//if(iRecType=10)//crlf////tab////tab////tab////tab////tab////tab////tab////update charge tips//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////add the previous total if an element already exists in the hashtable for the //crlf////tab////tab////tab////tab////tab////tab////tab////given record//crlf////tab////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hashChargeTips\\comma\\rMatch))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//dAmount=dAmount\\plus\\value(hashGet(hashChargeTips\\comma\\rMatch))//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////record the updated total//crlf////tab////tab////tab////tab////tab////tab////tab//hashPut(hashChargeTips\\comma\\rMatch\\comma\\dAmount)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////select the hashtable to update//crlf////tab////tab////tab////tab////tab////tab////tab//h=if(iRecType=0\\comma\\\\quot\\hashSales\\quot\\\\comma\\\\quot\\hashComps\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////break the amount into cash and charge based on the tender type(s)//crlf////tab////tab////tab////tab////tab////tab////tab//dCashAmount=0//crlf////tab////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hashTender\\comma\\sCheckNumber))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////get the tendered amounts.  This is in the form cash\\comma\\charge//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s=hashGet(hashTender\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//d1=value(getElement(s\\comma\\0))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//d2=value(getElement(s\\comma\\1))//crlf//sOutput=sOutput\\plus\\\\quot\\d1=\\quot\\\\plus\\d1\\plus\\\\quot\\ d2=\\quot\\\\plus\\d2\\plus\\\\quot\\ s=\\quot\\\\plus\\s\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(d2=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dCashAmount=dAmount//crlf////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dCashAmount=dAmount*(d1/(d1\\plus\\d2))//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//dChargeAmount=dAmount-dCashAmount//crlf//sOutput=sOutput\\plus\\\\quot\\dAmount=\\quot\\\\plus\\dAmount\\plus\\\\quot\\ dChargeAmount=\\quot\\\\plus\\dChargeAmount\\plus\\\\quot\\ dCashAmount=\\quot\\\\plus\\dCashAmount\\plus\\char(13)\\plus\\char(10)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////add the previous total if an element already exists in the hashtable for the //crlf////tab////tab////tab////tab////tab////tab////tab////given record//crlf////tab////tab////tab////tab////tab////tab////tab//s=\\quot\\0\\comma\\0\\comma\\0\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//if(hashContainsKey(h\\comma\\rMatch))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s=hashGet(h\\comma\\rMatch)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//dPreviousAmount=value(getElement(s\\comma\\0))//crlf////tab////tab////tab////tab////tab////tab////tab//dPreviousCash=value(getElement(s\\comma\\1))//crlf////tab////tab////tab////tab////tab////tab////tab//dPreviousCharge=value(getElement(s\\comma\\2))//crlf//sOutput=sOutput\\plus\\\\quot\\Previous s=\\quot\\\\plus\\s\\plus\\\\quot\\ dPreviousAmount=\\quot\\\\plus\\dPreviousAmount\\plus\\\\quot\\ dPreviousCash=\\quot\\\\plus\\dPreviousCash\\plus\\\\quot\\ dPreviousCharge=\\quot\\\\plus\\dPreviousCharge\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab////tab////record the updated total//crlf////tab////tab////tab////tab////tab////tab////tab//s=(dPreviousAmount\\plus\\dAmount)\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\(dPreviousCash\\plus\\dCashAmount)\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\(dPreviousCharge\\plus\\dChargeAmount)//crlf//hPrev=hashGet(h\\comma\\rMatch)//crlf////tab////tab////tab////tab////tab////tab////tab//hashPut(h\\comma\\rMatch\\comma\\s)//crlf//sOutput=sOutput\\plus\\\\quot\\Updated h=\\quot\\\\plus\\h\\plus\\\\quot\\ Record=\\quot\\\\plus\\rMatch\\plus\\\\quot\\ value=\\quot\\\\plus\\hashGet(h\\comma\\rMatch)\\plus\\\\quot\\ Prev=\\quot\\\\plus\\hPrev\\plus\\char(13)\\plus\\char(10)//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//if(len(sOutput)>1024)//crlf////tab//fileWriteContent(sOutputFilename\\comma\\sOutput\\comma\\true)//crlf////tab//sOutput=\\quot\\\\quot\\//crlf//endif//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////get the POS type for the store.  Charge sales are imported from the Aloha timeclock//crlf////tab////tab////tab////and should not be overwritten by this routine//crlf////tab////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_by_Store_ID\\comma\\sStoreID)//crlf////crlf////tab////tab////tab////write all hashtables to the daily labor driver.  Clear records for which no data//crlf////tab////tab////tab////exists//crlf//sOutput=sOutput\\plus\\\\quot\\Writing totals to daily labor\\quot\\\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab//c=driverGetRecordCount(drvLaborDetail)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//r=driverGetAbsoluteIndex(drvLaborDetail\\comma\\n)//crlf////crlf////tab////tab////tab////tab////get the sales amounts//tab////tab////tab////tab////crlf////tab////tab////tab////tab//s=\\quot\\0\\comma\\0\\comma\\0\\quot\\//crlf////tab////tab////tab////tab//if(hashContainsKey(hashSales\\comma\\r))//crlf////tab////tab////tab////tab////tab//s=hashGet(hashSales\\comma\\r)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dTtlSales=value(getElement(s\\comma\\0))//crlf////tab////tab////tab////tab//dCashSales=value(getElement(s\\comma\\1))//crlf////tab////tab////tab////tab//dChargeSales=value(getElement(s\\comma\\2))//crlf//sOutput=sOutput\\plus\\\\quot\\Sales=\\quot\\\\plus\\s\\plus\\\\quot\\ dTtlSales=\\quot\\\\plus\\dTtlSales\\plus\\\\quot\\ dCashSales=\\quot\\\\plus\\dCashSales\\plus\\\\quot\\ dChargeSales=\\quot\\\\plus\\dChargeSales\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////get the comp/discount amounts//crlf////tab////tab////tab////tab//s=\\quot\\0\\comma\\0\\comma\\0\\quot\\//crlf////tab////tab////tab////tab//if(hashContainsKey(hashComps\\comma\\r))//crlf////tab////tab////tab////tab////tab//s=hashGet(hashComps\\comma\\r)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dTtlComps=value(getElement(s\\comma\\0))//crlf////tab////tab////tab////tab//dCashComps=value(getElement(s\\comma\\1))//crlf////tab////tab////tab////tab//dChargeComps=value(getElement(s\\comma\\2))//crlf////tab////tab////tab////crlf////tab////tab////tab////tab////deduct the cash and charge comps from the sales to get cash and charge //crlf////tab////tab////tab////tab////sales less discounts//crlf////tab////tab////tab////tab//dCashSalesLessComps=dCashSales-dCashComps//crlf////tab////tab////tab////tab//dChargeSalesLessComps=dChargeSales-dChargeComps//crlf////crlf////tab////tab////tab////tab////get the charge tip amount//crlf////tab////tab////tab////tab//dChargeTips=if(hashContainsKey(hashChargeTips\\comma\\r)\\comma\\hashGet(hashChargeTips\\comma\\r)\\comma\\0)//crlf////crlf////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\ActTtlSales\\quot\\\\comma\\r\\comma\\dTtlSales)//crlf////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\AppTtlSales\\quot\\\\comma\\r\\comma\\dTtlSales)//crlf////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\ActComps\\quot\\\\comma\\r\\comma\\dTtlComps)//crlf////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\AppComps\\quot\\\\comma\\r\\comma\\dTtlComps)//crlf////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\ActCashSls\\quot\\\\comma\\r\\comma\\dCashSalesLessComps)//crlf////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\AppCashSls\\quot\\\\comma\\r\\comma\\dCashSalesLessComps)//crlf////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\ActChgSls\\quot\\\\comma\\r\\comma\\dChargeSalesLessComps)//crlf////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\AppChgSls\\quot\\\\comma\\r\\comma\\dChargeSalesLessComps)//crlf////crlf////tab////tab////tab////tab//if((sPOSType<>\\quot\\Aloha\\quot\\) and (sPOSType<>\\quot\\Softtouch\\quot\\) and (sPOSType<>\\quot\\positouch\\quot\\) and (sPOSType<>\\quot\\heartland\\quot\\))//crlf////tab////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\ActChgTip\\quot\\\\comma\\r\\comma\\dChargeTips)//crlf////tab////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\AppChgTip\\quot\\\\comma\\r\\comma\\dChargeTips)//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 Micros3700\\comma\\ remove duplicate cash tips from double shifts.  The charge tips will be //crlf////tab////tab////tab////correct because they are calculated from the check details\\comma\\ but the same total cash tips //crlf////tab////tab////tab////for the day will be recorded in every record//crlf////tab////tab////tab//appendToLog(\\quot\\sPosType=\\quot\\\\plus\\sPosType)//crlf////tab////tab////tab//if(sPosType=\\quot\\Micros3700\\quot\\)//crlf////tab////tab////tab////tab////count the number of shifts worked by each employee.  This is recorded in a hashtable //crlf////tab////tab////tab////tab////with the employee number as the key and the number of shifts as the value//crlf////tab////tab////tab////tab//hashCreate(hShiftCount)//crlf////crlf////tab////tab////tab////tab//c=driverGetRecordCount(drvLaborDetail)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//iEmployee=driverGetField(drvLaborDetail\\comma\\\\quot\\Employee\\quot\\\\comma\\n)//crlf////appendToLog(\\quot\\iEmployee1=\\quot\\\\plus\\iEmployee\\plus\\\\quot\\ n=\\quot\\\\plus\\n\\plus\\\\quot\\ Used=\\quot\\\\plus\\driverGetField(drvLaborDetail\\comma\\\\quot\\Used\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//cShift=0//crlf////tab////tab////tab////tab////tab//if(hashContainsKey(hShiftCount\\comma\\iEmployee))//crlf////tab////tab////tab////tab////tab////tab//cShift=hashGet(hShiftCount\\comma\\iEmployee)//crlf////tab////tab////tab////tab////tab//endif//crlf////appendToLog(\\quot\\cShift=\\quot\\\\plus\\(cShift\\plus\\1))//crlf////tab////tab////tab////tab////tab//hashPut(hShiftCount\\comma\\iEmployee\\comma\\cShift\\plus\\1)//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////crlf////tab////tab////tab////tab//arKeys=hashGetKeys(hShiftCount)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\arKeys=\\quot\\\\plus\\arKeys)//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//cShift=hashGet(hShiftCount\\comma\\sKey)//crlf////tab////tab////tab////tab////tab////only deal with double shifts//crlf////appendToLog(\\quot\\sKey=\\quot\\\\plus\\sKey\\plus\\\\quot\\ cShift=\\quot\\\\plus\\cShift)//crlf////tab////tab////tab////tab////tab//if(cShift>1)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\sKey=\\quot\\\\plus\\sKey)//crlf////crlf////tab////tab////tab////tab////tab////tab////see if there is a record for the employee that has charge tips//crlf////tab////tab////tab////tab////tab////tab//sFilter=\\quot\\(gt(ActChgTip\\comma\\0\\comma\\n)) and (Employee=\\quot\\\\plus\\sKey\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab////tab////tab////tab//r=driverFindRecord(drvLaborDetail\\comma\\0\\comma\\sFilter)//crlf////tab////tab////tab////tab////tab////tab//if(r>=0)//crlf////tab////tab////tab////tab////tab////tab////tab////leave the record containing the charge tips unchanged and clear declared tips//crlf////tab////tab////tab////tab////tab////tab////tab////from any other records//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Found record with charge tips: \\quot\\\\plus\\driverGetField(drvLaborDetail\\comma\\\\quot\\ID\\quot\\\\comma\\r))//crlf////tab////tab////tab////tab////tab////tab////tab//c1=driverGetRecordCount(drvLaborDetail)//crlf////tab////tab////tab////tab////tab////tab////tab//n1=0//crlf////tab////tab////tab////tab////tab////tab////tab//while(n1<c1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//iEmployee=driverGetField(drvLaborDetail\\comma\\\\quot\\Employee\\quot\\\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if((iEmployee=sKey) and (n1<>r))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\ActDeclTip\\quot\\\\comma\\n1\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\AppDeclTip\\quot\\\\comma\\n1\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Emp: \\quot\\\\plus\\sKey\\plus\\\\quot\\ Clearing decltips from record: : \\quot\\\\plus\\driverGetField(drvLaborDetail\\comma\\\\quot\\ID\\quot\\\\comma\\n1))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//n1\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////leave the declared tips in the first record and remove it from the remainder//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Emp: \\quot\\\\plus\\sKey\\plus\\\\quot\\ Did not find record with charge tips\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//c1=driverGetRecordCount(drvLaborDetail)//crlf////tab////tab////tab////tab////tab////tab////tab//n1=0//crlf////tab////tab////tab////tab////tab////tab////tab//bIsFirst=true//crlf////tab////tab////tab////tab////tab////tab////tab//while(n1<c1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//iEmployee=driverGetField(drvLaborDetail\\comma\\\\quot\\Employee\\quot\\\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(iEmployee=sKey)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(bIsFirst)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Emp: \\quot\\\\plus\\sKey\\plus\\\\quot\\ Leaving decltips in record: : \\quot\\\\plus\\driverGetField(drvLaborDetail\\comma\\\\quot\\ID\\quot\\\\comma\\n1))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//bIsFirst=false//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\ActDeclTip\\quot\\\\comma\\n1\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(drvLaborDetail\\comma\\\\quot\\AppDeclTip\\quot\\\\comma\\n1\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Emp: \\quot\\\\plus\\sKey\\plus\\\\quot\\ Clearing decltips from record: : \\quot\\\\plus\\driverGetField(drvLaborDetail\\comma\\\\quot\\ID\\quot\\\\comma\\n1))//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////tab//n1\\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////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(drvCheckDetail)//crlf////tab////tab////tab//driverClose(drvLaborDetail)//crlf//fileWriteContent(sOutputFilename\\comma\\sOutput\\comma\\true)//crlf////tab////tab////tab//return(\\quot\\Ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>^
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=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=760964|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=760964|X=183|Y=203|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_Labor Detail\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Labor Detail\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 04-17-2016 10:49:15//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\\oi85fK8kFTQDVVcRTsBH6W5i_Labor Detail\\comma\\AgentTerminate\\comma\\760964\\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;04172016//amp//nbsp;104915//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_Labor//amp//nbsp;Detail\\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-17-2016//amp//nbsp;10:49:15</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=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>04172016 104915</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\\chart760964\\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>Labor Detail</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: 150px; left: 147px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart760964\\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=745461|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=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=126922|X=721|Y=17|W=614|H=313|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=execagentaction(\\quot\\updateDailyLaborSalesAndTips\\quot\\\\comma\\\\quot\\storeid=3W4tNKdOiCrEiEmbnnXOL4t8\\amp\\date=10-06-2024\\amp\\ForceImport=true\\quot\\)//crlf////tab//return(\\quot\\s=\\quot\\\\plus\\s)//crlf//\\quot\\>
</widget><widget name="Export Payroll" group="" category="Export" description="Includes scripts used to call the appropriate merge definition for a selected payroll export." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Export Payroll" modified="07-13-2024 21:12:33" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=04-21-2024 02:18:33: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=55|toolboxy=226|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Export Payroll.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=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\\'755414')\\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\\'165202')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=755414|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=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_oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll.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_oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Export Payroll\\comma\\importAspect6EarningsCodes\\comma\\action_list\\comma\\Action=importAspect6EarningsCodes\\comma\\private//crlf////tab//Export Payroll\\comma\\importAspect6EmployeeNumbers\\comma\\action_list\\comma\\Action=importAspect6EmployeeNumbers\\comma\\private//crlf////tab//Export Payroll\\comma\\exportPayroll\\comma\\action_list\\comma\\Action=exportPayroll\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//importAspect6EarningsCodes//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importAspect6EarningsCodes\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Imports job code earnings codes from Aspect6.  The job code name is used //crlf////tab////tab//as the key.  Any codes in Aspect7 will be overwritten.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Aspect7 Store ID//crlf////tab////tab//Aspect6StoreDir - Aspect6 store 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\\importAspect6EarningsCodes\\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////abort if missing Aspect7 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 Aspect6StoreDir//crlf////tab////tab////tab//if(undefined(\\quot\\__Aspect6StoreDir__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Aspect6StoreDir\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sAspect7StoreDir=getStoreDir(\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab//sAspect6StoreDir=\\quot\\__Aspect6StoreDir__\\quot\\//crlf////crlf////tab////tab////tab//sParams=\\quot\\MergeID=8mfkqAYM\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\SourceDriverParams=Filename=\\quot\\\\plus\\addDirSlash(sAspect6StoreDir)\\plus\\\\quot\\jobdef.dta\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\DestDriverParams=Filename=\\quot\\\\plus\\addDirSlash(sAspect7StoreDir)\\plus\\\\quot\\jobcode.bin\\quot\\//crlf////tab////tab////tab//s=execAgentAction(\\quot\\executeMergeDefinition\\quot\\\\comma\\sParams)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//importAspect6EmployeeNumbers//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importAspect6EmployeeNumbers\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Imports employee numbers from Aspect6 using the employee pos number as the key.//crlf////tab////tab//This allows numbers to be imported into Aspect7 even when the employee records//crlf////tab////tab//are not imported from Aspect6.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Aspect7 Store ID//crlf////tab////tab//Aspect6StoreDir - Aspect6 store 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\\importAspect6EmployeeNumbers\\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////abort if missing Aspect7 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 Aspect6StoreDir//crlf////tab////tab////tab//if(undefined(\\quot\\__Aspect6StoreDir__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Aspect6StoreDir\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sAspect7StoreDir=getStoreDir(\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab//sAspect6StoreDir=\\quot\\__Aspect6StoreDir__\\quot\\//crlf////crlf////tab////tab////tab//sParams=\\quot\\MergeID=CI9lKEOw\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\SourceDriverParams=Filename=\\quot\\\\plus\\addDirSlash(sAspect6StoreDir)\\plus\\\\quot\\employee.def\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\DestDriverParams=Filename=\\quot\\\\plus\\addDirSlash(sAspect7StoreDir)\\plus\\\\quot\\employee.bin\\quot\\//crlf////tab////tab////tab//s=execAgentAction(\\quot\\executeMergeDefinition\\quot\\\\comma\\sParams)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//exportPayroll//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\exportPayroll\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Exports payroll to a selected format for a given store and time period//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//DateFrom - Start date//crlf////tab////tab//DateTo - End date//crlf////tab////tab//ExportFormat - Export format//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\\exportPayroll\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Export payroll StoreID=__StoreID__ DateFrom=__DateFrom__ DateTo=__DateTo__ ExportFormat=__ExportFormat__\\quot\\)//crlf////tab////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Verify all parameters//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////abort if already executing//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Aborting because another instance is already executing\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if StoreID is undefined//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 DateFrom is undefined//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 DateTo is undefined//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////if ExportFormat is undefined\\comma\\ get the exportformat from the store//crlf////tab////tab////tab//if((defined(\\quot\\__ExportFormat__\\quot\\)) and (len(\\quot\\__ExportFormat__\\quot\\)>0))//crlf////tab////tab////tab////tab//sExportFormat=\\quot\\__ExportFormat__\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sExportFormat=lookup(Aspect_BackOffice_Payroll_Export_Format_by_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if((len(sExportFormat)=0) or (sExportFormat=\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing ExportFormat StoreID=__StoreID__ Format=\\quot\\\\plus\\sExportFormat)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Set the merge definitions used to export the necessary data//crlf////tab////tab////tab////The destination driver and filename are recorded as each merge is done and//crlf////tab////tab////tab////this information is used to consolidate the exported files//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\ADP\\quot\\)//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\PMwiWLyO\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\Employee_POS_ID\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\(not(AppRegHours=0)) or (not(AppOvtHours=0)) or (not(AppTotalTips=0))\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\true\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\CoAdvantage\\quot\\)//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\Rc7Hnmc0\\comma\\sWG5cph1\\comma\\iOresjHI\\comma\\piDeJnMl\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\not(AppRegHours=0)~~pipe~~not(AppOvtHours=0)~~pipe~~not(AppNetSales=0)~~pipe~~not(AppTotalTips=0)\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\true~~pipe~~true~~pipe~~true~~pipe~~true\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\CreativeSolutions\\quot\\)//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\Ftn1Aryi\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\Employee_POS_ID\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\(not(AppRegHours=0)) or (not(AppOvtHours=0)) or (not(AppTotalTips=0))\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\true\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\Generic\\quot\\)//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\aeSzUhl3\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\(not(AppRegHours=0)) or (not(AppOvtHours=0)) or (not(AppTotalTips=0))\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\true\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\Evolution\\quot\\)//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\GrdnFlOg\\comma\\4n7CXvWy\\comma\\LhLWRzJo\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\not(AppRegHours=0)~~pipe~~not(AppOvtHours=0)~~pipe~~not(AppTotalTips=0)\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\true~~pipe~~true~~pipe~~true\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\Heartland\\quot\\)//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\OsVCHzBL\\comma\\bLQtXykP\\comma\\p3CqnX1x\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\not(AppRegHours=0)~~pipe~~not(AppOvtHours=0)~~pipe~~not(AppTotalTips=0)\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\true~~pipe~~true~~pipe~~true\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\Millennium\\quot\\)//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\4qNouHwJ\\comma\\hxCUxroE\\comma\\qmYo5J0L\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\Employee_POS_ID~~pipe~~Employee_POS_ID~~pipe~~Employee_POS_ID\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\not(AppRegHours=0)~~pipe~~not(AppOvtHours=0)~~pipe~~not(AppTotalTips=0)\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\true~~pipe~~true~~pipe~~true\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\OldDominion\\quot\\)//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\8TcdBP4t\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\Employee_Payroll_Number\\comma\\Payroll_Job_No\\quot\\//crlf////tab////tab////tab////tab////arFilter=\\quot\\not(AppRegHours=0)~~pipe~~not(AppOvtHours=0)~~pipe~~not(AppTotalTips=0)\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\(not(AppRegHours=0)) or (not(AppOvtHours=0))\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\true\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\PaychexFlex\\quot\\)//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\kQl9J0mE\\comma\\fQQpHBXT\\comma\\6emf0Jzc\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\not(AppRegHours=0)~~pipe~~not(AppOvtHours=0)~~pipe~~not(AppTotalTips=0)\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\true~~pipe~~true~~pipe~~true\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\Paycom\\quot\\)//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\DSTslmAs\\comma\\Rf3JywoI\\comma\\qQCIKfPU\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\not(AppRegHours=0)~~pipe~~not(AppOvtHours=0)~~pipe~~not(AppTotalTips=0)\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\true~~pipe~~true~~pipe~~true\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\Paycor\\quot\\)//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\1KNzpJHi\\comma\\puGnPDeC\\comma\\HMaRAUsn\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\not(AppRegHours=0)~~pipe~~not(AppOvtHours=0)~~pipe~~not(AppTotalTips=0)\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\true~~pipe~~true~~pipe~~true\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\Paycor2019\\quot\\)//crlf////tab////tab////tab////tab////This export was added for Smokehouse BBQ.  See email 10-01-2019 from Hacky//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\rarwC5X7\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\Employee_Payroll_Number\\comma\\Payroll_Job_No\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\(not(AppRegHours=0)) or (not(AppOvtHours=0)) or (not(AppTotalTips=0))\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\true\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\Paycor2023\\quot\\)//crlf////tab////tab////tab////tab////This export was added for Smokehouse BBQ.  See email 02-07-2023 from Hacky//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\Rt5E3w1F\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\Employee_Payroll_Number\\comma\\Payroll_Job_No\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\(not(AppRegHours=0)) or (not(AppOvtHours=0)) or (not(AppTotalTips=0))\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\true\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\Paylocity\\quot\\)//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\1WzPIVZ1\\comma\\sDbBxPhL\\comma\\wSoWjFqb\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\Employee_POS_ID~~pipe~~Employee_POS_ID~~pipe~~Employee_POS_ID\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\not(AppRegHours=0)~~pipe~~not(AppOvtHours=0)~~pipe~~not(AppTotalTips=0)\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\true~~pipe~~true~~pipe~~true\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\Primepay\\quot\\)//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\YgFZiKNS\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\(not(AppRegHours=0)) or (not(AppOvtHours=0)) or (not(AppTotalTips=0))\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\true~~pipe~~true~~pipe~~true\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\sage\\quot\\)//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\k4YYIuH7\\comma\\K6Cy9tjK\\comma\\t4ImjnbF\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\not(AppRegHours=0)~~pipe~~not(AppOvtHours=0)~~pipe~~not(AppTotalTips=0)\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\true~~pipe~~true~~pipe~~true\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\Trupay\\quot\\)//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\MPtLBex7\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\(not(AppRegHours=0)) or (not(AppOvtHours=0))\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\false\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\Timeworks\\quot\\)//crlf////tab////tab////tab////tab//if(getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)=\\quot\\ALNl6wtZR9zZT17EQDlONkyg\\quot\\)//crlf////tab////tab////tab////tab////tab////Thirsty Moose.  Cash and charge tips are separated//crlf////tab////tab////tab////tab////tab//arMergeDef=\\quot\\Yii4nYhg\\quot\\//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Payroll export: Thirsty Moose\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////Granite Links//crlf////tab////tab////tab////tab////tab//arMergeDef=\\quot\\PT2jIS52\\quot\\//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Payroll export: Granite Links\\quot\\)//crlf////tab////tab////tab////tab//endif//tab////tab////tab////tab////crlf////tab////tab////tab////tab//arSort=\\quot\\Employee_Payroll_Number\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\(not(AppRegHours=0)) or (not(AppOvtHours=0))\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\false\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\CentralCoast\\quot\\)//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\BJbEjwvf\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\Employee_Payroll_Number\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\(not(AppRegHours=0)) or (not(AppOvtHours=0))~~pipe~~\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\false\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\Darwinet\\quot\\)//crlf////tab////tab////tab////tab////RegHrs\\comma\\ OvtHrs1\\comma\\ OvtHrs2\\comma\\ Tips\\comma\\ BreakMeal//crlf////tab////tab////tab////tab////OvtHrs2 is double-time hours//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\FkGWwFLm\\comma\\dXALgWhV\\comma\\MJlB01SY\\comma\\G8a1PgOz\\comma\\Q17tXAm7\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\Employee_POS_ID~~pipe~~Employee_POS_ID~~pipe~~Employee_POS_ID~~pipe~~Employee_POS_ID~~pipe~~Employee_POS_ID\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\not(AppRegHours=0)~~pipe~~not(Overtime_Hours_Not_Double_Time=0)~~pipe~~not(Overtime_Pay_Double_Time=0)~~pipe~~not(AppTotalTips=0)~~pipe~~not(Meal_Penalty=0)\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\true~~pipe~~true~~pipe~~true~~pipe~~true~~pipe~~true~~pipe~~\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\iSolved\\quot\\)//crlf////tab////tab////tab////tab//arMergeDef=\\quot\\T7oXmQHB\\quot\\//crlf////tab////tab////tab////tab//arSort=\\quot\\Employee_Payroll_Number\\quot\\//crlf////tab////tab////tab////tab//arFilter=\\quot\\(not(AppRegHours=0)) or (not(AppOvtHours=0))\\quot\\//crlf////tab////tab////tab////tab//arSubtotals=\\quot\\true\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//return(\\quot\\Error: Unrecognized export format: \\quot\\\\plus\\sExportFormat)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(len(arMergeDef)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: No merge definitions for format: \\quot\\\\plus\\sExportFormat)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Set final output filename and clear the contents //crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//sFinalOutputFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\labor_export_final.csv\\quot\\//crlf////tab////tab////tab//if(fileExists(sFinalOutputFilename))//crlf////tab////tab////tab////tab//fileSetLength(sFinalOutputFilename\\comma\\0)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////write the store ID and export format to a temp file.  This is used for debugging //crlf////tab////tab////tab////so the appropriate drivers can be used when viewing the export files in this widget.//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//s=\\quot\\__StoreID__~~pipe~~\\quot\\\\plus\\arMergeDef//crlf////tab////tab////tab//fileWriteContent(getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\labor_export_metadata.$$$\\quot\\\\comma\\s)//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////open the labor detail driver//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//sParams=\\quot\\DimensionalViewID=6VmnRdES\\quot\\//crlf////tab////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\DimDriverParams=StoreID=__StoreID__//power//From=__DateFrom__//power//To=__DateTo__\\quot\\//crlf////tab////tab////tab////tab//dLaborDetail=gw(\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\\\comma\\\\quot\\Dimensional Views\\quot\\\\comma\\\\quot\\630543\\quot\\\\comma\\sParams)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//dLaborDetail=openDimensionalDriver(\\quot\\6VmnRdES\\quot\\\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~From=__DateFrom__~~pipe~~To=__DateTo__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Daily Labor Detail absolute record count=\\quot\\\\plus\\driverGetRecordCount(dLaborDetail\\comma\\true))//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////export each merge definition.  Save the destination driverID and Merge //crlf////tab////tab////tab////definition name and filename so the consolidated driver can be opened.//crlf////tab////tab////tab////This information is also saved to a file to be used when opening tables//crlf////tab////tab////tab////to debug the export//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//cMerge=getElementCount(arMergeDef)//crlf////tab////tab////tab//nMerge=0//crlf////tab////tab////tab//while(nMerge<cMerge)//crlf////tab////tab////tab////tab//sMergeID=getElement(arMergeDef\\comma\\nMerge)//crlf////tab////tab////tab////tab//sSort=getElement(arSort\\comma\\nMerge\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sFilter=getElement(arFilter\\comma\\nMerge\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//bSubtotal=boolean(getElement(arSubtotals\\comma\\nMerge\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab//sFilter=\\quot\\(\\quot\\\\plus\\sFilter\\plus\\\\quot\\) and (not(AppJobCode=\\quot\\\\plus\\quote(\\quot\\0\\quot\\)\\plus\\\\quot\\)) and (not(len(AppJobCode)=0)) and (not(Do_Not_Export))\\quot\\//crlf////tab////tab////tab////tab//appendToLog(\\quot\\sFilter=\\quot\\\\plus\\sFilter)//crlf////crlf////tab////tab////tab////tab////set to subtotals only//crlf////tab////tab////tab////tab//if(bSubtotal)//crlf////tab////tab////tab////tab////tab//driverSetSubtotal(dLaborDetail\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\Calc_Store_ID~~pipe~~Employee~~pipe~~AppJobCode\\quot\\)//crlf////tab////tab////tab////tab////tab//driverSetDetails(dLaborDetail\\comma\\false)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////sort the driver//crlf////tab////tab////tab////tab//if(len(sSort)>0)//crlf////tab////tab////tab////tab////tab//driverSetSort(dLaborDetail\\comma\\sSort\\comma\\false)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////filter the driver//crlf////tab////tab////tab////tab//driverSetFilter(dLaborDetail\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Daily Labor Detail filtered record count=\\quot\\\\plus\\driverGetRecordCount(dLaborDetail))//crlf////crlf////tab////tab////tab////tab//sMergeName=lookup(Aspect_Merge_Definition_Name_by_ID\\comma\\sMergeID)//crlf////tab////tab////tab////tab//sMergeDestDriverID=lookup(Aspect_Merge_Definition_Dest_Driver_ID_by_ID\\comma\\sMergeID)//crlf////crlf////tab////tab////tab////tab//sFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\payroll_export_\\quot\\\\plus\\sMergeID\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//appendToLog(\\quot\\MergeID: \\quot\\\\plus\\sMergeID\\plus\\\\quot\\ MergeName: \\quot\\\\plus\\sMergeName\\plus\\\\quot\\ DriverID: \\quot\\\\plus\\sMergeDestDriverID\\plus\\\\quot\\ Filename: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab//sArgs=\\quot\\MergeID=\\quot\\\\plus\\sMergeID//crlf////tab////tab////tab////tab//sArgs=sArgs\\plus\\\\quot\\\\amp\\SourceDriver=\\quot\\\\plus\\dLaborDetail//crlf////tab////tab////tab////tab//sArgs=sArgs\\plus\\\\quot\\\\amp\\DestDriverParams=Filename=\\quot\\\\plus\\sFilename//crlf////tab////tab////tab////tab//s=execAgentAction(\\quot\\executeMergeDefinition\\quot\\\\comma\\sArgs)//crlf////tab////tab////tab////tab//appendToLog(s)//crlf////crlf////tab////tab////tab////tab////remove quotes around tab character in the export file//crlf////tab////tab////tab////tab//s=fileGetContent(sFilename)//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)\\plus\\char(9)\\plus\\char(0x22)\\comma\\char(9))//crlf////tab////tab////tab////tab//fileWriteContent(sFilename\\comma\\s)//crlf////crlf////tab////tab////tab////tab//nMerge\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////close the daily labor driver//crlf////tab////tab////tab////This is now moved to the end so the file is available for tudors processing below//crlf////tab////tab////tab////driverClose(dLaborDetail)//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////open a consolidated driver containing all outputs//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//sParams=\\quot\\MergeID=\\quot\\\\plus\\arMergeDef//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Labor_Export_Consolidated\\comma\\drvConsolidated\\comma\\READ\\comma\\true\\comma\\sParams)//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////sort and filter the consolidated driver//crlf////tab////tab////tab////Note: It may become necessary to specify a sort option for each export format//crlf////tab////tab////tab////The key for export can be expanded with additional fields as necessary to make //crlf////tab////tab////tab////the necessary fields available for sorting in the consolidated driver//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////driverSetSort(drvConsolidated\\comma\\\\quot\\EmployeeID\\comma\\RecType\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverSetSort(drvConsolidated\\comma\\\\quot\\Last_Name\\comma\\First_Name\\comma\\Time_In\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverSetFilter(drvConsolidated\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\********* consolidated driver record count=\\quot\\\\plus\\driverGetRecordCount(drvConsolidated)\\plus\\\\quot\\/\\quot\\\\plus\\driverGetRecordCount(drvConsolidated\\comma\\true))//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////merge the consolidated driver to the final output//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//sArgs=\\quot\\MergeID=WoC3aGFP\\quot\\//crlf////tab////tab////tab//sArgs=sArgs\\plus\\\\quot\\\\amp\\SourceDriver=\\quot\\\\plus\\drvConsolidated//crlf////tab////tab////tab//sArgs=sArgs\\plus\\\\quot\\\\amp\\DestDriverParams=Filename=\\quot\\\\plus\\sFinalOutputFilename//crlf////tab////tab////tab//s=execAgentAction(\\quot\\executeMergeDefinition\\quot\\\\comma\\sArgs)//crlf////tab////tab////tab//appendToLog(\\quot\\********* merge final: \\quot\\\\plus\\s)//crlf////crlf////tab////tab////tab////close the consolidated driver//crlf////tab////tab////tab//driverClose(drvConsolidated)//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//Remove leading and trailing quotes from all lines in the file//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sLine=getElement(s\\comma\\n\\comma\\char(10))//crlf////tab////tab////tab////tab//if(len(trim(sLine))>0)//crlf////tab////tab////tab////tab////tab//sLine=substring(sLine\\comma\\1\\comma\\len(sLine)-2)//crlf////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sLine\\plus\\char(10)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Perform any special handling of the final output//crlf////tab////tab////tab////Note: quotes around specific fields could be added here if necessary.//crlf////tab////tab////tab////Process the output line by line\\comma\\ using setElement() to set the value of //crlf////tab////tab////tab////selected elements to the current value plus surrounding quotes.//crlf////tab////tab////tab////=========================================================================//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Generic//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\generic\\quot\\)//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////tab////perform cleanup on each line//crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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(len(trim(sLine))>0)//crlf////tab////tab////tab////tab////tab////tab////format date as MM-dd-yy//crlf////tab////tab////tab////tab////tab////tab//sDate=getElement(sLine\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab//dt=parseTime(sDate\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\0\\comma\\formatDate(dt\\comma\\\\quot\\MM-dd-yy\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////remove quotes from employee number//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\1\\comma\\removeQuotes(getElement(sLine\\comma\\1)))//crlf////crlf////tab////tab////tab////tab////tab////tab////round numbers to 2 decimals//crlf////tab////tab////tab////tab////tab////tab//n1=5//crlf////tab////tab////tab////tab////tab////tab//while(n1<=13)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\n1\\comma\\formatNumber(value(getElement(sLine\\comma\\n1))\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//n1\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////tab////tab////remove quotes from job code number//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\14\\comma\\removeQuotes(getElement(sLine\\comma\\14)))//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////ADP//crlf////tab////tab////tab//////crlf////tab////tab////tab////NOTE: The descriptions used in the header line were modified while creating //crlf////tab////tab////tab////an export for Iavarone 4/2017.  Specifically\\comma\\ the descriptions for charge tips\\comma\\ //crlf////tab////tab////tab////Tip Share and CC Fee were modified.  The other headers are the same as in the //crlf////tab////tab////tab////Aspect6 export.  It may be necessary to make these headers user-defined to //crlf////tab////tab////tab////accommodate future customers.//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\adp\\quot\\)//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////crlf////tab////tab////tab////tab//sEarningsCode=lookup(Aspect_Back-Office_Payroll_Earnings_Code_by_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab//bExportSales=lookup(Aspect_BackOffice_Payroll_Export_Sales_Enabled_by_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab//bExportChgTip=lookup(Aspect_BackOffice_Payroll_Export_Chg_Tips_Enabled_by_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab//bExportTipShare=lookup(Aspect_BackOffice_Payroll_Export_Tip_Share_Enabled_by_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab//bExportTipsPaid=lookup(Aspect_BackOffice_Payroll_Export_Tips_Paid_Enabled_by_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab//bExportTipsReceived=lookup(Aspect_BackOffice_Payroll_Export_Tips_Received_Enabled_by_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab//bExportCCFee=lookup(Aspect_BackOffice_Payroll_Export_CC_Fee_Enabled_by_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////tab////add header line//crlf////tab////tab////tab////tab//s1=char(0x27)\\plus\\\\quot\\Co Code\\apos\\\\comma\\\\apos\\Batch ID\\apos\\\\comma\\\\apos\\File \\pound\\\\apos\\\\comma\\\\apos\\Temp Dept\\apos\\\\comma\\\\apos\\Earnings 3 Code\\apos\\\\comma\\\\apos\\Earnings 3 Amount\\apos\\\\comma\\\\apos\\Temp Rate\\apos\\\\comma\\\\apos\\Reg Hours\\apos\\\\comma\\\\apos\\O/T Hours\\apos\\\\quot\\//crlf////tab////tab////tab////tab//s1=replaceSubstring(s1\\comma\\\\quot\\~1~\\quot\\\\comma\\sEarningsCode)//crlf////tab////tab////tab////tab//s1=replaceSubstring(s1\\comma\\char(0x27)\\comma\\char(0x22))//crlf////crlf////tab////tab////tab////tab////add sales to header line//crlf////tab////tab////tab////tab//if(bExportSales)//crlf////tab////tab////tab////tab////tab//s1=addElement(s1\\comma\\quote(\\quot\\Memo Code\\quot\\))//crlf////tab////tab////tab////tab////tab//s1=addElement(s1\\comma\\quote(\\quot\\Memo Amount\\quot\\))//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////add charge tips to header line//crlf////tab////tab////tab//  if(bExportChgTip) //crlf////tab////tab////tab////tab////tab////Note: The descriptions for charge tips are \\quot\\Adjust Ded Code\\quot\\ and \\quot\\Adjust Ded Amount\\quot\\//crlf////tab////tab////tab////tab////tab////in the Aspect6 export.  The \\quot\\memo code\\quot\\ description was used when creating the export //crlf////tab////tab////tab////tab////tab////for Iavarone on 4/2017.  These may need to become user-defined so they can be changed//crlf////tab////tab////tab////tab////tab////by the customer.//crlf////tab////tab////tab////tab////tab//s1=addElement(s1\\comma\\quote(\\quot\\Adjust Ded Code\\quot\\))//crlf////tab////tab////tab////tab////tab//s1=addElement(s1\\comma\\quote(\\quot\\Adjust Ded Amount\\quot\\))//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\s1\\plus\\char(13)\\plus\\char(10)//crlf////crlf////tab////tab////tab////tab////perform cleanup on each line//crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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(len(trim(sLine))>0)//crlf////tab////tab////tab////tab////tab////tab////add fields from the line to a new line.  This is done so that sales and charge //crlf////tab////tab////tab////tab////tab////tab////tip fields can be left off if they are not to be exported//crlf////tab////tab////tab////tab////tab////tab//sNewLine=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////tab////tab////tab////add company code//crlf////tab////tab////tab////tab////tab////tab//sNewLine=addElement(sNewLine\\comma\\getElement(sLine\\comma\\0))//crlf////crlf////tab////tab////tab////tab////tab////tab////add batch ID//crlf////tab////tab////tab////tab////tab////tab//sNewLine=addElement(sNewLine\\comma\\getElement(sLine\\comma\\1))//crlf////crlf////tab////tab////tab////tab////tab////tab////add employee number (file \\pound\\)//crlf////tab////tab////tab////tab////tab////tab//sNewLine=addElement(sNewLine\\comma\\getElement(sLine\\comma\\2))//crlf////crlf////tab////tab////tab////tab////tab////tab////add regular hours earnings code//crlf////tab////tab////tab////tab////tab////tab//sNewLine=addElement(sNewLine\\comma\\getElement(sLine\\comma\\3))//crlf////crlf////tab////tab////tab////tab////tab////tab////add tips//crlf////tab////tab////tab////tab////tab////tab//dTip=value(getElement(sLine\\comma\\5))//crlf////tab////tab////tab////tab////tab////tab//if(dTip=0)//crlf////tab////tab////tab////tab////tab////tab////tab////remove tip earning code and tip amount if tip is 0//crlf////tab////tab////tab////tab////tab////tab////tab//sNewLine=addElement(sNewLine\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sNewLine=addElement(sNewLine\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//sNewLine=addElement(sNewLine\\comma\\quote(\\quot\\T\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sNewLine=addElement(sNewLine\\comma\\formatNumber(value(getElement(sLine\\comma\\5))\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////add regular rate//crlf////tab////tab////tab////tab////tab////tab//sNewLine=addElement(sNewLine\\comma\\formatNumber(value(getElement(sLine\\comma\\6))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////add regular hours//crlf////tab////tab////tab////tab////tab////tab//sNewLine=addElement(sNewLine\\comma\\formatNumber(value(getElement(sLine\\comma\\7))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////add overtime hours//crlf////tab////tab////tab////tab////tab////tab//sNewLine=addElement(sNewLine\\comma\\formatNumber(value(getElement(sLine\\comma\\8))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////add sales//crlf////tab////tab////tab////tab////tab////tab//if(bExportSales)//crlf////tab////tab////tab////tab////tab////tab////tab//sNewLine=addElement(sNewLine\\comma\\getElement(sLine\\comma\\9))//crlf////tab////tab////tab////tab////tab////tab////tab//dSales=value(getElement(sLine\\comma\\10))//crlf////tab////tab////tab////tab////tab////tab////tab//if(dSales=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sNewLine=addElement(sNewLine\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sNewLine=addElement(sNewLine\\comma\\formatNumber(dSales\\comma\\\\quot\\0\\quot\\))//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////add charge tips//crlf////tab////tab////tab////tab////tab////tab//if(bExportChgTip)//crlf////tab////tab////tab////tab////tab////tab////tab//sNewLine=addElement(sNewLine\\comma\\getElement(sLine\\comma\\11))//crlf////tab////tab////tab////tab////tab////tab////tab//sNewLine=addElement(sNewLine\\comma\\formatNumber(value(getElement(sLine\\comma\\12))\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sNewLine\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////crlf////tab////tab////tab////tab////export employee records//crlf////tab////tab////tab////tab//sOutputFilename=lookup(Aspect_BackOffice_Payroll_Export_Filename_by_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab//if(len(trim(sOutputFilename))>0)//crlf////tab////tab////tab////tab////tab//sEmployeeOutputFilename=fileDrive(sOutputFilename)\\plus\\fileDir(sOutputFilename)\\plus\\fileName(sOutputFilename)\\plus\\\\quot\\_employee.csv\\quot\\//crlf////crlf////tab////tab////tab////tab////tab//sArgs=\\quot\\MergeID=ZM3dBfB9\\quot\\//crlf////tab////tab////tab////tab////tab//sArgs=sArgs\\plus\\\\quot\\\\amp\\SourceDriverParams=StoreID=__StoreID__\\quot\\//crlf////tab////tab////tab////tab////tab//sArgs=sArgs\\plus\\\\quot\\\\amp\\DestDriverParams=Filename=\\quot\\\\plus\\sEmployeeOutputFilename//crlf////tab////tab////tab////tab////tab//s=execAgentAction(\\quot\\executeMergeDefinition\\quot\\\\comma\\sArgs)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\********* merge employee records: \\quot\\\\plus\\s)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Tudors - 1. Override manager hours //crlf////tab////tab////tab//////tab////tab////tab////tab// 2. Replace hardwired T with TR//crlf////tab////tab////tab//////tab////tab////tab////tab// 3. Add delivery charges//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if((\\quot\\__StoreID__\\quot\\=\\quot\\SyfWNuVJj5rUA3OZBDMBv9OP\\quot\\) OR (getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)=\\quot\\VhGFwJcWHG2CnERns1zILedS\\quot\\))//crlf////tab////tab////tab////tab////make a hashtable of manager employee IDs and hours.  These override the actual hours//crlf////tab////tab////tab////tab//hashCreate(hManagerHours)//crlf////tab////tab////tab////tab//hashCreate(hDeliveryCharge)//crlf////crlf////tab////tab////tab////tab//driverSetSubtotal(dLaborDetail\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\Employee_Payroll_Number~~pipe~~AppJobCodeName\\quot\\)//crlf////tab////tab////tab////tab//driverSetDetails(dLaborDetail\\comma\\false)//crlf////tab////tab////tab////tab//driverSetFilter(dLaborDetail\\comma\\\\quot\\Tudors_Is_Manager\\quot\\\\comma\\true)//crlf////tab////crlf////tab////tab////tab////tab////create hashtable of manager hours//tab////tab////tab////crlf////tab////tab////tab////tab//c=driverGetRecordCount(dLaborDetail)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Tudors-manager hours Record count=\\quot\\\\plus\\c)//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//EmpID=driverGetField(dLaborDetail\\comma\\\\quot\\Employee_Payroll_Number\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//dHours=driverGetField(dLaborDetail\\comma\\\\quot\\Tudors_Manager_Hours\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//hashPut(hManagerHours\\comma\\EmpID\\comma\\dHours)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Tudors-Added hash entry: EmpID: \\quot\\\\plus\\EmpID\\plus\\\\quot\\ Hours: \\quot\\\\plus\\dHours)//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////create hashtable of delivery charges//crlf////tab////tab////tab////tab////These come from the Tudors_Delivery_Charges which is an external field //crlf////tab////tab////tab////tab////added to the labor detail dimensional driver.  It looks up the value //crlf////tab////tab////tab////tab////using the POS_Restaurant_Manager_Delivery_Fees_by_Employee_ID.  Files must //crlf////tab////tab////tab////tab////exist in the posdata directory and the company code must be Tudors for //crlf////tab////tab////tab////tab////this collection to work//crlf////tab////tab////tab////tab//driverSetFilter(dLaborDetail\\comma\\\\quot\\gt(Tudors_Delivery_Charges\\comma\\0\\comma\\n)\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//c=driverGetRecordCount(dLaborDetail)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Tudors-Delivery Charge Record count=\\quot\\\\plus\\c)//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//EmpID=driverGetField(dLaborDetail\\comma\\\\quot\\Employee_Payroll_Number\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//dDeliveryCharge=driverGetField(dLaborDetail\\comma\\\\quot\\Tudors_Delivery_Charges\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//hashPut(hDeliveryCharges\\comma\\EmpID\\comma\\dDeliveryCharge)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Tudors-Added hash entry: EmpID: \\quot\\\\plus\\EmpID\\plus\\\\quot\\ Hours: \\quot\\\\plus\\dHours)//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(13)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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(n=0)//crlf////tab////tab////tab////tab////tab////tab//sLine=sLine\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\quote(\\quot\\Delivery Code\\quot\\)\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\quote(\\quot\\Delivery Amount\\quot\\)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//if(len(sLine)>0)//crlf////tab////tab////tab////tab////tab////tab////tab//sEmployeeID=removeQuotes(getElement(sLine\\comma\\2))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Tudors-sEmployeeID=\\quot\\\\plus\\sEmployeeID)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////set manager hours//crlf////tab////tab////tab////tab////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hManagerHours\\comma\\sEmployeeID))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dMaxHours=48//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if((now()<parseTime(\\quot\\09-01-2022\\quot\\)) and (pos(lookup(Tudors_Company_Code_by_HashID\\comma\\getToken(\\quot\\AspectHashID\\quot\\))\\comma\\\\quot\\6XG~~pipe~~AGJ~~pipe~~BAA~~pipe~~C43~~pipe~~FV7\\quot\\)>=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dMaxHours=96//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dHours=min(value(hashGet(hManagerHours\\comma\\sEmployeeID))\\comma\\dMaxHours)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\7\\comma\\formatNumber(dHours\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\8\\comma\\\\quot\\0.00\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Tudors-Replaced hours with \\quot\\\\plus\\dHours)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////add delivery charges//crlf////tab////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hDeliveryCharges\\comma\\sEmployeeID))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//dDeliveryCharge=hashGet(hDeliveryCharges\\comma\\sEmployeeID)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine=sLine\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\quote(\\quot\\DEL\\quot\\)\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\formatNumber(dDeliveryCharge\\comma\\\\quot\\0.00\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine=sLine\\plus\\\\quot\\\\comma\\\\comma\\\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////replace T with TR//crlf////tab////tab////tab////tab////tab////tab////tab////08-04-2023 - Removed this at Jen\\apos\\s request by email on 8/3//crlf////tab////tab////tab////tab////tab////tab////tab////Instead\\comma\\ make sure everything is a T instead of a TR//crlf////tab////tab////tab////tab////tab////tab////tab//sEarnCode=removeQuotes(getElement(sLine\\comma\\4))//crlf////tab////tab////tab////tab////tab////tab////tab////if(sEarnCode=\\quot\\T\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//////tab//sLine=setElement(sLine\\comma\\4\\comma\\quote(\\quot\\TR\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////endif//crlf////tab////tab////tab////tab////tab////tab////tab//if(sEarnCode=\\quot\\TR\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\4\\comma\\quote(\\quot\\T\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////remove addendum from Temp Dept.  This is the regular hours earnings code.  //crlf////tab////tab////tab////tab////tab////tab////tab////They are made unique at the store to calculate totals for eahc job code //crlf////tab////tab////tab////tab////tab////tab////tab////and the addendum is removed here.//crlf////tab////tab////tab////tab////tab////tab////tab////This is done at the store.  It is done here to cover stores that have not been updated.//crlf////tab////tab////tab////tab////tab////tab////tab//sTempDept=removeQuotes(getElement(sLine\\comma\\3))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\sTempDept=\\quot\\\\plus\\sTempDept)//crlf////tab////tab////tab////tab////tab////tab////tab//if(pos(\\quot\\-\\quot\\\\comma\\sTempDept)>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\3\\comma\\quote(getElement(sTempDept\\comma\\0\\comma\\\\quot\\-\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\sLine=\\quot\\\\plus\\sLine)//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////crlf////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////CoAdvantage Resources//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\CoAdvantage\\quot\\)//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////crlf////tab////tab////tab////tab////remove all quotes//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////perform cleanup on each line//crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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(len(trim(sLine))>0)//crlf////crlf////tab////tab////tab////tab////tab////tab////round hours to 2 decimals//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\4\\comma\\formatNumber(value(getElement(sLine\\comma\\4))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////round rate to 4 decimals//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\5\\comma\\formatNumber(value(getElement(sLine\\comma\\5))\\comma\\\\quot\\0.0000\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////round amount to 4 decimals//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\6\\comma\\formatNumber(value(getElement(sLine\\comma\\6))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////add header line//crlf////tab////tab////tab////tab//sNewOutput=\\quot\\First Name\\comma\\Last Name\\comma\\Middle Initial\\comma\\SS No.\\comma\\Hours\\comma\\Base Rate\\comma\\Amount\\comma\\Regular/Overtime\\comma\\Department\\comma\\Earnings/DeductCode\\quot\\\\plus\\char(13)\\plus\\char(10)\\plus\\sNewOutput//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Creative Solutions//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\CreativeSolutions\\quot\\)//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////crlf////tab////tab////tab////tab////remove all quotes//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////perform cleanup on each line//crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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(len(trim(sLine))>0)//crlf////crlf////tab////tab////tab////tab////tab////tab////set employee number to 4 chars//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\0\\comma\\padleft(getElement(sLine\\comma\\0)\\comma\\4\\comma\\\\quot\\0\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////set company code to 2 chars//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\1\\comma\\substring(padRight(getElement(sLine\\comma\\1)\\comma\\2\\comma\\\\quot\\ \\quot\\)\\comma\\0\\comma\\2))//crlf////crlf////tab////tab////tab////tab////tab////tab////set payroll job number to 2 chars//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\2\\comma\\substring(padRight(getElement(sLine\\comma\\2)\\comma\\2\\comma\\\\quot\\ \\quot\\)\\comma\\0\\comma\\2))//crlf////crlf////tab////tab////tab////tab////tab////tab////set reg hours earn code to 2 chars//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\3\\comma\\substring(padRight(getElement(sLine\\comma\\3)\\comma\\2\\comma\\\\quot\\ \\quot\\)\\comma\\0\\comma\\2))//crlf////crlf////tab////tab////tab////tab////tab////tab////multiply reg hours x 100 and pad left to 9 chars//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\4\\comma\\padleft(round(value(getElement(sLine\\comma\\4))*100)\\comma\\9\\comma\\\\quot\\0\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////multiply ovt hours x 100 and pad left to 9 chars//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\5\\comma\\padleft(round(value(getElement(sLine\\comma\\5))*100)\\comma\\9\\comma\\\\quot\\0\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////multiply doubletime hours x 100 and pad left to 9 chars//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\6\\comma\\padleft(round(value(getElement(sLine\\comma\\6))*100)\\comma\\9\\comma\\\\quot\\0\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////multiply regular rate x 100 and pad left to 9 chars//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\8\\comma\\padleft(round(value(getElement(sLine\\comma\\8))*100)\\comma\\9\\comma\\\\quot\\0\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////multiply tips x 100 and pad left to 9 chars//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\9\\comma\\padleft(round(value(getElement(sLine\\comma\\9))*100)\\comma\\9\\comma\\\\quot\\0\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////remove commas//crlf////tab////tab////tab////tab////tab////tab//sLine=replaceSubstring(sLine\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////crlf////tab////tab////tab////tab////export employee records//crlf////tab////tab////tab////tab//sOutputFilename=lookup(Aspect_BackOffice_Payroll_Export_Filename_by_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab//if(len(trim(sOutputFilename))>0)//crlf////tab////tab////tab////tab////tab//sEmployeeOutputFilename=fileDrive(sOutputFilename)\\plus\\fileDir(sOutputFilename)\\plus\\fileName(sOutputFilename)\\plus\\\\quot\\_employee.csv\\quot\\//crlf////tab////tab////tab////tab////tab//if(fileExists(sEmployeeOutputFilename))//crlf////tab////tab////tab////tab////tab////tab//fileSetLength(sEmployeeOutputFilename\\comma\\0)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//sArgs=\\quot\\MergeID=IZdFofFq\\quot\\//crlf////tab////tab////tab////tab////tab//sArgs=sArgs\\plus\\\\quot\\\\amp\\SourceDriverParams=StoreID=__StoreID__\\quot\\//crlf////tab////tab////tab////tab////tab//sArgs=sArgs\\plus\\\\quot\\\\amp\\DestDriverParams=Filename=\\quot\\\\plus\\sEmployeeOutputFilename//crlf////tab////tab////tab////tab////tab//s=execAgentAction(\\quot\\executeMergeDefinition\\quot\\\\comma\\sArgs)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\********* merge employee records: \\quot\\\\plus\\s)//crlf////crlf////tab////tab////tab////tab////tab////perform cleanup on each line//crlf////tab////tab////tab////tab////tab//s=fileGetContent(sEmployeeOutputFilename)//crlf////crlf////tab////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab////tab//arPad=\\quot\\8\\comma\\15\\comma\\1\\comma\\20\\comma\\30\\comma\\20\\comma\\2\\comma\\10\\comma\\11\\comma\\3\\comma\\8\\comma\\2\\comma\\2\\comma\\2\\comma\\3\\quot\\//crlf////tab////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab////tab//sLine=getElement(s\\comma\\n\\comma\\char(10))//crlf////tab////tab////tab////tab////tab////tab//if(len(trim(sLine))>0)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//sLine=replaceSubstring(sLine\\comma\\char(13)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//c1=getElementCount(arPad)//crlf////tab////tab////tab////tab////tab////tab////tab//n1=0//crlf////tab////tab////tab////tab////tab////tab////tab//while(n1<c1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//len=value(getElement(arPad\\comma\\n1))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1=removeQuotes(getElement(sLine\\comma\\n1))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1a=padRight(s1\\comma\\len\\comma\\\\quot\\ \\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\n1\\comma\\quote(s1a))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//n1\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//n1=0//crlf////tab////tab////tab////tab////tab////tab////tab//while(n1<75)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine=sLine\\plus\\\\quot\\\\comma\\000000000.00\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//n1\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//fileWriteContent(sEmployeeOutputFilename\\comma\\sNewOutput)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Evolution//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\Evolution\\quot\\)//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////perform cleanup on each line//crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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//sLine=replaceSubstring(sLine\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//if(len(trim(sLine))>0)//crlf////tab////tab////tab////tab////tab////tab////put quotes around employee name//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\1\\comma\\quote(getElement(sLine\\comma\\1)))//crlf////crlf////tab////tab////tab////tab////tab////tab////round rate to 2 decimals//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\7\\comma\\formatNumber(value(getElement(sLine\\comma\\7))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////round hours to 2 decimals//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\8\\comma\\formatNumber(value(getElement(sLine\\comma\\8))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////add blank fields//crlf////tab////tab////tab////tab////tab////tab//sLine=sLine\\plus\\\\quot\\\\comma\\\\comma\\\\comma\\\\comma\\\\comma\\\\comma\\\\comma\\\\comma\\\\comma\\\\comma\\\\comma\\\\comma\\\\comma\\\\comma\\\\comma\\\\comma\\\\comma\\\\comma\\\\comma\\\\quot\\//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Heartland//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\Heartland\\quot\\)//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////perform cleanup on each line//crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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//sLine=replaceSubstring(sLine\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//if(len(trim(sLine))>0)//crlf////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//if((getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\nlpi6y2lv\\quot\\) or (getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\4idczse69\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////JR\\apos\\s Loghouse 9/2021//crlf////tab////tab////tab////tab////tab////tab////tab////convert to fixed-width file//crlf////tab////tab////tab////tab////tab////tab////tab//if(len(getElement(sLine\\comma\\1))>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1=left(padRight(getElement(sLine\\comma\\0)\\comma\\4\\comma\\\\quot\\ \\quot\\)\\comma\\4)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\padLeft(getElement(sLine\\comma\\1)\\comma\\4\\comma\\\\quot\\ \\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\padLeft(getElement(sLine\\comma\\2)\\comma\\2\\comma\\\\quot\\ \\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\padLeft(getElement(sLine\\comma\\3)\\comma\\2\\comma\\\\quot\\ \\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\padRight(getElement(sLine\\comma\\4)\\comma\\1\\comma\\\\quot\\ \\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\padLeft(formatNumber(value(getElement(sLine\\comma\\5))\\comma\\\\quot\\0.00\\quot\\)\\comma\\10\\comma\\\\quot\\0\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\padRight(getElement(sLine\\comma\\6)\\comma\\1\\comma\\\\quot\\ \\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\padLeft(formatNumber(value(getElement(sLine\\comma\\7))\\comma\\\\quot\\0.0000\\quot\\)\\comma\\8\\comma\\\\quot\\0\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\padLeft(getElement(sLine\\comma\\8)\\comma\\3\\comma\\\\quot\\ \\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\padLeft(\\quot\\\\quot\\\\comma\\15\\comma\\\\quot\\ \\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\padRight(replaceSubstring(getElement(sLine\\comma\\10)\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\ \\quot\\)\\comma\\30\\comma\\\\quot\\ \\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1=\\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////convert to fixed-width file//crlf////tab////tab////tab////tab////tab////tab////tab//s1=left(padRight(getElement(sLine\\comma\\0)\\comma\\10\\comma\\\\quot\\ \\quot\\)\\comma\\10)//crlf////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\padLeft(getElement(sLine\\comma\\1)\\comma\\9\\comma\\\\quot\\ \\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\padLeft(getElement(sLine\\comma\\2)\\comma\\10\\comma\\\\quot\\ \\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\padLeft(getElement(sLine\\comma\\3)\\comma\\15\\comma\\\\quot\\ \\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\padRight(getElement(sLine\\comma\\4)\\comma\\1\\comma\\\\quot\\ \\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\padLeft(formatNumber(value(getElement(sLine\\comma\\5))\\comma\\\\quot\\0.00\\quot\\)\\comma\\10\\comma\\\\quot\\0\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\padRight(getElement(sLine\\comma\\6)\\comma\\1\\comma\\\\quot\\ \\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\padLeft(formatNumber(value(getElement(sLine\\comma\\7))\\comma\\\\quot\\0.0000\\quot\\)\\comma\\8\\comma\\\\quot\\0\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\padLeft(getElement(sLine\\comma\\8)\\comma\\12\\comma\\\\quot\\ \\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\padLeft(getElement(sLine\\comma\\9)\\comma\\9\\comma\\\\quot\\ \\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//s1=s1\\plus\\replaceSubstring(getElement(sLine\\comma\\10)\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\ \\quot\\)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//if(len(s1)>0)//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\s1\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Millennium//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\Millennium\\quot\\)//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////perform cleanup on each line//crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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//sLine=replaceSubstring(sLine\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//if(len(trim(sLine))>0)//crlf////crlf////tab////tab////tab////tab////tab////tab////8-2020 changes this from 7 to 9//crlf////tab////tab////tab////tab////tab////tab//if(getElementCount(sLine)=9)//crlf////tab////tab////tab////tab////tab////tab////tab////regular / overtime hours//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////round hours to two decimals//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\3\\comma\\formatNumber(value(getElement(sLine\\comma\\3))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////round rate to two decimals//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\5\\comma\\formatNumber(value(getElement(sLine\\comma\\5))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////replace \\quot\\z\\quot\\ with a blank field.  This is done because it is not possible//crlf////tab////tab////tab////tab////tab////tab////tab////to write a blank field since it will be surrounded by quotes.  //crlf////tab////tab////tab////tab////tab////tab////tab//s1=removeQuotes(getElement(sLine\\comma\\4))//crlf////tab////tab////tab////tab////tab////tab////tab//if(s1=\\quot\\z\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\4\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////special processing for Flying Rhino 8/2020//crlf////tab////tab////tab////tab////tab////tab////tab//if(getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)=\\quot\\fBoWCG1q0HjR9bH7cjtxfuKh\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine1=quote(getElement(sLine\\comma\\0))\\plus\\char(0x2C)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine1=sLine1\\plus\\quote(getElement(sLine\\comma\\1))\\plus\\char(0x2C)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine1=sLine1\\plus\\quote(getElement(sLine\\comma\\2))\\plus\\char(0x2C)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine1=sLine1\\plus\\getElement(sLine\\comma\\3)\\plus\\char(0x2C)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1=getElement(sLine\\comma\\4)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(s1=\\quot\\0.00\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sLine1=sLine1\\plus\\char(0x2C)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sLine1=sLine1\\plus\\s1\\plus\\char(0x2C)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine1=sLine1\\plus\\getElement(sLine\\comma\\5)\\plus\\char(0x2C)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine=sLine1//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////tips//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////round hours to two decimals//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\3\\comma\\formatNumber(value(getElement(sLine\\comma\\3))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////round tip to two decimals//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\4\\comma\\formatNumber(value(getElement(sLine\\comma\\4))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////replace \\quot\\z\\quot\\ with a blank field.  This is done because it is not possible//crlf////tab////tab////tab////tab////tab////tab////tab////to write a blank field since it will be surrounded by quotes.  //crlf////tab////tab////tab////tab////tab////tab////tab//s1=removeQuotes(getElement(sLine\\comma\\3))//crlf////tab////tab////tab////tab////tab////tab////tab//if(s1=\\quot\\z\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\3\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////special processing for Flying Rhino 8/2020//crlf////tab////tab////tab////tab////tab////tab////tab//if(getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)=\\quot\\fBoWCG1q0HjR9bH7cjtxfuKh\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine1=quote(getElement(sLine\\comma\\0))\\plus\\char(0x2C)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine1=sLine1\\plus\\quote(getElement(sLine\\comma\\1))\\plus\\char(0x2C)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine1=sLine1\\plus\\quote(getElement(sLine\\comma\\2))\\plus\\char(0x2C)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1=getElement(sLine\\comma\\3)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(s1=\\quot\\0.00\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sLine1=sLine1\\plus\\char(0x2C)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sLine1=sLine1\\plus\\s1\\plus\\char(0x2C)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine1=sLine1\\plus\\getElement(sLine\\comma\\4)\\plus\\char(0x2C)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine=sLine1//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//sNewOutput=sNewOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////OldDominion//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\OldDominion\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Processing content for Old Dominion\\quot\\)//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////tab////tab////crlf////tab////tab////tab////tab////remove all quotes and cr//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x13)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////tab////perform cleanup on each line//crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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(len(trim(sLine))>0)//crlf////tab////tab////tab////tab////tab////tab//c1=getElementCount(sLine)//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//if(n1>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\\\quot\\\\comma\\\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//s1=getElement(sLine\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab////tab//if(n1<=1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////just add the employee number and job code number to the output//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\s1//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////format other fields to two decimals//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\formatNumber(value(s1)\\comma\\\\quot\\0.00\\quot\\)//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////tab//sNewOutput=sNewOutput\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////add header line//crlf////tab////tab////tab////tab//sHeader=\\quot\\Key\\comma\\Laborvalue1\\comma\\E_Tipped Regular_ORRate\\comma\\E_Tipped Overtime_ORRate\\comma\\E_Tipped regular_hours\\comma\\\\quot\\//crlf////tab////tab////tab////tab//sHeader=sHeader\\plus\\\\quot\\E_Tipped Overtime_hours\\comma\\E_Direct Tips_dollars\\comma\\E_Cash Due_dollars\\comma\\\\quot\\//crlf////tab////tab////tab////tab//sHeader=sHeader\\plus\\\\quot\\E_3\\percent\\ CC_Dollars\\comma\\E_Gross Receipts_Dollars\\quot\\//crlf////tab////tab////tab////tab//sNewOutput=sHeader\\plus\\char(13)\\plus\\char(10)\\plus\\sNewOutput//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////crlf////tab////tab////tab////tab////do additional processing and save a 2nd file.  This is for Iavarone.  It replaces these //crlf////tab////tab////tab////tab////steps that were performed manually in a spreadsheet//crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//1.//tab//sort by column b//crlf////tab////tab////tab////tab//2.//tab//delete column D//crlf////tab////tab////tab////tab//3.//tab//Insert a column between E_Direct Tips_dollars//tab//E_Cash Due_dollars//crlf////tab////tab////tab////tab//4.//tab//Copy this header://tab//Key\\comma\\Laborvalue1\\comma\\E_Tipped Regular_ORRate\\comma\\E_Tipped regular_hours\\comma\\E_Tipped Overtime_hours\\comma\\E_Direct Tips_dollars\\comma\\E_Indirect Tips_dollars\\comma\\E_Cash Due_dollars\\comma\\E_3\\percent\\ CC_Dollars\\comma\\E_Gross Receipts_Dollars\\comma\\E_Regular_ORRate\\comma\\E_regular_hours\\comma\\E_Overtime_hours//crlf////tab////tab////tab////tab//5.//tab//Move entries in columns C\\comma\\ D and E for jobs 100\\comma\\ 200\\comma\\ 450\\comma\\ 550\\comma\\ 900 to k\\comma\\ l and m//crlf////tab////tab////tab////tab//6.//tab//COPY column F to column H\\comma\\ overwriting what\\apos\\s in column H.  Leave column F//crlf////tab////tab////tab////tab//7.//tab//In column F\\comma\\ job 400\\comma\\ 450\\comma\\ 500 and 550\\comma\\ move to column G//crlf////tab////tab////tab////tab//8.//tab//In column H\\comma\\ delete numbers for job code 700 //crlf////tab////tab////tab////tab//9.//tab//All blank fields require a 0.  Fill in all the holes with 0//crlf////tab////tab////tab////tab//10. Delete line for job 100 that don\\apos\\t have a key//crlf////tab////tab////tab////tab//11.//tab//For job 100\\comma\\ key 7\\comma\\ set column k to 15//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//sPrior=replaceSubstring(sNewOutput\\comma\\char(13)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////tab//c=getElementCount(sPrior\\comma\\char(10))//crlf////tab////tab////tab////tab//n=1//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//s=getElement(sPrior\\comma\\n\\comma\\char(10))//crlf////crlf////tab////tab////tab////tab////tab////10. Delete line for job 100 (nope.  for all jobs) that don\\apos\\t have a key//crlf////tab////tab////tab////tab////tab//iKey=value(getElement(s\\comma\\0))//crlf////tab////tab////tab////tab////tab//iJob=value(getElement(s\\comma\\1))//crlf////tab////tab////tab////tab////tab////if((iKey=0) and (iJob=100))//crlf////tab////tab////tab////tab////tab//if(iKey=0)//crlf////tab////tab////tab////tab////tab////tab////dummy line//crlf////tab////tab////tab////tab////tab////tab//bPlaceholder=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////2.//tab//delete column D//crlf////tab////tab////tab////tab////tab////tab////3.//tab//Insert a column between E_Direct Tips_dollars//tab//E_Cash Due_dollars//crlf////tab////tab////tab////tab////tab////tab//c1=getElementCount(s)//crlf////tab////tab////tab////tab////tab////tab//n1=0//crlf////tab////tab////tab////tab////tab////tab//s1=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab////tab//while(n1<c1)//crlf////tab////tab////tab////tab////tab////tab////tab//s2=getElement(s\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab////tab//if(n1<>3)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if((n1=0) and (len(s2)=0))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//s2=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1=addElement(s1\\comma\\s2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(n1=6)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//s1=addElement(s1\\comma\\\\quot\\0.00\\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////tab//n1\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////tab////tab////add three more columns//crlf////tab////tab////tab////tab////tab////tab//while(getElementCount(s1)<13)//crlf////tab////tab////tab////tab////tab////tab////tab//s1=addElement(s1\\comma\\\\quot\\0.00\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//sNewOutput=addElement(sNewOutput\\comma\\s1\\comma\\char(10))//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//sPrior=sNewOutput//crlf////tab////tab////tab////tab//c=getElementCount(sPrior\\comma\\char(10))//crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//s=getElement(sPrior\\comma\\n\\comma\\char(10))//crlf////tab////tab////tab////tab////tab//iKey=value(getElement(s\\comma\\0))//crlf////tab////tab////tab////tab////tab//iJob=value(getElement(s\\comma\\1))//crlf////crlf////tab////tab////tab////tab////tab////5.//tab//Move entries in columns C (2)\\comma\\ D (3) and E (4) for jobs 100\\comma\\ 200\\comma\\ 450\\comma\\ 550\\comma\\ 900 to k (10)\\comma\\ l (11) and m (12)//crlf////tab////tab////tab////tab////tab//if((iJob=100) or (iJob=200) or (iJob=450) or (iJob=550) or (iJob=900))//crlf////tab////tab////tab////tab////tab////tab//s1=getElement(s\\comma\\2)//crlf////tab////tab////tab////tab////tab////tab//s=setElement(s\\comma\\2\\comma\\\\quot\\0.00\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//s=setElement(s\\comma\\10\\comma\\s1)//crlf////crlf////tab////tab////tab////tab////tab////tab//s1=getElement(s\\comma\\3)//crlf////tab////tab////tab////tab////tab////tab//s=setElement(s\\comma\\3\\comma\\\\quot\\0.00\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//s=setElement(s\\comma\\11\\comma\\s1)//crlf////crlf////tab////tab////tab////tab////tab////tab//s1=getElement(s\\comma\\4)//crlf////tab////tab////tab////tab////tab////tab//s=setElement(s\\comma\\4\\comma\\\\quot\\0.00\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//s=setElement(s\\comma\\12\\comma\\s1)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////6.//tab//COPY column F (5) to column H (7)\\comma\\ overwriting what\\apos\\s in column H.  Leave column F//crlf////tab////tab////tab////tab////tab//s1=getElement(s\\comma\\5)//crlf////tab////tab////tab////tab////tab//s=setElement(s\\comma\\7\\comma\\s1)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////7.//tab//In column F (5)\\comma\\ job 400\\comma\\ 450\\comma\\ 500 and 550\\comma\\ move to column G (6)//crlf////tab////tab////tab////tab////tab//if((iJob=400) or (iJob=450) or (iJob=500) or (iJob=550))//crlf////tab////tab////tab////tab////tab////tab//s1=getElement(s\\comma\\5)//crlf////tab////tab////tab////tab////tab////tab//s=setElement(s\\comma\\5\\comma\\\\quot\\0.00\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//s=setElement(s\\comma\\6\\comma\\s1)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////8.//tab//In column H (7)\\comma\\ delete numbers for job code 700 //crlf////tab////tab////tab////tab////tab//if(iJob=700)//crlf////tab////tab////tab////tab////tab////tab//s=setElement(s\\comma\\7\\comma\\\\quot\\0.00\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////11.//tab//For job 100\\comma\\ key 7\\comma\\ column k (10) is 15//crlf////tab////tab////tab////tab////tab//if((iJob=100) and (iKey=7))//crlf////tab////tab////tab////tab////tab////tab//s=setElement(s\\comma\\10\\comma\\15)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\s\\plus\\char(13)\\plus\\char(10)//crlf////crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//sNewOutput=\\quot\\Key\\comma\\Laborvalue1\\comma\\E_Tipped Regular_ORRate\\comma\\E_Tipped regular_hours\\comma\\E_Tipped Overtime_hours\\comma\\E_Direct Tips_dollars\\comma\\E_Indirect Tips_dollars\\comma\\E_Cash Due_dollars\\comma\\E_3\\percent\\ CC_Dollars\\comma\\E_Gross Receipts_Dollars\\comma\\E_Regular_ORRate\\comma\\E_regular_hours\\comma\\E_Overtime_hours\\quot\\\\plus\\char(13)\\plus\\char(10)\\plus\\sNewOutput//crlf////crlf////tab////tab////tab////tab//sFilename=lookup(Aspect_BackOffice_Payroll_Export_Filename_by_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab//if(len(trim(sFilename))>0)//crlf////tab////tab////tab////tab////tab//sFilename=fileDrive(sFilename)\\plus\\fileDir(sFilename)\\plus\\fileName(sFilename)\\plus\\\\quot\\_final\\quot\\\\plus\\fileExt(sFilename)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Final output written to: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab////tab//fileWriteContent(sFilename\\comma\\sNewOutput)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\No payroll output file name specified in store record\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////PaychexFlex//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\PaychexFlex\\quot\\)//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////tab////tab////crlf////tab////tab////tab////tab////remove all quotes//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////perform cleanup on each line//crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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(len(trim(sLine))>0)//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////add header line//crlf////tab////tab////tab////tab//sHeader=\\quot\\Client ID\\comma\\Worker ID\\comma\\Org\\comma\\Job Number\\comma\\Pay Component\\comma\\Rate\\comma\\Rate Number\\comma\\Hours\\comma\\Units\\comma\\Line Date\\comma\\Amount\\comma\\Check Seq Number\\comma\\Override State\\comma\\Override Local\\comma\\Override Local Jurisdiction\\comma\\Labor Override\\quot\\//crlf////tab////tab////tab////tab//sNewOutput=sHeader\\plus\\char(13)\\plus\\char(10)\\plus\\sNewOutput//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Paycom//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\Paycom\\quot\\)//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////perform cleanup on each line//crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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//sLine=replaceSubstring(sLine\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//if(len(trim(sLine))>0)//crlf////tab////tab////tab////tab////tab////tab////round hours to 2 decimals//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\3\\comma\\formatNumber(value(getElement(sLine\\comma\\3))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////round rate to 2 decimals//crlf////tab////tab////tab////tab////tab////tab//if(getElementCount(sLine)>4)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\4\\comma\\formatNumber(value(getElement(sLine\\comma\\4))\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Paycor//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\Paycor\\quot\\)//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////tab////tab////crlf////tab////tab////tab////tab////remove all quotes//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//TtlRegHrs=0//crlf////tab////tab////tab////tab//TtlOvtHrs=0//crlf////tab////tab////tab////tab//TtlTips=0//crlf////crlf////tab////tab////tab////tab////perform cleanup on each line//crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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(len(trim(sLine))>0)//crlf////tab////tab////tab////tab////tab////tab//sRecordType=removeQuotes(getElement(sLine\\comma\\0))//crlf////tab////tab////tab////tab////tab////tab//if(sRecordType=\\quot\\R\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\0\\comma\\char(0x44))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\1\\comma\\padLeft(getElement(sLine\\comma\\1)\\comma\\6\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\2\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//dHrs=floor(value(getElement(sLine\\comma\\3))*100)//crlf////tab////tab////tab////tab////tab////tab////tab//TtlRegHrs=TtlRegHrs\\plus\\dHrs//crlf////tab////tab////tab////tab////tab////tab////tab//d=formatNumber(dHrs\\comma\\\\quot\\0\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\3\\comma\\padLeft(d\\plus\\\\quot\\00\\quot\\\\comma\\8\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\4\\comma\\padLeft(\\quot\\\\quot\\\\comma\\7\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\5\\comma\\padLeft(\\quot\\\\quot\\\\comma\\9\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\6\\comma\\padLeft(\\quot\\\\quot\\\\comma\\10\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\7\\comma\\padLeft(\\quot\\\\quot\\\\comma\\8\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\8\\comma\\padLeft(\\quot\\\\quot\\\\comma\\10\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\9\\comma\\padLeft(\\quot\\\\quot\\\\comma\\8\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\10\\comma\\padLeft(\\quot\\\\quot\\\\comma\\10\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\11\\comma\\padLeft(value(getElement(sLine\\comma\\11))*100000\\comma\\8\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\12\\comma\\padRight(getElement(sLine\\comma\\12)\\comma\\14\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\13\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\14\\comma\\\\quot\\BW\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\15\\comma\\\\quot\\1\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\16\\comma\\padLeft(\\quot\\\\quot\\\\comma\\8\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//elseif(sRecordType=\\quot\\O\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\0\\comma\\char(0x44))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\1\\comma\\padLeft(getElement(sLine\\comma\\1)\\comma\\6\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\2\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\3\\comma\\padLeft(\\quot\\\\quot\\\\comma\\7\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//dHrs=floor(value(getElement(sLine\\comma\\4))*100)//crlf////tab////tab////tab////tab////tab////tab////tab//TtlOvtHrs=TtlOvtHrs\\plus\\dHrs//crlf////tab////tab////tab////tab////tab////tab////tab//d=formatNumber(dHrs\\comma\\\\quot\\0\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\4\\comma\\padLeft(d\\plus\\\\quot\\00\\quot\\\\comma\\8\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\5\\comma\\padLeft(\\quot\\\\quot\\\\comma\\9\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\6\\comma\\padLeft(\\quot\\\\quot\\\\comma\\10\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\7\\comma\\padLeft(\\quot\\\\quot\\\\comma\\8\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\8\\comma\\padLeft(\\quot\\\\quot\\\\comma\\10\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\9\\comma\\padLeft(\\quot\\\\quot\\\\comma\\8\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\10\\comma\\padLeft(\\quot\\\\quot\\\\comma\\10\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\11\\comma\\padLeft(value(getElement(sLine\\comma\\11))*100000\\comma\\8\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\12\\comma\\padRight(getElement(sLine\\comma\\12)\\comma\\14\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\13\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\14\\comma\\\\quot\\BW\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\15\\comma\\\\quot\\1\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\16\\comma\\padLeft(\\quot\\\\quot\\\\comma\\8\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\0\\comma\\char(0x44))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\1\\comma\\padLeft(getElement(sLine\\comma\\1)\\comma\\6\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\2\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\3\\comma\\padLeft(\\quot\\\\quot\\\\comma\\7\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\4\\comma\\padLeft(\\quot\\\\quot\\\\comma\\8\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\5\\comma\\padLeft(\\quot\\\\quot\\\\comma\\9\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\6\\comma\\padLeft(\\quot\\\\quot\\\\comma\\10\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//dTips=floor(value(getElement(sLine\\comma\\7))*100)//crlf////tab////tab////tab////tab////tab////tab////tab//TtlTips=TtlTips\\plus\\dTips//crlf////tab////tab////tab////tab////tab////tab////tab//d=formatNumber(dTips\\comma\\\\quot\\0\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\7\\comma\\padLeft(d\\comma\\8\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\8\\comma\\padRight(\\quot\\Tips\\quot\\\\comma\\10\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\9\\comma\\padLeft(\\quot\\\\quot\\\\comma\\8\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\10\\comma\\padLeft(\\quot\\\\quot\\\\comma\\10\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\11\\comma\\padLeft(value(getElement(sLine\\comma\\11))*100000\\comma\\8\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\12\\comma\\padRight(getElement(sLine\\comma\\12)\\comma\\14\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\13\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\14\\comma\\\\quot\\BW\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\15\\comma\\\\quot\\1\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\16\\comma\\padLeft(\\quot\\\\quot\\\\comma\\8\\comma\\\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////remove all commas//crlf////tab////tab////tab////tab//sNewOutput=replaceSubstring(sNewOutput\\comma\\char(0x2C)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sNewOutput=replaceSubstring(sNewOutput\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\ \\quot\\)//crlf////crlf////tab////tab////tab////tab////add header line//crlf////tab////tab////tab////tab//sHeader=\\quot\\HPAYCOR01\\quot\\\\plus\\formatDate(now()\\comma\\\\quot\\MM/dd/yyyy\\quot\\)\\plus\\padRight(\\quot\\\\quot\\\\comma\\37\\comma\\\\quot\\ \\quot\\)\\plus\\char(0x4E)//crlf////tab////tab////tab////tab//sHeader=sHeader\\plus\\formatDate(parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\\\quot\\MM/dd/yyyy\\quot\\)//crlf////tab////tab////tab////tab//sNewOutput=sHeader\\plus\\char(13)\\plus\\char(10)\\plus\\sNewOutput//crlf////crlf////tab////tab////tab////tab////add trailer//crlf////tab////tab////tab////tab//sTrailer=\\quot\\T\\quot\\\\plus\\padLeft(formatNumber(TtlRegHrs/100\\comma\\\\quot\\0.00\\quot\\)\\plus\\\\quot\\00\\quot\\\\comma\\13\\comma\\\\quot\\0\\quot\\)//crlf////tab////tab////tab////tab//sTrailer=sTrailer\\plus\\padLeft(formatNumber(TtlOvtHrs/100\\comma\\\\quot\\0.00\\quot\\)\\plus\\\\quot\\00\\quot\\\\comma\\13\\comma\\\\quot\\0\\quot\\)//crlf////tab////tab////tab////tab//sTrailer=sTrailer\\plus\\padLeft(formatNumber(0\\comma\\\\quot\\0.00\\quot\\)\\plus\\\\quot\\00\\quot\\\\comma\\13\\comma\\\\quot\\0\\quot\\)//crlf////tab////tab////tab////tab//sTrailer=sTrailer\\plus\\padLeft(formatNumber(TtlTips/100\\comma\\\\quot\\0.00\\quot\\)\\comma\\11\\comma\\\\quot\\0\\quot\\)//crlf////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sTrailer//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Paycor2019//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\Paycor2019\\quot\\)//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x13)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////perform cleanup on each line//crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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//sLine=replaceSubstring(sLine\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//if(len(trim(sLine))>0)//crlf////crlf////tab////tab////tab////tab////tab////tab////round regular hours to 2 decimals//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\2\\comma\\formatNumber(value(getElement(sLine\\comma\\2))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////round overtime hours to 2 decimals//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\3\\comma\\formatNumber(value(getElement(sLine\\comma\\3))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////round tips hours to 2 decimals//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\7\\comma\\formatNumber(value(getElement(sLine\\comma\\7))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////add header line//crlf////tab////tab////tab////tab//sNewOutput=\\quot\\Employee Number\\comma\\SSN\\comma\\Regular Hours\\comma\\Overtime Hours\\comma\\Hours Code\\comma\\Coded Hours\\comma\\Amount Code\\comma\\Coded Amount\\comma\\Deduction Code\\comma\\Deduction Amount\\comma\\Deduction Exception Rate\\comma\\Exception Department\\comma\\Exception Rate\\quot\\\\plus\\char(13)\\plus\\char(10)\\plus\\sNewOutput//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Paycor2023//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\Paycor2023\\quot\\)//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x13)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////perform cleanup on each line//crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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//sLine=replaceSubstring(sLine\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//if(len(trim(sLine))>0)//crlf////crlf////tab////tab////tab////tab////tab////tab////round regular hours to 2 decimals//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\2\\comma\\formatNumber(value(getElement(sLine\\comma\\2))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////round overtime hours to 2 decimals//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\3\\comma\\formatNumber(value(getElement(sLine\\comma\\3))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////round charge tips to 2 decimals//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\6\\comma\\formatNumber(value(getElement(sLine\\comma\\6))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////round cash tips to 2 decimals//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\7\\comma\\formatNumber(value(getElement(sLine\\comma\\7))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////add header line//crlf////tab////tab////tab////tab//sNewOutput=\\quot\\Employee Number\\comma\\SSN\\comma\\Regular Hours\\comma\\Overtime Hours\\comma\\Hours Code\\comma\\Coded Hours\\comma\\T\\comma\\Tips\\comma\\Deduction Code\\comma\\Deduction Amount\\comma\\Deduction Exception Rate\\comma\\Exception Department\\comma\\Exception Rate\\quot\\\\plus\\char(13)\\plus\\char(10)\\plus\\sNewOutput//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Paylocity//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\Paylocity\\quot\\)//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////perform cleanup on each line//crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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//sLine=replaceSubstring(sLine\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//if(len(trim(sLine))>0)//crlf////crlf////tab////tab////tab////tab////tab////tab////round hours to 2 decimals//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\3\\comma\\formatNumber(value(getElement(sLine\\comma\\3))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Primepay//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\Primepay\\quot\\)//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////tab////tab////crlf////tab////tab////tab////tab////remove all quotes and cr//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x13)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////tab////perform cleanup on each line//crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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(len(trim(sLine))>0)//crlf////crlf////tab////tab////tab////tab////tab////tab////Fixed D//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\getElement(sLine\\comma\\0)//crlf////crlf////tab////tab////tab////tab////tab////tab////employee number (6 characters)//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\left(padLeft(getElement(sLine\\comma\\1)\\comma\\6\\comma\\\\quot\\0\\quot\\)\\comma\\6)//crlf////crlf////tab////tab////tab////tab////tab////tab////Rate designator (1 space)//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\left(padRight(getElement(sLine\\comma\\2)\\comma\\1\\comma\\\\quot\\ \\quot\\)\\comma\\1)//crlf////crlf////tab////tab////tab//      //Regular hours.  Multiply by 100.  Pad to 6 chracters.//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\padLeft(formatNumber(value(getElement(sLine\\comma\\3))*100\\comma\\\\quot\\\\pound\\\\quot\\)\\comma\\6\\comma\\\\quot\\ \\quot\\)//crlf////crlf////tab////tab////tab//      //Overtime hours.  Multiply by 100.  Pad to 5 chracters.//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\padLeft(formatNumber(value(getElement(sLine\\comma\\4))*100\\comma\\\\quot\\\\pound\\\\quot\\)\\comma\\5\\comma\\\\quot\\ \\quot\\)//crlf////crlf////tab////tab////tab//      //Other hours.  0 padded to 7 characters//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\padLeft(\\quot\\0\\quot\\\\comma\\7\\comma\\\\quot\\ \\quot\\)//crlf////crlf////tab////tab////tab//      //Other hours pay code (2 blanks)//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\\\quot\\  \\quot\\//crlf////crlf////tab////tab////tab//      //Earnings Amt 1.  Total tips multiplied by 100\\comma\\ padded to 8 characters//crlf////tab////tab////tab////tab////tab////tab//dTips=value(getElement(sLine\\comma\\7))//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\padLeft(formatNumber(dTips*100\\comma\\\\quot\\\\pound\\\\quot\\)\\comma\\8\\comma\\\\quot\\ \\quot\\)//crlf////crlf////tab////tab////tab//      //Earnings Pay Code 1.  This is for tips.  21 if there are tips or two blanks if not//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\if(dTips=0\\comma\\\\quot\\  \\quot\\\\comma\\\\quot\\21\\quot\\)//crlf////crlf////tab////tab////tab//      //Earnings Amt 2.  8 spaces//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\padLeft(\\quot\\\\quot\\\\comma\\8\\comma\\\\quot\\ \\quot\\)//crlf////crlf////tab////tab////tab//      //Earnings Pay Code 2.  2 spaces//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\padLeft(\\quot\\\\quot\\\\comma\\2\\comma\\\\quot\\ \\quot\\)//crlf////crlf////tab////tab////tab//      //Exception Rate.  Regular rate * 1000 padded to 6 spaces//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\padLeft(formatNumber(value(getElement(sLine\\comma\\11))*1000\\comma\\\\quot\\\\pound\\\\quot\\)\\comma\\6\\comma\\\\quot\\ \\quot\\)//crlf////crlf////tab////tab////tab//      //Exception Department.  Job code number.  6 characters//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\padLeft(getElement(sLine\\comma\\12)\\comma\\6\\comma\\\\quot\\ \\quot\\)//crlf////crlf////tab////tab////tab//      //Shift Premium (1 space)//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\\\quot\\ \\quot\\//crlf////crlf////tab////tab////tab//      //Exception Frequency (3 spaces)//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\\\quot\\   \\quot\\//crlf////crlf////tab////tab////tab//      //Batch Number (1 space)//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\\\quot\\ \\quot\\//crlf////crlf////tab////tab////tab//      //Set Check Department (2 spaces)//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\\\quot\\  \\quot\\//crlf////crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Sage//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\sage\\quot\\)//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////tab////tab////crlf////tab////tab////tab////tab////remove all quotes//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////tab////perform cleanup on each line//crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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(len(trim(sLine))>0)//crlf////crlf////tab////tab////tab////tab////tab////tab////round amount to 2 decimals.  Note that tips are in a different field number//crlf////tab////tab////tab////tab////tab////tab//if(len(trim(getElement(sLine\\comma\\2)))>0)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\2\\comma\\formatNumber(value(getElement(sLine\\comma\\2))\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////this does the tips//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\3\\comma\\formatNumber(value(getElement(sLine\\comma\\3))\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////lookup rate for overtime records with a rate of 0//crlf////tab////tab////tab////tab////tab////tab//sEarningsCode=getElement(sLine\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab//if(startsWith(sEarningsCode\\comma\\\\quot\\OT\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//dRate=getElement(sLine\\comma\\3)//crlf////tab////tab////tab////tab////tab////tab////tab//appendtoLog(\\quot\\sEarningsCode=\\quot\\\\plus\\sEarningsCode\\plus\\\\quot\\ dRate=\\quot\\\\plus\\dRate)//crlf////tab////tab////tab////tab////tab////tab////tab//if(dRate=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sEmployee=getElement(sLine\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sJobNo=getElement(sLine\\comma\\6)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sKey=sJobNo\\plus\\\\quot\\_\\quot\\\\plus\\sEmployee//crlf////tab////tab////tab////tab////tab////tab////tab////tab//dRate=lookup(POS_Generic_Labor_Detail_Lookup_Reg_Rate_By_Employee_Job\\comma\\sKey\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\true\\comma\\\\quot\\gt(AppRegHours\\comma\\0\\comma\\n)\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Looking up overtime rate.  Key=\\quot\\\\plus\\sKey\\plus\\\\quot\\ value=\\quot\\\\plus\\dRate)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\3\\comma\\formatNumber(dRate\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////crlf////tab////tab////tab////tab////modifications for Smokehouse//crlf////tab////tab////tab////tab//appendToLog(\\quot\\CompanyID=\\quot\\\\plus\\getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\))//crlf////tab////tab////tab////tab//if(getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)=\\quot\\jRkisygzVSPHO8B0BFRnkgLg\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Processing output for Smokehouse\\quot\\)//crlf////tab////tab////tab////tab////tab//sContent=sNewOutput//crlf////tab////tab////tab////tab////tab//sNewContent=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////tab////tab//sContent=replaceSubstring(sContent\\comma\\char(10)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//arJobCode=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////tab////tab////get payroll export code//crlf////tab////tab////tab////tab////tab//sPayrollCompanyCode=lookup(Aspect_Back-Office_Payroll_Company_Code_by_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Payroll company code=\\quot\\\\plus\\sPayrollCompanyCode)//crlf////crlf////tab////tab////tab////tab////tab//c=getElementCount(sContent\\comma\\char(13))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\c=\\quot\\\\plus\\c)//crlf////tab////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab////tab//s=getElement(sContent\\comma\\n\\comma\\char(13))//crlf////crlf////tab////tab////tab////tab////tab////tab////delete column F \\amp\\ H and move column G to C//crlf////tab////tab////tab////tab////tab////tab////add company code as last column//crlf////tab////tab////tab////tab////tab////tab//s1=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab////tab//s1=addElement(s1\\comma\\getElement(s\\comma\\0))//crlf////tab////tab////tab////tab////tab////tab//s1=addElement(s1\\comma\\getElement(s\\comma\\1))//crlf////tab////tab////tab////tab////tab////tab//s1=addElement(s1\\comma\\getElement(s\\comma\\6))//crlf////tab////tab////tab////tab////tab////tab//s1=addElement(s1\\comma\\getElement(s\\comma\\2))//crlf////tab////tab////tab////tab////tab////tab//s1=addElement(s1\\comma\\getElement(s\\comma\\3))//crlf////tab////tab////tab////tab////tab////tab//s1=addElement(s1\\comma\\sPayrollCompanyCode)//crlf////crlf////tab////tab////tab////tab////tab////tab//if(getElement(s1\\comma\\1)=61)//crlf////tab////tab////tab////tab////tab////tab////tab//arJobCode=addElement(arJobCode\\comma\\getElement(s1\\comma\\2))//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab//if(getElement(s1\\comma\\1)=63)//crlf////tab////tab////tab////tab////tab////tab////tab//if(getElementCount(arJobCode)>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1=setElement(s1\\comma\\2\\comma\\getElement(arJobCode\\comma\\0))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1=setElement(s1\\comma\\3\\comma\\getElement(s1\\comma\\4))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s1=setElement(s1\\comma\\4\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//arJobCode=removeElementAt(arJobCode\\comma\\0)//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//s1=setElement(s1\\comma\\3\\comma\\formatNumber(value(getElement(s1\\comma\\3))\\comma\\\\quot\\\\pound\\.\\pound\\\\pound\\\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//s1=setElement(s1\\comma\\4\\comma\\formatNumber(value(getElement(s1\\comma\\4))\\comma\\\\quot\\\\pound\\.\\pound\\\\pound\\\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////multiply rate by 1.5 for records type 62//crlf////tab////tab////tab////tab////tab////tab//if((value(getElement(s1\\comma\\1))=62) or (value(getElement(s1\\comma\\1))=2))//crlf////tab////tab////tab////tab////tab////tab////tab//d1=value(getElement(s1\\comma\\4))//crlf////tab////tab////tab////tab////tab////tab////tab//s1=setElement(s1\\comma\\4\\comma\\formatNumber(d1*1.5\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\n=\\quot\\\\plus\\n\\plus\\\\quot\\ set rate to \\quot\\\\plus\\getElement(s1\\comma\\4))//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\s1=\\quot\\\\plus\\s1)//crlf////tab////tab////tab////tab////tab////tab//sNewContent=sNewContent\\plus\\s1\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////tab//s=fileDrive(sFinalOutputFilename)\\plus\\fileDir(sFinalOutputFilename)\\plus\\fileName(sFinalOutputFilename)\\plus\\\\quot\\.original\\quot\\//crlf////tab////tab////tab////tab////tab//fileCopy(sFinalOutputFilename\\comma\\s)//crlf////tab////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewContent)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////trupay//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\Trupay\\quot\\)//crlf////tab////tab////tab////tab////remove duplicate consecutive employee names and job code names//crlf////tab////tab////tab////tab////add column headers.  This may not be necessary but is done to maintain//crlf////tab////tab////tab////tab////consistency with the file output from Aspect6//crlf////tab////tab////tab////tab////Also\\comma\\ format additional fields //crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//sLastEmpName=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//sLastEmpNo=\\quot\\\\quot\\//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(len(trim(sLine))>0)//crlf////tab////tab////tab////tab////tab////tab////format date as MM-dd-yy//crlf////tab////tab////tab////tab////tab////tab//sDate=getElement(sLine\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab//dt=parseTime(sDate\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\1\\comma\\quote(formatDate(dt\\comma\\\\quot\\MM-dd-yy\\quot\\)))//crlf////tab////crlf////tab////tab////tab////tab////tab////tab////format Time In as hh:mma//crlf////tab////tab////tab////tab////tab////tab//sTime=removeQuotes(getElement(sLine\\comma\\4))//crlf////tab////tab////tab////tab////tab////tab//dt=parseTime(sTime\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//sTime=lowercase(replaceSubstring(formatDate(dt\\comma\\\\quot\\hh:mma\\quot\\)\\comma\\\\quot\\m\\quot\\\\comma\\\\quot\\\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\4\\comma\\quote(sTime))//crlf////crlf////tab////tab////tab////tab////tab////tab////format Time Out as hh:mma//crlf////tab////tab////tab////tab////tab////tab//sTime=removeQuotes(getElement(sLine\\comma\\5))//crlf////tab////tab////tab////tab////tab////tab//dt=parseTime(sTime\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//sTime=lowercase(replaceSubstring(formatDate(dt\\comma\\\\quot\\hh:mma\\quot\\)\\comma\\\\quot\\m\\quot\\\\comma\\\\quot\\\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\5\\comma\\quote(sTime))//crlf////crlf////tab////tab////tab////tab////tab////tab////format regular rate//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\6\\comma\\formatNumber(value(getElement(sLine\\comma\\6))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////format regular hours//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\7\\comma\\formatNumber(value(getElement(sLine\\comma\\7))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////format overtime hours//crlf////tab////tab////tab////tab////tab////tab//dNum=value(getElement(sLine\\comma\\8))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\8\\comma\\if(dNum=0\\comma\\\\quot\\0\\quot\\\\comma\\formatNumber(dNum\\comma\\\\quot\\0.00\\quot\\)))//crlf////crlf////tab////tab////tab////tab////tab////tab////format Cash Tips//crlf////tab////tab////tab////tab////tab////tab//dNum=value(getElement(sLine\\comma\\10))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\10\\comma\\if(dNum=0\\comma\\\\quot\\0\\quot\\\\comma\\formatNumber(dNum\\comma\\\\quot\\0.00\\quot\\)))//crlf////crlf////tab////tab////tab////tab////tab////tab////format Total Tips//crlf////tab////tab////tab////tab////tab////tab//dNum=value(getElement(sLine\\comma\\11))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\11\\comma\\if(dNum=0\\comma\\\\quot\\0\\quot\\\\comma\\formatNumber(dNum\\comma\\\\quot\\0.00\\quot\\)))//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////format Total Pay//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\12\\comma\\formatNumber(value(getElement(sLine\\comma\\12))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab//sEmpName=getElement(sLine\\comma\\2)//crlf////tab////tab////tab////tab////tab////tab//sEmpNo=getElement(sLine\\comma\\3)//crlf////tab////tab////tab////tab////tab////tab//if((sEmpName=sLastEmpName) and (sEmpNo=sLastEmpNo))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\2\\comma\\quote(\\quot\\\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\3\\comma\\quote(\\quot\\\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//sLastEmpName=sEmpName//crlf////tab////tab////tab////tab////tab////tab////tab//sLastEmpNo=sEmpNo//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////add column headers//crlf////tab////tab////tab////tab//sHeader=replaceSubstring(char(0x27)\\plus\\\\quot\\Store\\apos\\\\comma\\\\apos\\Date\\apos\\\\comma\\\\apos\\Employee\\apos\\\\comma\\\\apos\\Empl No.\\apos\\\\comma\\\\apos\\Approved Time In\\apos\\\\comma\\\\apos\\Approved Time Out\\apos\\\\comma\\\\apos\\Approved Regular Rate\\apos\\\\comma\\\\apos\\Approved Regular Hours\\apos\\\\comma\\\\apos\\Approved Overtime Hours\\apos\\\\comma\\\\apos\\Approved Job Code\\apos\\\\comma\\\\apos\\Cash Tips\\apos\\\\comma\\\\apos\\Total Tips\\apos\\\\comma\\\\apos\\Total Pay\\apos\\\\quot\\\\comma\\char(0x27)\\comma\\char(0x22))//crlf////tab////tab////tab////tab//sNewOutput=sHeader\\plus\\char(13)\\plus\\char(10)\\plus\\sNewOutput//crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////timeworks//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\TimeWorks\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Execute TimeWorks API\\quot\\)//crlf////crlf////tab////tab////tab////tab//sSecretKey=lookup(Aspect_BackOffice_TimeWorks_Key_by_StoreID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab//sSite=lookup(Aspect_Back-Office_Payroll_Company_Code_by_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//sLog=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//if((len(sSecretKey)=0) or (len(sSite)=0))//crlf////tab////tab////tab////tab////tab//s=\\quot\\Error: Missing TimeWorks Key or Site number\\quot\\//crlf////tab////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\s)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////sToken=getTimeWorksToken(sSite\\comma\\\\quot\\twpclient\\quot\\\\comma\\\\quot\\client\\quot\\\\comma\\sSiteID\\comma\\sSecretKey)//crlf////tab////tab////tab////tab////tab//sUrl=\\quot\\http://\\quot\\\\plus\\getToken(\\quot\\AspectServerIP2\\quot\\)//crlf////tab////tab////tab////tab////tab//sUrl=sUrl\\plus\\\\quot\\/?network=aspect_support\\amp\\id=getTimeworksToken\\quot\\//crlf////tab////tab////tab////tab////tab////sUrl=sUrl\\plus\\\\quot\\\\amp\\client=51881\\amp\\key=mpKpbYuAEL8eeRligAWv0i6R8zWCUlqesUmEoBrqh2zZgW3cL7EksA5CYMlRgnMQ\\quot\\//crlf////tab////tab////tab////tab////tab//sUrl=sUrl\\plus\\\\quot\\\\amp\\client=\\quot\\\\plus\\sSite\\plus\\\\quot\\\\amp\\key=\\quot\\\\plus\\sSecretKey//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\gettoken: \\quot\\\\plus\\sUrl)//crlf////tab////tab////tab////tab////tab//sToken=fileGetContent(sUrl)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\sToken=\\quot\\\\plus\\sToken)//crlf////crlf////tab////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////tab////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab////tab//sAPIData=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab//sTimeWorksDebug=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab//cExport=0//crlf////tab////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab////tab//s1=getElement(s\\comma\\n\\comma\\char(10))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\s1=\\quot\\\\plus\\s1)//crlf////tab////tab////tab////tab////tab////tab//sFirstName=removeQuotes(getElement(s1\\comma\\0))//crlf////tab////tab////tab////tab////tab////tab//sLastName=removeQuotes(getElement(s1\\comma\\1))//crlf////tab////tab////tab////tab////tab////tab//sPosID=removeQuotes(getElement(s1\\comma\\2))//crlf////tab////tab////tab////tab////tab////tab//sEmpNumber=removeQuotes(getElement(s1\\comma\\3))//crlf////tab////tab////tab////tab////tab////tab//sDepartment=removeQuotes(getElement(s1\\comma\\4))//crlf////tab////tab////tab////tab////tab////tab//sJob=removeQuotes(getElement(s1\\comma\\5))//crlf////tab////tab////tab////tab////tab////tab//dtIn=parseTime(getElement(s1\\comma\\6)\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//dtOut=parseTime(getElement(s1\\comma\\7)\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//dCashTip=value(getElement(s1\\comma\\8))//crlf////tab////tab////tab////tab////tab////tab//dChargeTip=value(getElement(s1\\comma\\9))//crlf////crlf////tab////tab////tab////tab////tab////tab////for testing//crlf////tab////tab////tab////tab////tab////tab////sEmpNumber=sPosID//crlf////tab////tab////tab////tab////tab////tab////sDepartment=\\quot\\Dept\\quot\\//crlf////tab////tab////tab////tab////tab////tab////sJob=\\quot\\Job\\quot\\//crlf////crlf////tab////tab////tab////tab////tab////tab////add the punch to the data//crlf////tab////tab////tab////tab////tab////tab//sPunch=TimeWorksFormatPunch(sJob\\comma\\sDepartment\\comma\\dtIn\\comma\\dtOut\\comma\\dCashTip\\comma\\dChargeTip) //crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Punch=\\quot\\\\plus\\sPunch)//crlf////tab////tab////tab////tab////tab////tab//sAPIData=sAPIData\\plus\\sPunch//crlf////crlf////tab////tab////tab////tab////tab////tab////get the next employee number//crlf////tab////tab////tab////tab////tab////tab//sNextNumber=\\quot\\-1\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if(n<c-1)//crlf////tab////tab////tab////tab////tab////tab////tab//s2=getElement(s\\comma\\n\\plus\\1\\comma\\char(10))//crlf////tab////tab////tab////tab////tab////tab////tab//sNextEmpNumber=getElement(s1\\comma\\3)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////If the next employee number is different then send the data//crlf////tab////tab////tab////tab////tab////tab//if(sEmpNumber<>sNextNumber)//crlf////tab////tab////tab////tab////tab////tab////tab//sPrefix=sLastName\\plus\\\\quot\\\\comma\\ \\quot\\\\plus\\sFirstName\\plus\\\\quot\\ [\\quot\\\\plus\\sPOSID\\plus\\\\quot\\][\\quot\\\\plus\\sEmpNumber\\plus\\\\quot\\]: \\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//if(len(sEmpNumber)>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sWrapper=char(0x7B)\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sWrapper=sWrapper\\plus\\char(9)\\plus\\quote(\\quot\\NewPunches\\quot\\)\\plus\\\\quot\\: [\\quot\\\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sWrapper=sWrapper\\plus\\sAPIData//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sWrapper=sWrapper\\plus\\char(9)\\plus\\\\quot\\]\\comma\\\\quot\\\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sWrapper=sWrapper\\plus\\char(9)\\plus\\quote(\\quot\\EmployeeId\\quot\\)\\plus\\\\quot\\: \\quot\\\\plus\\quote(sEmpNumber)\\plus\\char(0x2C)\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sWrapper=sWrapper\\plus\\char(9)\\plus\\quote(\\quot\\EmployeeIdType\\quot\\)\\plus\\\\quot\\: \\quot\\\\plus\\quote(\\quot\\employeecode\\quot\\)\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sWrapper=sWrapper\\plus\\char(0x7D)\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sTimeWorksDebug=sTimeWorksDebug\\plus\\sWrapper//crlf////tab////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab//if((true) or (cExport<20))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sPage=\\quot\\/api/\\quot\\\\plus\\sSite\\plus\\\\quot\\/timecards/punch\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sResult=TimeWorksExecAPI(sToken\\comma\\sPage\\comma\\sWrapper\\comma\\\\quot\\post\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sResult=trim(replaceSubstring(sResult\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(len(sResult)=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//sResult=\\quot\\ok\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sLog=sLog\\plus\\sPrefix\\plus\\sResult\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Page: \\quot\\\\plus\\sPage)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\submit punch: [\\quot\\\\plus\\sResult\\plus\\\\quot\\]\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//cExport\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sLog=sLog\\plus\\sPrefix\\plus\\\\quot\\Error: Missing employee number\\quot\\\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//sAPIData=\\quot\\\\quot\\//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////crlf////tab////tab////tab////tab////tab////write the debugging output//crlf////tab////tab////tab////tab////tab//fileWriteContent(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\export/TimeWorksdata.csv\\quot\\\\comma\\sTimeWorksDebug)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\sFinalOutputFilename=\\quot\\\\plus\\sFinalOutputFilename)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\sLog=\\quot\\\\plus\\sLog)//crlf////tab////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sLog)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Darwinet//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\Darwinet\\quot\\)//crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////crlf////tab////tab////tab////tab////remove all quotes//crlf////tab////tab////tab////tab//s=removeChar(s\\comma\\char(0x22))//crlf////crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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(len(trim(sLine))>0)//crlf////tab////tab////tab////tab////tab////tab////set widths//crlf////tab////tab////tab////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\0\\comma\\padRight(left(getElement(sLine\\comma\\0)\\comma\\20)\\comma\\20\\comma\\\\quot\\~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\1\\comma\\padRight(left(getElement(sLine\\comma\\1)\\comma\\10)\\comma\\10\\comma\\\\quot\\~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\2\\comma\\padRight(left(getElement(sLine\\comma\\2)\\comma\\6)\\comma\\6\\comma\\\\quot\\~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\3\\comma\\padRight(left(getElement(sLine\\comma\\3)\\comma\\8)\\comma\\8\\comma\\\\quot\\~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//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////crlf////tab////tab////tab////tab////replace MEALBP\\comma\\MEALBP with MEALP\\comma\\MEALBP.  This is a hardwired fix regarding email on 10/26/22//crlf////tab////tab////tab////tab//sNewOutput=replaceSubstring(sNewOutput\\comma\\\\quot\\MEALBP\\comma\\MEALBP\\quot\\\\comma\\\\quot\\MEALP\\comma\\MEALBP\\quot\\)//crlf////crlf////tab////tab////tab////tab////replace all commas with tabs//crlf////tab////tab////tab////tab////sNewOutput=replaceSubstring(sNewOutput\\comma\\char(0x2C)\\comma\\char(9))//crlf////tab////tab////tab////tab////sNewOutput=replaceSubstring(sNewOutput\\comma\\\\quot\\~\\quot\\\\comma\\\\quot\\ \\quot\\)//crlf////crlf////tab////tab////tab////tab////write the new content//crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////CentralCoast//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\CentralCoast\\quot\\)//crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////crlf////tab////tab////tab////tab////remove all quotes//crlf////tab////tab////tab////tab//s=removeChar(s\\comma\\char(0x22))//crlf////crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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(len(trim(sLine))>0)//crlf////crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\5\\comma\\formatNumber(value(getElement(sLine\\comma\\5))\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\9\\comma\\formatNumber(value(getElement(sLine\\comma\\9))\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\10\\comma\\formatNumber(value(getElement(sLine\\comma\\10))\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\11\\comma\\formatNumber(value(getElement(sLine\\comma\\11))\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\12\\comma\\formatNumber(value(getElement(sLine\\comma\\12))\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\15\\comma\\formatNumber(value(getElement(sLine\\comma\\15))\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\17\\comma\\formatNumber(value(getElement(sLine\\comma\\17))\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\18\\comma\\formatNumber(value(getElement(sLine\\comma\\18))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////format date//crlf////tab////tab////tab////tab////tab////tab//dt=parseTime(getElement(sLine\\comma\\6)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\6\\comma\\formatDate(dt\\comma\\\\quot\\M/d/yyyy\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////format time in//crlf////tab////tab////tab////tab////tab////tab//dt=parseTime(getElement(sLine\\comma\\7)\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\7\\comma\\formatDate(dt\\comma\\\\quot\\HH:mm\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////format time out//crlf////tab////tab////tab////tab////tab////tab//dt=parseTime(getElement(sLine\\comma\\8)\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\8\\comma\\formatDate(dt\\comma\\\\quot\\HH:mm\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////add column headers//crlf////tab////tab////tab////tab//sNewOutput=\\quot\\Store_Name\\comma\\Employee_Number\\comma\\First_Name\\comma\\Last_Name\\comma\\Emp_Job_Code\\comma\\Reg_Pay_Rate\\comma\\Date\\comma\\Clock_In_Time\\comma\\Clock_Out_Time\\comma\\Reg_Hrs\\comma\\OT_Hrs\\comma\\DT_Hrs\\comma\\Total_Hrs\\comma\\Unpaid_Brk_Minutes\\comma\\Paid_Brk_Minutes\\comma\\Emp_Sales\\comma\\Check_Count\\comma\\CC_Tips\\comma\\Cash_Tips\\quot\\\\plus\\char(13)\\plus\\char(10)\\plus\\sNewOutput//crlf////crlf////tab////tab////tab////tab////replace commas with tabs//crlf////tab////tab////tab////tab////sNewOutput=replaceSubstring(sNewOutput\\comma\\char(0x2C)\\comma\\char(9))//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////iSolved//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\iSolved\\quot\\)//crlf////tab////tab////tab////tab//sNewOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////crlf////tab////tab////tab////tab////remove all quotes//crlf////tab////tab////tab////tab//s=removeChar(s\\comma\\char(0x22))//crlf////crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=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(len(trim(sLine))>0)//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\1\\comma\\formatNumber(value(getElement(sLine\\comma\\1))\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\2\\comma\\formatNumber(value(getElement(sLine\\comma\\2))\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\3\\comma\\formatNumber(value(getElement(sLine\\comma\\3))\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\4\\comma\\formatNumber(value(getElement(sLine\\comma\\4))\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\6\\comma\\formatNumber(value(getElement(sLine\\comma\\6))\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\7\\comma\\formatNumber(value(getElement(sLine\\comma\\7))\\comma\\\\quot\\0.00\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////two new columns were inserted 3/29/24.  The first is regular dollars / regular hours //crlf////tab////tab////tab////tab////tab////tab////and the 2nd is blank.  They go just after the first column=//crlf////tab////tab////tab////tab////tab////tab//if(true)//crlf////tab////tab////tab////tab////tab////tab////tab//p=pos(\\quot\\\\comma\\\\quot\\\\comma\\sLine)//crlf////tab////tab////tab////tab////tab////tab////tab//dRegHrs=value(getElement(sLine\\comma\\1))//crlf////tab////tab////tab////tab////tab////tab////tab//dRegPay=value(getElement(sLine\\comma\\2))//crlf////tab////tab////tab////tab////tab////tab////tab//dbl=div(dRegPay\\comma\\dRegHrs)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine2=left(sLine\\comma\\p)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine2=addElement(sLine2\\comma\\formatNumber(dbl\\comma\\\\quot\\0.00\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine2=addElement(sLine2\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine2=sLine2\\plus\\substring(sLine\\comma\\p)//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////added 6 new blank columns 4/4/2024//crlf////tab////tab////tab////tab////tab////tab////tab//sLine2=sLine2\\plus\\\\quot\\\\comma\\\\comma\\\\comma\\\\comma\\\\comma\\\\comma\\\\quot\\//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sLine2\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////add column headers - modified 3/29/24//crlf////tab////tab////tab////tab////sNewOutput=\\quot\\Key\\comma\\E_Regular_Hours\\comma\\E_Regular_Dollars\\comma\\E_Overtime_Hours\\comma\\E_Overtime_Dollars\\comma\\LaborValue2\\comma\\E_Tips Cash_Dollars\\comma\\E_Tips CC_Dollars\\quot\\\\plus\\char(13)\\plus\\char(10)\\plus\\sNewOutput//crlf////tab////tab////tab////tab////sNewOutput=\\quot\\Key\\comma\\E_Regular_ORRate\\comma\\\\pound\\E_Overtime_ORPremium\\comma\\E_Regular_Hours\\comma\\E_Regular_Dollars\\comma\\E_Overtime_Hours\\comma\\E_Overtime_Dollars\\comma\\LaborValue2\\comma\\E_Tips Cash_Dollars\\comma\\E_Tips CC_Dollars\\quot\\\\plus\\char(13)\\plus\\char(10)\\plus\\sNewOutput//crlf////crlf////tab////tab////tab////tab////added 6 new blank columns 4/4/2024//crlf////tab////tab////tab////tab//sNewOutput=\\quot\\Key\\comma\\E_Regular_ORRate\\comma\\\\pound\\E_Overtime_ORPremium\\comma\\E_Regular_Hours\\comma\\E_Regular_Dollars\\comma\\E_Overtime_Hours\\comma\\E_Overtime_Dollars\\comma\\LaborValue2\\comma\\E_Tips Cash_Dollars\\comma\\E_Tips CC_Dollars\\comma\\E_Tipped Regular_ORRate\\comma\\E_Tipped Regular_ORPremium\\comma\\E_Tipped Regular_Hours\\comma\\E_Tipped Regular_Dollars\\comma\\E_Tipped Overtime_Hours\\comma\\E_Tipped Overtime_Dollars\\quot\\\\plus\\char(13)\\plus\\char(10)\\plus\\sNewOutput//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sNewOutput)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////close the daily labor driver//crlf////tab////tab////tab//driverClose(dLaborDetail)//crlf////crlf////tab////tab////tab////copy the final output to the filename specified in the store record//crlf////tab////tab////tab//sOutputFilename=lookup(Aspect_BackOffice_Payroll_Export_Filename_by_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab//if(len(trim(sOutputFilename))>0)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Copying payroll export to \\quot\\\\plus\\sOutputFilename)//crlf////tab////tab////tab////tab//fileCopy(sFinalOutputFilename\\comma\\sOutputFilename)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\No payroll output file name specified in store record\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//s=trim(fileGetContent(sFinalOutputFilename))//crlf////tab////tab////tab//if(len(s)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Nothing to export\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////if exporting to ADP\\comma\\ return both the export file and the exported employee file//crlf////tab////tab////tab//if((sExportFormat=\\quot\\adp\\quot\\) or (sExportFormat=\\quot\\creative_solutions\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Ok.\\quot\\\\plus\\char(09)\\plus\\s\\plus\\char(09)\\plus\\fileGetContent(sEmployeeOutputFilename))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok.\\quot\\\\plus\\char(09)\\plus\\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=165202|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=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=553649|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=<select onChange=\\quot\\showTab(this)\\quot\\>//crlf////tab//<option value='686747'>Export Files</option>//crlf////tab//<option value='725286'>Export Files - Include</option>//crlf////tab//<option value='857723'>Create Dummy Earnings Codes</option>//crlf////tab//<option value='266655'>Test Sage export modification for smokehouse</option>//crlf////tab//<option value='898504'>Placeholder 5</option>//crlf////tab//<option value='919497'>Placeholder 6</option>//crlf////tab//<option value='996677'>Placeholder 7</option>//crlf////tab//<option value='483965'>Placeholder 8</option>//crlf//</select>//crlf//^
ID=686747|X=151|Y=33|W=827|H=698|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=553649|AttachLeft=|AlignLeft=553649|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 displays a select box used to select the export file to be //crlf//viewed.  It also includes the consolidated driver containing all export //crlf//files and the final output.//crlf//Content is displayed by including the Export Files - Content item.//crlf//--------------------------------------------------------------------------]//crlf////crlf//<conditional expression:(true) or (defined(\\quot\\__getContent\\quot\\))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Set constant for store ID//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//s=fileGetContent(getToken(\\quot\\temporary_files\\quot\\)+\\quot\\labor_export_metadata.$$$\\quot\\)//crlf////tab////tab//sStoreID=getElement(s\\comma\\0\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//return(htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sStoreID))//crlf////tab//\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Set constant for initial content selection//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\SelectedContent\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\final\\quot\\)>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Javascript used to update the content when the select box changes//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<script ID=\\quot\\JSLaborExportOutput\\quot\\>//crlf////tab////tab//function laborExportContentSelected(e\\comma\\salt)//tab//{//crlf////tab////tab////tab//var d=document.getElementById(salt+\\quot\\LaborExportContent\\quot\\);//crlf////tab////tab////tab//var sUrl=d.getAttribute(\\quot\\_url\\quot\\);//crlf////tab////tab////tab//var sUrl=sUrl+\\quot\\//amp//getContent=\\quot\\+e.value+\\quot\\//amp//salt=\\quot\\+salt;//crlf////tab////tab////tab//showStatusIcon(d);//crlf////tab////tab////tab//asynchInclude(d\\comma\\sUrl);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Read export definitions and store code.  Set constants and create a select//crlf////tab//box used to select an output file//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<select onChange=\\quot\\laborExportContentSelected(this\\comma\\'__salt__')\\quot\\>//crlf////tab////tab//<option value=\\quot\\final\\quot\\ selected=\\quot\\selected\\quot\\>Final Output</option>//crlf////tab////tab//<option value=\\quot\\Consolidated\\quot\\>Consolidated Output</option>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//s=fileGetContent(getToken(\\quot\\temporary_files\\quot\\)+\\quot\\labor_export_metadata.$$$\\quot\\)//crlf////tab////tab////tab//sStoreID=getElement(s\\comma\\0\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arMergeID=getElement(s\\comma\\1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\arMergeID=\\quot\\+arMergeID)//crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(arMergeID)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sMergeID=getElement(arMergeID\\comma\\n)//crlf////tab////tab////tab////tab//sMergeName=lookup(Aspect_Merge_Definition_Name_by_ID\\comma\\sMergeID)//crlf////crlf////tab////tab////tab////tab////add an option for the export file//crlf////tab////tab////tab////tab//sResult=sResult+quote(\\quot\\option value=\\quot\\+quote(sMergeID\\comma\\char(0x27))\\comma\\char(0x3C))//crlf////tab////tab////tab////tab//sResult=sResult+sMergeName+quote(\\quot\\/option\\quot\\\\comma\\char(0x3c))+char(13)+char(10)//crlf////crlf////tab////tab////tab////tab////add an option for the export file read as a tab-delimited file//crlf////tab////tab////tab////tab//sResult=sResult+quote(\\quot\\option value=\\quot\\+quote(\\quot\\_\\quot\\+sMergeID\\comma\\char(0x27))\\comma\\char(0x3C))//crlf////tab////tab////tab////tab//sResult=sResult+sMergeName+\\quot\\ (tab-delimited)\\quot\\+quote(\\quot\\/option\\quot\\\\comma\\char(0x3c))+char(13)+char(10)//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//appendToLog(\\quot\\sResult=\\quot\\+sResult)//crlf////tab////tab////tab//return(sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</select>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Include the selected content.  The content is loaded using an interval and//crlf////tab//a url.  The div is initialized using an include tag to display the final//crlf////tab//output file.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div //tab////crlf////tab////tab//ID=\\quot\\__salt__LaborExportContent\\quot\\ //crlf////tab////tab//interval='0' //crlf////tab////tab//style='width:100\\percent\\;' //crlf////tab////tab//_url='__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//source=//crlf////tab////tab////tab////amp//DocumentID=oi85fK8kFTQDVVcRTsBH6W5i//amp//Widget=Export Payroll//amp//ContainerItemID=725286'>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Initialize the div with the final labor export output//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\\oi85fK8kFTQDVVcRTsBH6W5i\\quot\\; //crlf////tab////tab////tab//widget:\\quot\\Export Payroll\\quot\\; //crlf////tab////tab////tab//containerItemID:\\quot\\725286\\quot\\; //crlf////tab////tab////tab//params:\\quot\\getContent=final\\quot\\;>//tab////crlf////tab//</div> //crlf//</conditional>//crlf////crlf//<div style=\\quot\\width:100px;height:600px\\quot\\></div>//crlf//^
ID=725286|X=151|Y=33|W=827|H=698|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=553649|AttachLeft=|AlignLeft=553649|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Gets the content for a labor export file//crlf////crlf//Parameters//crlf////tab//getContent - A value indicating the content to be returned.  Values of //crlf////tab////tab//\\quot\\final\\quot\\ and \\quot\\consolidated\\quot\\ return either the final output or the //crlf////tab////tab//consolidated driver used to produce the final output.//crlf////tab////tab//The value may also be a merge ID or a merge ID preceeded by an underscore.//crlf////tab////tab//When a merge ID is passed\\comma\\ the driver and filename are determined from //crlf////tab////tab//the merge ID.  When the merge ID is preceeded by an underscore\\comma\\ the //crlf////tab////tab//tab-delimited driver used in the consolidated driver is used to open//crlf////tab////tab//the driver//crlf//--------------------------------------------------------------------------]//crlf////crlf//<conditional expression:not(defined(\\quot\\__getContent__\\quot\\))>//crlf////tab//<h1>GetContent=__GetContent__</h1>//crlf//</conditional>//crlf////crlf//<conditional expression:defined(\\quot\\__getContent__\\quot\\)>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Set constants for the Driver ID\\comma\\ Metadata\\comma\\ Filename and title//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//if(\\quot\\__getContent__\\quot\\=\\quot\\final\\quot\\)//crlf////tab////tab////tab//sTitle=\\quot\\Final Output\\quot\\//crlf////tab////tab////tab//sDriverID=\\quot\\Aspect_BackOffice_Labor_Export_Final\\quot\\//crlf////tab////tab////tab//sMetadata=\\quot\\Final\\quot\\//crlf////tab////tab////tab//sAddDriverParams=\\quot\\Filename=\\quot\\+getToken(\\quot\\temporary_files\\quot\\)+\\quot\\labor_export_final.csv\\quot\\//crlf////tab////tab//elseif(\\quot\\__getContent__\\quot\\=\\quot\\consolidated\\quot\\)//crlf////tab////tab////tab//sTitle=\\quot\\Consolidated\\quot\\//crlf////tab////tab////tab//sDriverID=\\quot\\Aspect_BackOffice_Labor_Export_Consolidated\\quot\\//crlf////tab////tab////tab//sMetadata=\\quot\\Consolidated\\quot\\//crlf////crlf////tab////tab////tab//s=fileGetContent(getToken(\\quot\\temporary_files\\quot\\)+\\quot\\labor_export_metadata.$$$\\quot\\)//crlf////tab////tab////tab//arMergeID=getElement(s\\comma\\1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//sAddDriverParams=\\quot\\MergeID=\\quot\\+arMergeID//crlf////tab////tab//else//crlf////tab////tab////tab//if(startsWith(\\quot\\__getContent__\\quot\\\\comma\\\\quot\\_\\quot\\))//crlf////tab////tab////tab////tab//bTabDelimited=true//crlf////tab////tab////tab////tab//sMergeID=substring(\\quot\\__getContent__\\quot\\\\comma\\1)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//bTabDelimited=false//crlf////tab////tab////tab////tab//sMergeID=\\quot\\__getContent__\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the merge name//crlf////tab////tab////tab//sTitle=lookup(Aspect_Merge_Definition_Name_by_ID\\comma\\sMergeID)//crlf////crlf////tab////tab////tab//if(bTabDelimited)//crlf////tab////tab////tab////tab//sDriverID=Aspect_BackOffice_Labor_Export_Tab_Delimited//crlf////tab////tab////tab////tab//sTitle=sTitle+\\quot\\ (Tab Delimited)\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sDriverID=lookup(Aspect_Merge_Definition_Dest_Driver_ID_by_ID\\comma\\sMergeID)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sAddDriverParams=\\quot\\Filename=\\quot\\+getToken(\\quot\\temporary_files\\quot\\)+\\quot\\payroll_export_\\quot\\+sMergeID+\\quot\\.$$$\\quot\\//crlf////tab////tab////tab//sMetadata=\\quot\\__getContent__\\quot\\//crlf////tab////tab//endif//crlf////crlf////tab////tab//s=htmlConstant(\\quot\\Title\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sTitle)//crlf////tab////tab//s=s+htmlConstant(\\quot\\DriverID\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sDriverID)//crlf////tab////tab//s=s+htmlConstant(\\quot\\Metadata\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sMetadata)//crlf////tab////tab//s=s+htmlConstant(\\quot\\AddDriverParams\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sAddDriverParams)//crlf////tab////tab//return(s)//crlf////tab//\\quot\\>//crlf////crlf////tab//<h1>__Title__</h1>//crlf////tab//<div style=\\quot\\display:none\\quot\\>//crlf////tab////tab//DriverID: __DriverID__<br>//crlf////tab////tab//Metadata: __Metadata__<br>//crlf////tab////tab//AddDriverParams: __AddDriverParams__<br>//crlf////tab////tab//<br>//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\\\\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\\__AddDriverParams__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACKOFFICE_LABOR_EXPORT___Metadata__\\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\\ASPECT_BACKOFFICE_LABOR_EXPORT_FINALDialog\\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//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//</conditional>^
ID=857723|X=151|Y=33|W=827|H=698|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=553649|AttachLeft=|AlignLeft=553649|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional type:expression; expression:(false)>//crlf////tab//<!include type:script; commands:\\quot\\//tab////crlf////tab////tab//driverOpen(POS_Generic_JobCode_Dta\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=KZX2VBNGExCTHrLmixKxY8eJ\\quot\\)//crlf////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//c=driverGetRecordCount(d)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//driverPutField(d\\comma\\\\quot\\PR_Number\\quot\\\\comma\\n\\comma\\n)//crlf////tab////tab////tab//driverPutField(d\\comma\\\\quot\\RegHrs_Code\\quot\\\\comma\\n\\comma\\\\quot\\RH\\quot\\+n)//crlf////tab////tab////tab//driverPutField(d\\comma\\\\quot\\OvtHrs_Code\\quot\\\\comma\\n\\comma\\\\quot\\OT\\quot\\+n)//crlf////tab////tab////tab//driverPutField(d\\comma\\\\quot\\Tips_Code\\quot\\\\comma\\n\\comma\\\\quot\\TIP\\quot\\+n)//crlf////tab////tab////tab//driverPutField(d\\comma\\\\quot\\Sales_Code\\quot\\\\comma\\n\\comma\\\\quot\\Sls\\quot\\+n)//crlf////tab////tab////tab//driverPutField(d\\comma\\\\quot\\Union_Code\\quot\\\\comma\\n\\comma\\\\quot\\Un\\quot\\+n)//crlf////tab////tab////tab//driverPutField(d\\comma\\\\quot\\Cash_Tips_Code\\quot\\\\comma\\n\\comma\\\\quot\\CASHTIP\\quot\\+n)//crlf////tab////tab////tab//driverPutField(d\\comma\\\\quot\\Charge_Tips_Code\\quot\\\\comma\\n\\comma\\\\quot\\CHGTIP\\quot\\+n)//crlf////tab////tab////tab//n++//crlf////tab////tab//endwhile//crlf////tab////tab//driverClose(d)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=266655|X=151|Y=33|W=827|H=698|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=553649|AttachLeft=|AlignLeft=553649|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Delete Column F and H//crlf//Insert Column G as Column C//crlf//When Column B=63 Move total in same row Column E to same roll Column D//crlf//When Column B=63 Add proper job code in same row Column C //crlf//All Empty Cells in Column E needs a 0//crlf//Column F=Company Code (Found in Sage Export Format) in every row//crlf//Attached is the Sage original and the Modified result after these steps have been applied.//crlf//--------------------------------------------------------------------------]//crlf////crlf//<conditional expression:false>//crlf////tab//<include type:script; commands:\\quot\\//crlf////tab////tab//sFileIn=\\quot\\C:\temp\2019-07\smokehouse\test\Sage Original.csv\\quot\\//crlf////tab////tab//sFileOut=\\quot\\C:\temp\2019-07\smokehouse\test\Sage Modified1.csv\\quot\\//crlf////crlf////tab////tab//sContent=fileGetContent(sFileIn)//crlf////tab////tab//sNewContent=\\quot\\\\quot\\//crlf////crlf////tab////tab//sContent=replaceSubstring(sContent\\comma\\char(10)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//arJobCode=\\quot\\\\quot\\//crlf////crlf////tab////tab//c=getElementCount(sContent\\comma\\char(13))//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//s=getElement(sContent\\comma\\n\\comma\\char(13))//crlf////crlf////tab////tab////tab////delete column F //amp// H and move column G to C//crlf////tab////tab////tab////add company code as last column//crlf////tab////tab////tab//s1=\\quot\\\\quot\\//crlf////tab////tab////tab//s1=addElement(s1\\comma\\getElement(s\\comma\\0))//crlf////tab////tab////tab//s1=addElement(s1\\comma\\getElement(s\\comma\\1))//crlf////tab////tab////tab//s1=addElement(s1\\comma\\getElement(s\\comma\\6))//crlf////tab////tab////tab//s1=addElement(s1\\comma\\getElement(s\\comma\\2))//crlf////tab////tab////tab//s1=addElement(s1\\comma\\getElement(s\\comma\\3))//crlf////tab////tab////tab//s1=addElement(s1\\comma\\\\quot\\5\\quot\\)//crlf////crlf////tab////tab////tab//if(getElement(s1\\comma\\1)=61)//crlf////tab////tab////tab////tab//arJobCode=addElement(arJobCode\\comma\\getElement(s1\\comma\\2))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\arJobCode1=\\quot\\+arJobCode)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(getElement(s1\\comma\\1)=63)//crlf////tab////tab////tab////tab//if(getElementCount(arJobCode)>0)//crlf////tab////tab////tab////tab////tab//s1=setElement(s1\\comma\\2\\comma\\getElement(arJobCode\\comma\\0))//crlf////tab////tab////tab////tab////tab//s1=setElement(s1\\comma\\3\\comma\\getElement(s1\\comma\\4))//crlf////tab////tab////tab////tab////tab//s1=setElement(s1\\comma\\4\\comma\\0)//crlf////tab////tab////tab////tab////tab//arJobCode=removeElementAt(arJobCode\\comma\\0)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\arJobCode2=\\quot\\+arJobCode)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//s1=setElement(s1\\comma\\3\\comma\\formatNumber(value(getElement(s1\\comma\\3))\\comma\\\\quot\\//pound//.//pound////pound//\\quot\\))//crlf////tab////tab////tab//s1=setElement(s1\\comma\\4\\comma\\formatNumber(value(getElement(s1\\comma\\4))\\comma\\\\quot\\//pound//.//pound////pound//\\quot\\))//crlf////crlf////tab////tab////tab//sNewContent=sNewContent+s1+char(13)+char(10)//crlf////tab////tab////tab//n++//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//fileWriteContent(sFileOut\\comma\\sNewContent)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf//^
ID=898504|X=151|Y=33|W=827|H=698|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=553649|AttachLeft=|AlignLeft=553649|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=919497|X=151|Y=33|W=827|H=698|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=553649|AttachLeft=|AlignLeft=553649|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=996677|X=151|Y=33|W=827|H=698|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=553649|AttachLeft=|AlignLeft=553649|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=483965|X=151|Y=33|W=827|H=698|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=553649|AttachLeft=|AlignLeft=553649|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=872347|X=1076|Y=135|W=591|H=210|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>Initialize job codes</h1>//crlf//<conditional expression:getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\4idczse69\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////crlf////tab////tab////initialize job codes for The Abbey//crlf////tab////tab//if(false)//crlf////tab////tab////tab//driverOpen(POS_Generic_JobCode_Dta\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=C:\aspect7\stores\the_abbey\jobcode.bin\\quot\\)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(d)//crlf////tab////tab////tab//appendToLog(\\quot\\c=\\quot\\+c)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sCode=driverGetField(d\\comma\\\\quot\\Name\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\PR_Number\\quot\\\\comma\\n\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\RegHrs_Code\\quot\\\\comma\\n\\comma\\\\quot\\HRREG\\quot\\)//crlf////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\OvtHrs_Code\\quot\\\\comma\\n\\comma\\\\quot\\HROT\\quot\\)//crlf////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\Doubletime_Code\\quot\\\\comma\\n\\comma\\\\quot\\DTOT\\quot\\)//crlf////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\Tips_Code\\quot\\\\comma\\n\\comma\\\\quot\\TIPS-R\\quot\\)//crlf////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\Meal_Penalty_code\\quot\\\\comma\\n\\comma\\\\quot\\MEALP\\quot\\)//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab//endif//crlf////crlf////tab////tab////initialize employee numbers - the abbey//crlf////tab////tab//if(false)//crlf////tab////tab////tab//driverOpen(POS_Generic_Employee_Dta\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=C:\aspect7\stores\the_abbey\employee.bin\\quot\\)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(d)//crlf////tab////tab////tab//appendToLog(\\quot\\c=\\quot\\+c)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\PayNumber\\quot\\\\comma\\n\\comma\\driverGetField(d\\comma\\\\quot\\POS_Number\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab//endif//crlf////crlf////tab////tab////initialize job codes for The Central Coast//crlf////tab////tab//if(false)//crlf////tab////tab////tab//driverOpen(POS_Generic_JobCode_Dta\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=C:\aspect7\stores\central_coast_linda\jobcode.bin\\quot\\)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(d)//crlf////tab////tab////tab//appendToLog(\\quot\\c=\\quot\\+c)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sCode=driverGetField(d\\comma\\\\quot\\Name\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\PR_Number\\quot\\\\comma\\n\\comma\\sCode)//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab//endif//crlf////crlf////tab////tab////initialize employee numbers - Central Coast//crlf////tab////tab//if(false)//crlf////tab////tab////tab//driverOpen(POS_Generic_Employee_Dta\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=C:\aspect7\stores\central_coast_linda\employee.bin\\quot\\)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(d)//crlf////tab////tab////tab//appendToLog(\\quot\\c=\\quot\\+c)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\PayNumber\\quot\\\\comma\\n\\comma\\driverGetField(d\\comma\\\\quot\\POS_Number\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab//endif//crlf////crlf////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf//
</widget><widget name="Parameter Definitions" group="" category="UI" description="This is a placeholder for labor related param definitions." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Parameter Definitions" modified="07-26-2016 00:21:17" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=07-22-2016 12:21:42: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=127|toolboxy=115|aspectfuncx=50|aspectfuncy=50|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=null|aspectfuncVisible=false|PublishFtpFilename=Parameter Definitions.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=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=106911|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=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=<select onChange=\\quot\\showTab(this)\\quot\\>//crlf////tab////tab//<option value=\\apos\\725932\\apos\\>Placeholder 1</option>//crlf////tab////tab//<option value=\\apos\\106421\\apos\\>Placeholder 2</option>//crlf////tab////tab//<option value=\\apos\\563856\\apos\\>Placeholder 3</option>//crlf////tab////tab//<option value=\\apos\\731070\\apos\\>Placeholder 4</option>//crlf////tab////tab//<option value=\\apos\\703691\\apos\\>Placeholder 5</option>//crlf////tab////tab//<option value=\\apos\\122221\\apos\\>Placeholder 6</option>//crlf////tab////tab//<option value=\\apos\\420\\apos\\>Placeholder 7</option>//crlf////tab////tab//<option value=\\apos\\727130\\apos\\>Placeholder 8</option>//crlf////tab////tab//<option value=\\apos\\117341\\apos\\>Placeholder 9</option>//crlf////tab////tab//<option value=\\apos\\73705\\apos\\>Placeholder 10</option>//crlf////tab//</select>//crlf//
^
ID=725932|X=183|Y=43|W=791|H=640|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=106911|AttachLeft=|AlignLeft=106911|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=106421|X=183|Y=43|W=791|H=640|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=106911|AttachLeft=|AlignLeft=106911|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=563856|X=183|Y=43|W=791|H=640|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=106911|AttachLeft=|AlignLeft=106911|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=731070|X=183|Y=43|W=791|H=640|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=106911|AttachLeft=|AlignLeft=106911|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=703691|X=183|Y=43|W=791|H=640|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=106911|AttachLeft=|AlignLeft=106911|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=122221|X=183|Y=43|W=791|H=640|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=106911|AttachLeft=|AlignLeft=106911|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=420|X=183|Y=43|W=791|H=640|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=106911|AttachLeft=|AlignLeft=106911|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=727130|X=183|Y=43|W=791|H=640|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=106911|AttachLeft=|AlignLeft=106911|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=117341|X=183|Y=43|W=791|H=640|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=106911|AttachLeft=|AlignLeft=106911|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=73705|X=183|Y=43|W=791|H=640|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=106911|AttachLeft=|AlignLeft=106911|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="TimeWorks" group="TimeWorks" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Timeworks" modified="04-04-2023 15:57:51" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=true ContainsAgentSensors=true ContainsAgentActions=false TaskInitialStartTime=12-27-2022 21:35:21: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=47|toolboxy=163|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=TimeWorks.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=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=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\\javascript:showTab(this\\comma\\'346696')\\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\\'224828')\\quot\\>Notes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'28766')\\quot\\>Employees</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'427014')\\quot\\>Timecards</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'791633')\\quot\\>Test Add Punch</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=346696|X=300|Y=127|W=1099|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=1099|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=1099|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_oi85fK8kFTQDVVcRTsBH6W5i_TimeWorks.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//TimeWorks\\comma\\openTimeWorksTimecards\\comma\\sensor_list\\comma\\Sensor=openTimeWorksTimecards\\comma\\private\\comma\\text//crlf////tab//TimeWorks\\comma\\openTimeWorksEmployeeRecords\\comma\\sensor_list\\comma\\Sensor=openTimeWorksEmployeeRecords\\comma\\private\\comma\\text//crlf////tab//TimeWorks\\comma\\getTimeWorksEmployees\\comma\\sensor_list\\comma\\Sensor=getTimeWorksEmployees\\comma\\private\\comma\\text//crlf////tab//TimeWorks\\comma\\getTimeWorksTimecards\\comma\\sensor_list\\comma\\Sensor=getTimeWorksTimecards\\comma\\private\\comma\\text//crlf////tab//TimeWorks\\comma\\getTimecardSummary\\comma\\sensor_list\\comma\\Sensor=getTimecardSummary\\comma\\private\\comma\\text//crlf////tab//TimeWorks\\comma\\getTimeWorksToken\\comma\\sensor_list\\comma\\Sensor=getTimeWorksToken\\comma\\private\\comma\\text//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//openTimeWorksTimecards//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\openTimeWorksTimecards\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Opens the TimeWorks_Timecards driver//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Site - Site number//crlf////tab////tab//Token - JWT token//crlf////tab////tab//PeriodDate - Start date of period//crlf////tab////tab//IDs - Optional comma-delimited list of codes - either EmployeeCode or RecordNumber//crlf////tab////tab//IDType=\\quot\\employeeCode\\quot\\ or \\quot\\recordNumber\\quot\\\\comma\\ indicating the type of ID passed//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//System driver//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\openTimeWorksTimecards\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing site//crlf////tab////tab////tab//if(not(defined(\\quot\\__Site__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing site\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing jtw token//crlf////tab////tab////tab//if(not(defined(\\quot\\__Token__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing token\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing PeriodDate//crlf////tab////tab////tab//if(not(defined(\\quot\\__PeriodDate__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing PeriodDate\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get access token//crlf////tab////tab////tab//sToken=getSensorValue(getTimeWorksToken\\comma\\\\quot\\Site=2105//amp//AccountantID=2105//amp//SecretKey=arFbJpzE7d4StWjdSSz2ZZbm7IakJOjMDbxToPLoQJxkham2X3XxX1CftRdoipzS\\quot\\)//crlf////crlf////tab////tab////tab////call the sensor to get the data//crlf////tab////tab////tab//sFilename=getToken(\\quot\\temporary_files\\quot\\)+\\quot\\TimeworksTimecard.csv\\quot\\//crlf////tab////tab////tab//sParams=\\quot\\Site=2105//amp//Token=\\quot\\+sToken+\\quot\\//amp//PeriodDate=__PeriodDate__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//Filename=\\quot\\+sFilename//crlf////tab////tab////tab//if(defined(\\quot\\__IDs__\\quot\\))//crlf////tab////tab////tab////tab//sParams=sParams+\\quot\\//amp//IDs=__IDs__\\quot\\//crlf////tab////tab////tab////tab//sParams=sParams+\\quot\\//amp//IDType=__IDType__\\quot\\//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab//s1=getSensorValue(\\quot\\getTimeWorksTimecards\\quot\\\\comma\\sParams)//crlf////crlf////tab////tab////tab////open the driver//crlf////tab////tab////tab//driverOpen(TimeWorks_Timecards\\comma\\d\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\+sFilename)//crlf////tab////tab////tab//return(d)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//openTimeWorksEmployeeRecords//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\openTimeWorksEmployeeRecords\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Opens the TimeWorks_Employee_Records driver//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Aspect Store ID//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//System driver//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\openTimeWorksEmployeeRecords\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing store//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////crlf////tab////tab////tab////write data to a temp file//crlf////tab////tab////tab//sFilename=getToken(\\quot\\temporary_files\\quot\\)+\\quot\\TimeworksEmployee.csv\\quot\\//crlf////tab////tab////tab//s1=getSensorValue(\\quot\\getTimeWorksEmployees\\quot\\\\comma\\\\quot\\StoreID=__StoreID__//amp//Filename=\\quot\\+sFilename)//crlf////crlf////tab////tab////tab////open the driver//crlf////tab////tab////tab//driverOpen(TimeWorks_Employee_Records\\comma\\d\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\+sFilename)//crlf////tab////tab////tab//return(d)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//getTimeWorksEmployees//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getTimeWorksEmployees\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Calls the TimeWorks API to get employee records//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Aspect Store ID//crlf////tab////tab//Filename - Optional.  If defined\\comma\\ content is written to the 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; name:\\quot\\getEmployees\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing store//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////crlf////tab////tab////tab//sCompanyCode=lookup(Aspect_Back-Office_Payroll_Company_Code_by_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab//sKey=lookup(Aspect_BackOffice_TimeWorks_Key_by_StoreID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf//appendToLog(\\quot\\StoreID=__StoreID__\\quot\\)//crlf//appendToLog(\\quot\\sCompanyCode=\\quot\\+sCompanyCode)//crlf//appendToLog(\\quot\\sKey=\\quot\\+sKey)//crlf////tab////tab////tab////sToken=getTimeWorksToken(\\quot\\client=\\quot\\+sCompanyCode+\\quot\\//amp//key=\\quot\\+sKey)//crlf////crlf////tab////tab////tab//sUrl=\\quot\\http://\\quot\\+getToken(\\quot\\AspectServerIP2\\quot\\)//crlf////tab////tab////tab//sUrl=sUrl+\\quot\\/?network=aspect_support//amp//id=getTimeworksToken\\quot\\//crlf////tab////tab////tab//sUrl=sUrl+\\quot\\//amp//client=\\quot\\+sCompanyCode+\\quot\\//amp//key=\\quot\\+sKey//crlf////tab////tab////tab//appendToLog(\\quot\\gettoken: \\quot\\+sUrl)//crlf////tab////tab////tab//sToken=fileGetContent(sUrl)//crlf////tab////tab////tab//appendToLog(\\quot\\sToken=\\quot\\+sToken)//crlf//appendToLog(\\quot\\sToken=\\quot\\+sToken)//crlf////tab////tab////tab//s=TimeWorksGetEmployees(sCompanyCode\\comma\\sToken)//crlf////tab////tab////tab////s=fileGetContent(\\quot\\C:\temp\2020-07\timeworks\employees.txt\\quot\\)//crlf////crlf////tab////tab////tab////parse the output//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)+\\quot\\RecordNumber\\quot\\\\comma\\char(13)+char(10)+char(0x22)+\\quot\\RecordNumber\\quot\\)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\:\\quot\\\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x2C)\\comma\\\\quot\\//amp//\\quot\\)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\]\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\[\\quot\\\\comma\\\\quot\\\\quot\\)//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////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\$\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////write to file//crlf////tab////tab////tab//if(defined(\\quot\\__Filename__\\quot\\))//crlf////tab////tab////tab////tab//fileWriteContent(\\quot\\__Filename__\\quot\\\\comma\\s)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//getTimeWorksTimecards//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getTimeWorksTimecards\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Calls the TimeWorks Plus API to get timecards//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Site - Site number//crlf////tab////tab//Token - JWT token//crlf////tab////tab//PeriodDate - Start date of period//crlf////tab////tab//IDs - Optional comma-delimited list of codes - either EmployeeCode or RecordNumber//crlf////tab////tab//IDType=\\quot\\employeeCode\\quot\\ or \\quot\\recordNumber\\quot\\\\comma\\ indicating the type of ID passed//crlf////tab////tab//includeAccrualBalances//crlf////tab////tab//includeMobilePunches//crlf////tab////tab//Filename - Optional.  If defined\\comma\\ content is written to the 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; name:\\quot\\getTimecards\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing site//crlf////tab////tab////tab//if(not(defined(\\quot\\__Site__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing site\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing jtw token//crlf////tab////tab////tab//if(not(defined(\\quot\\__Token__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing token\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing PeriodDate//crlf////tab////tab////tab//if(not(defined(\\quot\\__PeriodDate__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing PeriodDate\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//IDs=\\quot\\\\quot\\//crlf////tab////tab////tab//IDType=\\quot\\\\quot\\//crlf////tab////tab////tab//if(defined(\\quot\\__IDs__\\quot\\))//crlf////tab////tab////tab////tab//IDs=\\quot\\__IDs__\\quot\\//crlf////tab////tab////tab////tab//IDType=\\quot\\__IDType__\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sincludeAccrualBalances=\\quot\\true\\quot\\//crlf////tab////tab////tab//if(defined(\\quot\\__includeAccrualBalances__\\quot\\))//crlf////tab////tab////tab////tab//sincludeAccrualBalances=\\quot\\__includeAccrualBalances__\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sincludeMobilePunches=\\quot\\true\\quot\\//crlf////tab////tab////tab//if(defined(\\quot\\__includeMobilePunches__\\quot\\))//crlf////tab////tab////tab////tab//sincludeMobilePunches=\\quot\\__includeMobilePunches__\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//s=TimeWorksGetTimecards(\\quot\\__Site__\\quot\\\\comma\\\\quot\\__Token__\\quot\\\\comma\\\\quot\\__PeriodDate__\\quot\\\\comma\\IDs\\comma\\IDType\\comma\\sincludeAccrualBalances\\comma\\sincludeMobilePunches)//crlf////tab////tab////tab////s=fileGetContent(\\quot\\C:\temp\2020-07\timeworks\employees.txt\\quot\\)//crlf////crlf////tab////tab////tab////parse the output//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)+\\quot\\RecordNumber\\quot\\\\comma\\char(13)+char(10)+char(0x22)+\\quot\\RecordNumber\\quot\\)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\:\\quot\\\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x2C)\\comma\\\\quot\\//amp//\\quot\\)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\]\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\[\\quot\\\\comma\\\\quot\\\\quot\\)//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////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\$\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////write to file//crlf////tab////tab////tab//if(defined(\\quot\\__Filename__\\quot\\))//crlf////tab////tab////tab////tab//fileWriteContent(\\quot\\__Filename__\\quot\\\\comma\\s)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//getTimecardSummary//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getTimecardSummary\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Calls the TimeWorks Plus API to get a timecard summary//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Site - Site number//crlf////tab////tab//Token - JWT token//crlf////tab////tab//PeriodDate//crlf////tab////tab//OnlyActive//crlf////tab////tab//IDs//crlf////tab////tab//IDType//crlf////tab////tab//PageSize//crlf////tab////tab//PageNumber//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; name:\\quot\\getTimecardSummary\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing site//crlf////tab////tab////tab//if(not(defined(\\quot\\__Site__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing site\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing jtw token//crlf////tab////tab////tab//if(not(defined(\\quot\\__Token__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing token\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing PeriodDate//crlf////tab////tab////tab//if(not(defined(\\quot\\__PeriodDate__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing PeriodDate\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//OnlyActive=if(defined(\\quot\\__OnlyActive__\\quot\\)\\comma\\\\quot\\__OnlyActive__\\quot\\\\comma\\false)//crlf////crlf////tab////tab////tab//IDs=\\quot\\\\quot\\//crlf////tab////tab////tab//IDType=\\quot\\\\quot\\//crlf////tab////tab////tab//if(defined(\\quot\\__IDs__\\quot\\))//crlf////tab////tab////tab////tab//IDs=\\quot\\__IDs__\\quot\\//crlf////tab////tab////tab////tab//IDType=\\quot\\__IDType__\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//PageSize=\\quot\\\\quot\\//crlf////tab////tab////tab//PageNumber=\\quot\\\\quot\\//crlf////tab////tab////tab//if(defined(\\quot\\__PageSize__\\quot\\))//crlf////tab////tab////tab////tab//PageSize=\\quot\\__PageSize__\\quot\\//crlf////tab////tab////tab////tab//PageNumber=\\quot\\__PageNumber__\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//s=TimeWorksGetTimecardSummary(\\quot\\__Site__\\quot\\\\comma\\\\quot\\__Token__\\quot\\\\comma\\\\quot\\__PeriodDate__\\quot\\\\comma\\OnlyActive\\comma\\IDs\\comma\\IDType\\comma\\PageSize\\comma\\PageNumber)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//getTimeWorksToken//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getTimeWorksToken\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Gets a Json web token.  This token is required when making an API call.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Site - Site number//crlf////tab////tab//SccountantID - Accountant ID//crlf////tab////tab//SecretKey - Secret key//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//The JSON web token//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getTimeWorksToken\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing site//crlf////tab////tab////tab//if(not(defined(\\quot\\__Site__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Site\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////tab////abort if missing AccountantID//crlf////tab////tab////tab//if(not(defined(\\quot\\__AccountantID__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing AccountantID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing secret key//crlf////tab////tab////tab//if(not(defined(\\quot\\__SecretKey__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing SecretKey\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////s=getTimeWorksToken(\\quot\\__AccountantID__\\quot\\\\comma\\\\quot\\twpclient\\quot\\\\comma\\\\quot\\client\\quot\\\\comma\\\\quot\\__Site__\\quot\\\\comma\\\\quot\\__SecretKey__\\quot\\)//crlf////tab////tab////tab//s=getTimeWorksToken(\\quot\\client=__Site__//amp//key=__SecretKey__\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=127|W=1099|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_oi85fK8kFTQDVVcRTsBH6W5i_TimeWorks.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=224828|X=300|Y=127|W=1099|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=707942|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=707942|X=183|Y=186|W=119|H=44|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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_TimeWorks\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_TimeWorks\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 07-01-2020 12:16:08//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\\oi85fK8kFTQDVVcRTsBH6W5i_TimeWorks\\comma\\AgentTerminate\\comma\\707942\\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;07012020//amp//nbsp;121608//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_TimeWorks\\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-01-2020//amp//nbsp;12:16:08</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=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>07012020 121608</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\\chart707942\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; 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\\agentstart\\quot\\><b>TimeWorks</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\\chart707942\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 118px; left: 82px; 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=28766|X=300|Y=127|W=1099|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:(\\quot\\__getContent___\\quot\\=\\quot\\true\\quot\\) or (\\quot\\{@formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)}\\quot\\=\\quot\\11072022\\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\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\8l0juPvxOJ1rRmG4wuG0LXLY\\quot\\)>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter - Contains Text//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__ContainsText\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim(\\apos\\$value$\\apos\\))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder=\\apos\\Contains text\\apos\\ onChange=\\quot\\refreshTable(\\apos\\__salt__\\apos\\\\comma\\\\apos\\refresh\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\true)\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab//Datalist:\\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//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\TIMEWORKS_EMPLOYEE_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\\SensorName=openTimeWorksEmployeeRecords~~pipe~~StoreID=__StoreID__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=TIMEWORKS_EMPLOYEE_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\\500\\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\\TIMEWORKS_EMPLOYEE_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\\__salt__ContainsText\\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=427014|X=300|Y=127|W=1099|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:(\\quot\\__getContent___\\quot\\=\\quot\\true\\quot\\) or (\\quot\\{@formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)}\\quot\\=\\quot\\07052020\\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\\Site\\quot\\\\comma\\\\quot\\__Site__\\quot\\\\comma\\\\quot\\2105\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\AccountantID\\quot\\\\comma\\\\quot\\__AccountantID__\\quot\\\\comma\\\\quot\\2105\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\SecretKey\\quot\\\\comma\\\\quot\\__SecretKey__\\quot\\\\comma\\\\quot\\arFbJpzE7d4StWjdSSz2ZZbm7IakJOjMDbxToPLoQJxkham2X3XxX1CftRdoipzS\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\PeriodDate\\quot\\\\comma\\\\quot\\__PeriodDate__\\quot\\\\comma\\formatDate(getWeekStart(-1\\comma\\now())\\comma\\\\quot\\MM-dd-yyyy\\quot\\))>//crlf////crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Token\\quot\\\\comma\\\\quot\\__Token__\\quot\\\\comma\\getTimeWorksToken(\\quot\\__AccountantID__\\quot\\\\comma\\\\quot\\twpclient\\quot\\\\comma\\\\quot\\client\\quot\\\\comma\\\\quot\\__Site__\\quot\\\\comma\\\\quot\\__SecretKey__\\quot\\))>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Site//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverParam;//crlf////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__ParamSite\\quot\\;//crlf////tab////tab//Param:\\quot\\Site=$value$\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder='Site'\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab//Selected:\\quot\\__Site__\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//AccountantID//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverParam;//crlf////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__ParamAccountantID\\quot\\;//crlf////tab////tab//Param:\\quot\\AccountantID=$value$\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder='AccountantID'\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab//Selected:\\quot\\__AccountantID__\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Secret Key//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverParam;//crlf////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__ParamSecretKey\\quot\\;//crlf////tab////tab//Param:\\quot\\SecretKey=$value$\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder='SecretKey'\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab//Selected:\\quot\\__SecretKey__\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Token//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<input readonly=\\quot\\readonly\\quot\\ value=\\quot\\__Token__\\quot\\></input>//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\\TimeWorks_Timecards\\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\\SensorName=openTimeWorksTimecards~~pipe~~Token=__Token__~~pipe~~Site=__Site__~~pipe~~PeriodDate=__PeriodDate__~~pipe~~IDs=1001\\comma\\1003\\comma\\1005~~pipe~~IDType=EmployeeCode~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=TimeWorks_Timecards\\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\\TIMEWORKS_EMPLOYEE_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//>//crlf//</conditional>^
ID=791633|X=300|Y=127|W=1099|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=<_include type:expression; expression:htmlConstant(\\quot\\execute\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\false\\quot\\)>//crlf////crlf//<conditional expression:not(\\quot\\__execute__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Execute=false//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__execute__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Execute=true//crlf////tab//<br><br>//crlf////tab//<include type:script; commands:\\quot\\//crlf////tab////tab//sToken=getTimeWorksToken(51881\\comma\\\\quot\\twpclient\\quot\\\\comma\\\\quot\\client\\quot\\\\comma\\51881\\comma\\\\quot\\mpKpbYuAEL8eeRligAWv0i6R8zWCUlqesUmEoBrqh2zZgW3cL7EksA5CYMlRgnMQ\\quot\\)//crlf////tab////tab//EmployeeCode=\\quot\\29\\quot\\//crlf////tab////tab//JobCode=\\quot\\2000\\quot\\//crlf////tab////tab//TimeIn=parseTime(\\quot\\07-13-2020 10:00\\quot\\\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)//crlf////tab////tab//TimeOut=parseTime(\\quot\\07-13-2020 16:00\\quot\\\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)//crlf////tab////tab//CashTips=0//crlf////tab////tab//ChargeTips=0//crlf////tab////tab//s=TimeWorksAddTimecardPunch(51881\\comma\\sToken\\comma\\EmployeeCode\\comma\\JobCode\\comma\\TimeIn\\comma\\TimeOut\\comma\\CashTips\\comma\\ChargeTips)//crlf////tab////tab//s=replaceSubstring(s\\comma\\char(13)+char(10)\\comma\\getToken(\\quot\\br\\quot\\))//crlf////tab////tab//s=replaceSubstring(s\\comma\\char(9)\\comma\\\\quot\\//amp//nbsp\\quot\\+char(0x3B)+\\quot\\//amp//nbsp\\quot\\+char(0x3B)+\\quot\\//amp//nbsp\\quot\\+char(0x3B)+\\quot\\//amp//nbsp\\quot\\+char(0x3B))//crlf////tab////tab//return(s)//crlf////tab//\\quot\\>//crlf//</conditional>
</widget><widget name="Export Payroll - Tudors" group="" category="Export" description="Creates the Tudors export file" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Export Payroll - Tudors" modified="09-22-2024 01:09:52" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=true ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=03-26-2021 22:43: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="false" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="Checks the state of .lbr files for the last 14 days and jobcode.bin and employee.bin" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=20|toolboxy=246|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Export Payroll - Tudors.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=1254|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\\'197976')\\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\\'460353')\\quot\\>Edit Labor</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'453238')\\quot\\>Export Labor</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'784077')\\quot\\>RM Session Status Table</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'390389')\\quot\\>Table (html Template)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'269408')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=197976|X=300|Y=126|W=1254|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=1254|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=1254|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_oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Export Payroll - Tudors\\comma\\collectionDeliveryChargesByEmployee\\comma\\sensor_list\\comma\\Sensor=collectionDeliveryChargesByEmployee\\comma\\private\\comma\\text//crlf////tab//Export Payroll - Tudors\\comma\\isTudorsLaborImported\\comma\\sensor_list\\comma\\Sensor=isTudorsLaborImported\\comma\\private\\comma\\text//crlf////tab//Export Payroll - Tudors\\comma\\getTudorsExportEndingDate\\comma\\sensor_list\\comma\\Sensor=getTudorsExportEndingDate\\comma\\private\\comma\\text//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//collectionDeliveryChargesByEmployee//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\collectionDeliveryChargesByEmployee\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Returns a collection of delivery charges by employee ID.  An element exists //crlf////tab////tab//for every delivery charge.  They are not summed.  The sum can be done //crlf////tab////tab//during a lookup using the MATCH_SUM (16) match method.//crlf////crlf////tab////tab//Files are read from the posdata directory so it is not necessary to specify //crlf////tab////tab//s store.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//DateFrom - MMddyyyy//crlf////tab////tab//DateTo - MMddyyyy//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//The driver containing the collection//tab////tab////crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\collectionDeliveryChargesByEmployee\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//driverOpen(Sensor_Collection\\comma\\d\\comma\\WRITE\\comma\\true)//crlf////crlf////tab////tab////tab//dtFrom=parseTime(\\quot\\__DateFrom__\\quot\\)//crlf////tab////tab////tab//dtTo=parseTime(\\quot\\__DateTo__\\quot\\)//crlf////tab////tab////tab//dt=dtFrom//crlf////tab////tab////tab//while(dt<=dtTo)//crlf////tab////tab////tab////tab//sDir=addDirSlash(getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/restaurant_manager/\\quot\\+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\sDir=\\quot\\+sDir)//crlf////tab////tab////tab////tab//driverOpen(Pos_Rm_Sdet_Dbf_Delivery_Charge\\comma\\dSDet\\comma\\READ\\comma\\false\\comma\\\\quot\\Dir=\\quot\\+sDir+\\quot\\~~pipe~~Date=\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//driverSetFilter(dSDet\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//c=driverGetRecordCount(dSDet)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Record count=\\quot\\+c)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//iEmpClose=driverGetField(dSDet\\comma\\\\quot\\Emp_Close\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//dFee=driverGetField(dSDet\\comma\\\\quot\\Price_Paid\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(d)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Index\\quot\\\\comma\\r\\comma\\iEmpClose)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Value\\quot\\\\comma\\r\\comma\\dFee)//crlf////tab////tab////tab////tab////tab//n++//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//return(d)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//isTudorsLaborImported//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\isTudorsLaborImported\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Checks that labor has been imported for past days.  This is used to prevent the //crlf////tab////tab//payroll export from running after labor has been deleted to reimport past days //crlf////tab////tab//when the days haven't been reimported yet.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - ID of store//crlf////tab////tab//DateFrom - Start date//crlf////tab////tab//DateTo - End date//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\\isTudorsLaborImported\\quot\\; commands:\\quot\\//crlf////tab////tab////abort if missing StoreID//crlf////tab////tab//if(not(defined(\\quot\\__StoreID__\\quot\\)))//crlf////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if missing DateFrom//crlf////tab////tab//if(not(defined(\\quot\\__DateFrom__\\quot\\)))//crlf////tab////tab////tab//return(\\quot\\Error: Missing DateFrom\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if missing DateTo//crlf////tab////tab//if(not(defined(\\quot\\__DateTo__\\quot\\)))//crlf////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab//sDir=addDirSlash(getStoreDir(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab//dt=parseTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab//dtTo=parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab//bUptodate=true//crlf////tab////tab//while(dt<=dtTo)//crlf////tab////tab////tab//DOW=dayOfWeek(dt)//crlf////tab////tab////tab//if((getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\yrsv9lf8q\\quot\\) and (DOW=2))//crlf////tab////tab////tab////tab////Mount hope closed Mondays//tab//yrsv9lf8q//crlf////tab////tab////tab////tab//appendToLog9\\quot\\Closed Monday\\quot\\)//crlf////tab////tab////tab//elseif((getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\ri4ctgzgp\\quot\\) and (DOW=4))//crlf////tab////tab////tab////tab////Harper road closed Wednesdays ri4ctgzgp//crlf////tab////tab////tab////tab//appendToLog9\\quot\\Closed Wednesday\\quot\\)//crlf////tab////tab////tab//elseif((getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\fzahqgrj5\\quot\\) and (DOW=1))//crlf////tab////tab////tab////tab////Gauley Bridge  closed Sundays fzahqgrj5//crlf////tab////tab////tab////tab//appendToLog9\\quot\\Closed Sunday\\quot\\)//crlf////tab////tab////tab//elseif((getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\hwqnjh044\\quot\\) and (DOW=2))//crlf////tab////tab////tab////tab////Ginos Ansted closed Mondays hwqnjh044//crlf////tab////tab////tab////tab//appendToLog9\\quot\\Closed Monday\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sFilename=sDir+\\quot\\mix.\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//if((fileExists(sFilename)) and (fileSize(sFilename)>0))//crlf////tab////tab////tab////tab////tab//sFilename=sDir+\\quot\\lbr.\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab////tab//if(fileSize(sFilename)=0)//crlf////tab////tab////tab////tab////tab////tab//return(\\quot\\Error: Missing labor for \\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab//endwhile//crlf////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//getTudorsExportEndingDate//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getTudorsExportEndingDate\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Gets the ending date of the payroll period to be exported.  If the day of the week is Sun\\comma\\//crlf////tab////tab//Mon\\comma\\ Tue or Wed\\comma\\ the ending date will be the preceeding Saturday. On Thursday\\comma\\ the ending date //crlf////tab////tab//becomes the upcoming Saturday which results in a period-to-date export file.  If the current //crlf////tab////tab//day of the week is Saturday\\comma\\ the ending date is the current date.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//DtToday - Optional date seed.  For testing.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//The ending date of the payroll period//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getTudorsExportEndingDate\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//dtToday=now()//crlf////tab////tab////tab//if(defined(\\quot\\__DtToday__\\quot\\))//crlf////tab////tab////tab////tab//dtToday=parseTime(\\quot\\__DtToday__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//DayofWeek=dayOfWeek(dtToday)//crlf////crlf////tab////tab////tab////11-30-23 - Changed rollover DayOfWeek from 4 to 6 because Jen was unable to get //crlf////tab////tab////tab////to payroll in time.  This needs to be changed back to 4.//crlf////tab////tab////tab////6-26-24 - Had to change it again temporarily to deal with Gino's Teays Valley//crlf////tab////tab////tab//if(DayofWeek<=4)//crlf////tab////tab////tab////tab////Sun\\comma\\ Mon\\comma\\ Tue\\comma\\ Wed\\comma\\ Thu//crlf////tab////tab////tab////tab//dt=getWeekEnd(-1\\comma\\dtToday\\comma\\6)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\DayOfWeek=\\quot\\+DayOfWeek+\\quot\\ dtA=\\quot\\+formatDate(dt\\comma\\\\quot\\EEE MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//dt=getWeekEnd(0\\comma\\dtToday\\comma\\6)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\DayOfWeek=\\quot\\+DayOfWeek+\\quot\\ dtB=\\quot\\+formatDate(dt\\comma\\\\quot\\EEE MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab//return(formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=action_list|X=300|Y=126|W=1254|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_oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Export Payroll - Tudors\\comma\\disableTudorsPayrollFileset\\comma\\action_list\\comma\\Action=disableTudorsPayrollFileset\\comma\\private//crlf////tab//Export Payroll - Tudors\\comma\\recordTudorsSessionStatus\\comma\\action_list\\comma\\Action=recordTudorsSessionStatus\\comma\\private//crlf////tab//Export Payroll - Tudors\\comma\\exportTudorsPayroll\\comma\\action_list\\comma\\Action=exportTudorsPayroll\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//disableTudorsPayrollFileset//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\disableTudorsPayrollFileset\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Disables the Payroll Export fileset at Tudors stores.//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\\disableTudorsPayrollFileset\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////open the file set driver//crlf////tab////tab////tab//driverOpen(Aspect_File_Set\\comma\\d\\comma\\WRITE\\comma\\false)//crlf////crlf////tab////tab////tab////locate the record//crlf////tab////tab////tab//r=driverFindRecordAbsolute(d\\comma\\0\\comma\\\\quot\\TaskName=\\quot\\\\plus\\quote(\\quot\\payroll export\\quot\\))//crlf////crlf////tab////tab////tab////abort if fileset not found//crlf////tab////tab////tab//if(r<0)//crlf////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Could not locate file set named Payroll Export\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//b=driverGetFieldAbsolute(d\\comma\\\\quot\\TaskEnabled\\quot\\\\comma\\r)//crlf////tab////tab////tab//if(not(b))//crlf////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Payroll Export fileset was already disabled\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\TaskEnabled\\quot\\\\comma\\r\\comma\\false)//crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab//return(\\quot\\Ok: Disabled Payroll Export fileset\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//recordTudorsSessionStatus//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\recordTudorsSessionStatus\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Records session information in the POS_RM_Session_Status driver.  This action is called by //crlf////tab////tab//stores when the rep file is modified//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//CustomerID - HashID of store//crlf////tab////tab//SessionNo - Session Number//crlf////tab////tab//StartDate - Session start date (MM-dd-yyyy)//crlf////tab////tab//StartTime - Session start time (HH:mm)//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\\recordTudorsSessionStatus\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////abort if CustomerID is missing//crlf////tab////tab////tab//if(not(defined(\\quot\\__CustomerID__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing CustomerID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverOpen(POS_RM_Session_Status\\comma\\d\\comma\\WRITE)//crlf////tab////tab////tab//r=driverFindRecordAbsolute(d\\comma\\0\\comma\\\\quot\\HashID=\\quot\\\\plus\\quote(\\quot\\__CustomerID__\\quot\\))//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//driverPutFieldAbsolute(d\\comma\\\\quot\\Time_Last_Updated\\quot\\\\comma\\r\\comma\\now())//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\HashID\\quot\\\\comma\\r\\comma\\\\quot\\__CustomerID__\\quot\\)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Session_Number\\quot\\\\comma\\r\\comma\\value(\\quot\\__SessionNo__\\quot\\))//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Session_Start_Date\\quot\\\\comma\\r\\comma\\parseTime(\\quot\\__StartDate__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Session_Start_Time_Text\\quot\\\\comma\\r\\comma\\\\quot\\__StartTime__\\quot\\)//crlf////crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//[!------------------------------------------------------------------------//crlf//exportTudorsPayroll//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\exportTudorsPayroll\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Creates a payroll export file//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//</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\\exportTudorsPayroll\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////abort if the script is 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 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////crlf////tab////tab////tab////abort if missing DateFrom//crlf////tab////tab////tab//if(not(defined(\\quot\\__DateFrom__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateFrom\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////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\\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////crlf////tab////tab////tab//appendToLog(\\quot\\Export payroll: StoreID: __StoreID__ DateFrom: \\quot\\\\plus\\formatDate(dtFrom\\comma\\\\quot\\EEE MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ DateTo: \\quot\\\\plus\\formatDate(dtTo\\comma\\\\quot\\EEE MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////tab////export the file//crlf////tab////tab////tab//sParams=\\quot\\StoreID=__StoreID__\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\DateFrom=__DateFrom__\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\DateTo=__DateTo__\\quot\\//crlf////tab////tab////tab//s=execAgentAction(\\quot\\exportPayroll\\quot\\\\comma\\sParams)//crlf////crlf////tab////tab////tab////copy the file to the Aspect7/export directory and add the HashID to the start//crlf////tab////tab////tab////of the filename.  Return an error if an empty file was created.//crlf////tab////tab////tab//sFilename=lookup(Aspect_BackOffice_Payroll_Export_Filename_by_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab////tab////8-18-2024 Changed this from 256 to 200 because Tudors Hurricane only had two employees//crlf////tab////tab////tab////and the filesize was 254 bytes//crlf////tab////tab////tab//if(fileSize(sFilename)<200)//crlf////tab////tab////tab////tab////This might be happening because the import timeclock adjustments is deleting the files //crlf////tab////tab////tab////tab////while the export is being created.  Output file sizes for debugging.//crlf////tab////tab////tab////tab//sDir=getStoreDir(\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab//dt=dtFrom//crlf////tab////tab////tab////tab//while(dt<=dtTo)//crlf////tab////tab////tab////tab////tab//sFilename=sDir\\plus\\\\quot\\lbr.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab////tab//appendToLog(fileName(sFilename)\\plus\\\\quot\\ size: \\quot\\\\plus\\fileSize(sFilename))//crlf////tab////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//return(\\quot\\Error: File size is \\quot\\\\plus\\fileSize(sFilename))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sCopyTo=fileDrive(sFilename)\\plus\\fileDir(sFilename)\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\plus\\\\quot\\_\\quot\\\\plus\\fileName(sFilename)\\plus\\fileExt(sFilename)//crlf////tab////tab////tab//appendToLog(\\quot\\sFilename=\\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//appendToLog(\\quot\\sCopyTo=\\quot\\\\plus\\sCopyTo)//crlf////tab////tab////tab//fileCopy(sFilename\\comma\\sCopyTo)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab//return(\\quot\\Ok: Exported labor for __DateFrom__ to __DateTo__\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=269408|X=300|Y=126|W=1254|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=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=503884|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=always|^
ID=200168|X=656|Y=1118|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=ExportResult|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=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 Payroll - Tudors\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 09-21-2024 21:05: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////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors\\comma\\AgentAction\\comma\\503884\\comma\\0\\comma\\disableTudorsPayrollFileset//crlf////tab////tab//Result=execAgentAction(\\quot\\disableTudorsPayrollFileset\\quot\\)//crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors\\comma\\AgentTerminate\\comma\\64580\\comma\\0\\comma\\//crlf////tab////tab//agentReportStatus(\\quot\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors\\quot\\\\comma\\\\quot\\64580\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart))//crlf////tab////tab//scriptSetResult(Result)//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;09212024//amp//nbsp;210543//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;Payroll//amp//nbsp;-//amp//nbsp;Tudors\\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-21-2024//amp//nbsp;21:05: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>//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\\disableTudorsPayrollFileset\\quot\\)<br>//amp//nbsp;//amp//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\\oi85fK8kFTQDVVcRTsBH6W5i_Export//amp//nbsp;Payroll//amp//nbsp;-//amp//nbsp;Tudors\\quot\\\\comma\\\\quot\\64580\\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))<br>//amp//nbsp;//amp//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=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=<h1>Conditional expression</h1>//crlf////crlf//Token: Tudors_Payroll_Export_Conditional_Expression<br><br>//crlf//Expression: {Tudors_Payroll_Export_Conditional_Expression}<br><br>//crlf//Value: {@indirect(getToken(Tudors_Payroll_Export_Conditional_Expression))}<br><br>//crlf////crlf//<h1>State expression</h1>//crlf////crlf//Token: Tudors_Payroll_Export_State_Expression<br><br>//crlf//Expression: {Tudors_Payroll_Export_State_Expression}<br><br>//crlf//Value: {@indirect(getToken(Tudors_Payroll_Export_State_Expression))}<br><br>//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>09212024 210542</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\\chart503884\\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>Export Payroll - Tudors</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\\chart200168\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1077px; left: 505px; width: 120px; height: 84px; 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\\chart919856\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart48792\\quot\\ style=\\quot\\position: absolute; top: 316px; left: 505px; 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\\>Get the 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\\chart4995\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart469073\\quot\\ style=\\quot\\position: absolute; top: 851px; left: 505px; width: 150px; height: 56px; 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>exportTudorsPayroll<br></td></tr><tr><td><u>Return</u></td><td>ExportResult</td></tr></tbody></table></div></div><div id=\\quot\\chart48792\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart764173\\quot\\ style=\\quot\\position: absolute; top: 451px; left: 505px; 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\\>Get ending date of period<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>DateTo</td></tr></tbody></table></div></div><div id=\\quot\\chart764173\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart452875\\quot\\ style=\\quot\\position: absolute; top: 586px; left: 505px; 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\\>Get starting date of period<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>DateFrom</td></tr></tbody></table></div></div><div id=\\quot\\chart469073\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart200168\\quot\\ agentchildnonode=\\quot\\chart32482\\quot\\ style=\\quot\\position: absolute; top: 960px; left: 505px; width: 150px; height: 64px; 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\\chart32482\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 960px; left: 695px; width: 120px; height: 84px; 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\\chart452875\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart4995\\quot\\ agentchildnonode=\\quot\\chart179565\\quot\\ style=\\quot\\position: absolute; top: 721px; left: 505px; 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\\>Has labor been imported for all days?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>isTudorsLaborImported<br></td></tr></tbody></table></div></div><div id=\\quot\\chart179565\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 721px; left: 695px; 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>Labor is missing for one or more days<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart64580\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 286px; 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\\chart503884\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart64580\\quot\\ style=\\quot\\position: absolute; top: 178px; 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>disableTudorsPayrollFileset<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div>^
ID=460353|X=300|Y=126|W=1254|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\\04052021\\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\\CustomerID\\quot\\\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf////tab//<script ID=\\quot\\JS460353\\quot\\>//crlf////tab////tab//function getLabor(salt\\comma\\s) {//crlf////tab////tab////tab//console.log(\\quot\\getLabor\\quot\\);//crlf////crlf////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab//document.getElementById(salt+\\quot\\LaborContent\\quot\\).innerHTML=s;//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////show progress bar//crlf////tab////tab////tab//document.getElementById(salt+\\quot\\LaborContent\\quot\\).innerHTML=\\quot\\<progress />\\quot\\;//crlf////crlf////tab////tab////tab////get date//crlf////tab////tab////tab//var Date=document.getElementById(salt+\\quot\\SelectDate\\quot\\).value;//crlf////tab////tab////tab//Date=Date.substring(5\\comma\\10)+\\quot\\-\\quot\\+Date.substring(0\\comma\\4);//crlf////crlf////tab////tab////tab//var sUrl=getServer()+\\quot\\/?NetWork=greenlight//amp//ID=getWidget//amp//ViewID=CmAMVqxF\\quot\\;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//Date=\\quot\\+Date+\\quot\\//amp//Source=__CustomerID__\\quot\\;//crlf////tab////tab////tab//sFunc=\\quot\\getLabor(\\\quot\\\\quot\\+salt+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Store name//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<h1><!include type:expression; expression:lookup(Aspect_BackOffice_Computer_Names_By_ID\\comma\\\\quot\\__CustomerID__\\quot\\)></h1>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Tabs//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<table class='tabdialog'>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__Labor')\\quot\\>Labor</span></td>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__EmployeesContent')\\quot\\>Employees</span></td>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__JobCodesContent')\\quot\\>Job Codes</span></td>//crlf////tab////tab//</tr>//crlf////tab//</table>//crlf////crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Labor//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__Labor\\quot\\>//crlf////tab////tab//<input type=\\quot\\date\\quot\\ ID=\\quot\\__salt__SelectDate\\quot\\ value=\\quot\\{@formatDate(incrementTime(now()\\comma\\-1)\\comma\\\\quot\\yyyy-MM-dd\\quot\\)}\\quot\\> //crlf////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Edit\\quot\\ onClick=\\quot\\getLabor('__salt__')\\quot\\>//crlf////tab////tab//<br><br>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Content to be retrieved from the store//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__LaborContent\\quot\\>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Employees//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__EmployeesContent\\quot\\>//crlf////tab////tab//<div interval=\\quot\\0\\quot\\ url=\\quot\\__RequestServer__/?NetWork=greenlight//amp//ID=getWidget//amp//ViewID=xQIZMvoR//amp//Source=__CustomerID__\\quot\\>//crlf////tab////tab////tab//<progress />//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Job Codes//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__JobCodesContent\\quot\\>//crlf////tab////tab//<div interval=\\quot\\0\\quot\\ url=\\quot\\__RequestServer__/?NetWork=greenlight//amp//ID=getWidget//amp//ViewID=rv9YWYfr//amp//Source=__CustomerID__\\quot\\>//crlf////tab////tab////tab//<progress />//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//<conditional expression:not(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//</conditional>//crlf//^
ID=919856|X=656|Y=357|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=48792|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=if(boolean(getSystemValue(DevelopmentMode))//comma//\\quot\\dDqDiP2B3SSYRNb1z7ju6uge\\quot\\//comma//getToken(\\quot\\POSInterface_StoreID\\quot\\))|AgentNodeExpression=|AgentNodeActionReturnValue=StoreID|AgentNodeComment=Get the active Store ID|AgentNodeTermType=|^
ID=4995|X=656|Y=892|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=469073|AgentChildNoNode=|AgentSensor=|AgentAction=exportTudorsPayroll|AgentNodeNotes=|AgentNodeParams=~~backslash~~equals~~backslash~~\\quot\\StoreID~~backslash~~equals~~backslash~~\\quot\\//plus//StoreID//plus//\\quot\\\\amp\\DateFrom~~backslash~~equals~~backslash~~\\quot\\//plus//DateFrom//plus//\\quot\\\\amp\\DateTo~~backslash~~equals~~backslash~~\\quot\\//plus//DateTo|AgentNodeExpression=|AgentNodeActionReturnValue=ExportResult|AgentNodeComment=|AgentNodeTermType=|^
ID=48792|X=656|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=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=764173|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=~~backslash~~equals~~backslash~~if(defined(\\quot\\__DateTo__\\quot\\)//comma//parseTime(\\quot\\__DateTo__\\quot\\)//comma//parseTime(getSensorValue(\\quot\\getTudorsExportEndingDate\\quot\\//comma//\\quot\\DtToday~~backslash~~equals~~backslash~~\\quot\\//plus//formatDate(now()//comma//\\quot\\MM-dd-yyyy\\quot\\))//comma//\\quot\\MM-dd-yyyy\\quot\\))|AgentNodeExpression=|AgentNodeActionReturnValue=DateTo|AgentNodeComment=Get ending date of period|AgentNodeTermType=|^
ID=764173|X=656|Y=627|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=452875|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=~~backslash~~equals~~backslash~~if((now()<parseTime(\\quot\\09-01-2022\\quot\\)) and (pos(lookup(Tudors_Company_Code_by_HashID//comma//getToken(\\quot\\AspectHashID\\quot\\))//comma//\\quot\\6XG~~pipe~~AGJ~~pipe~~BAA~~pipe~~C43~~pipe~~FV7\\quot\\)>~~backslash~~equals~~backslash~~0)//comma//incrementTime(DateTo//comma//-13)//comma//incrementTime(DateTo//comma//-6))|AgentNodeExpression=|AgentNodeActionReturnValue=DateFrom|AgentNodeComment=Get starting date of period|AgentNodeTermType=|^
ID=469073|X=656|Y=1001|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=200168|AgentChildNoNode=32482|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(ExportResult//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Ok?|AgentNodeTermType=|^
ID=32482|X=846|Y=1001|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=ExportResult|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=453238|X=300|Y=126|W=1254|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\\)>//crlf////crlf////tab//<h1>Export Payroll://crlf////tab////tab//<include type:expression; expression:lookup(Tudors_Home_Department_by_HashID\\comma\\getToken(\\quot\\AspectHashID\\quot\\))> //crlf////tab////tab//<include type:expression; expression:getToken(\\quot\\POSInterface_StoreName\\quot\\)>//crlf////tab//</h1>//crlf////crlf////tab//Result: __result__//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Export the payroll//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////crlf////tab////tab//if(len(trim(sStoreID))=0)//crlf////tab////tab////tab//s=\\quot\\Error: Cannot determine Store ID.\\quot\\//crlf////tab////tab//else//crlf////tab////tab////tab//dtTo=if(defined(\\quot\\__DateTo__\\quot\\)\\comma\\parseTime(\\quot\\__DateTo__\\quot\\)\\comma\\getWeekEnd(-1\\comma\\now()\\comma\\6))//crlf////tab////tab////tab//dtFrom==incrementTime(dtTo\\comma\\-6)//crlf////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\+sStoreID+\\quot\\//amp//DateFrom=\\quot\\+formatDate(dtFrom\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\//amp//DateTo=\\quot\\+formatDate(dtTo\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\sParams=\\quot\\+sParams)//crlf////tab////tab////tab//s=execAgentAction(exportTudorsPayroll\\comma\\sParams)//crlf////tab////tab//endif//crlf////crlf////tab////tab//return(htmlConstant(\\quot\\result\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\s))//crlf////tab//\\quot\\>//crlf////crlf//</conditional>^
ID=452875|X=656|Y=762|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=4995|AgentChildNoNode=179565|AgentSensor=isTudorsLaborImported|AgentAction=|AgentNodeNotes=|AgentNodeParams=~~backslash~~equals~~backslash~~\\quot\\StoreID~~backslash~~equals~~backslash~~\\quot\\//plus//StoreID//plus//\\quot\\\\amp\\DateFrom~~backslash~~equals~~backslash~~\\quot\\//plus//DateFrom//plus//\\quot\\\\amp\\DateTo~~backslash~~equals~~backslash~~\\quot\\//plus//DateTo|AgentNodeExpression=startsWith(Result//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Has labor been imported for all days?|AgentNodeTermType=|^
ID=179565|X=846|Y=762|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=Labor is missing for one or more days|AgentNodeTermType=1|^
ID=784077|X=300|Y=126|W=1254|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\\05272021\\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\\TableControls\\quot\\\\comma\\\\quot\\__TableControls__\\quot\\\\comma\\\\quot\\false\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\SelectDisplay\\quot\\\\comma\\\\quot\\__SelectDisplay__\\quot\\\\comma\\\\quot\\true\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\EditDisplay\\quot\\\\comma\\\\quot\\__EditDisplay__\\quot\\\\comma\\\\quot\\true\\quot\\)>//crlf////crlf////tab//<h1>Tudors RM Session Status</h1>//crlf////tab//<h2>Updated: {@formatDate(now()\\comma\\\\quot\\EEE MM-dd-yyyy HH:mm\\quot\\)}</h2>//crlf////tab//<br>//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_SESSION_STATUS\\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_RM_SESSION_STATUS\\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_SESSION_STATUSDialog\\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\\__TableControls__\\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\\__SelectDisplay__\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\__EditDisplay__\\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//</conditional>//crlf////crlf//^
ID=390389|X=300|Y=126|W=1254|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=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=<html>//crlf////tab//<head>//crlf////tab////tab//<script src='aspect1.js'></script>//crlf////tab////tab//<script src='aspect2.js'></script>//crlf////tab////tab//<link rel='stylesheet' type='text/css' href='css1.css'>//crlf////tab////tab//<meta http-equiv=\\quot\\refresh\\quot\\ content=\\quot\\90\\quot\\>//crlf////tab//</head>//crlf////crlf////tab//<body style=\\quot\\padding:0px; margin:0px; font:normal normal normal 8pt tahoma;width:100\\percent\\;background-color:rgba(0\\comma\\ 0\\comma\\ 0\\comma\\ 0.01)\\quot\\>//crlf////tab////tab//__Content__//crlf////tab//</body>//crlf//</html>^
ID=275347|X=710|Y=170|W=731|H=365|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><br>//crlf//9/2024 - Payroll exports were discontinued.  This agent was modified to disable the payroll //crlf//export fileset.  The task condition and state were also changed.<br><br>//crlf//Original Condition: indirect(getToken(Tudors_Payroll_Export_Conditional_Expression))<br>//crlf//Original State: indirect(getToken(Tudors_Payroll_Export_State_Expression))<br>//crlf//Description: Executes on Sunday and only when data has not been edited for 5 minutes or more//crlf//<br>//crlf////crlf//8/24/2022 - Changed DateTo from=incrementTime(DateTo\\comma\\-13)<br><br>//crlf//<include type:script; commands:\\quot\\//crlf////tab//DateTo=parseTime(\\quot\\08-27-2022\\quot\\)//crlf////tab//sHashID=\\quot\\4idczse69\\quot\\//crlf////tab//dt=if((now()<parseTime(\\quot\\09-01-2022\\quot\\)) and (pos(lookup(Tudors_Company_Code_by_HashID\\comma\\sHashID)\\comma\\\\quot\\FQK~~pipe~~HTQ~~pipe~~RKA\\quot\\)>=0)\\comma\\incrementTime(DateTo\\comma\\-6)\\comma\\incrementTime(DateTo\\comma\\-13))//crlf////tab//return(formatDate(dt\\comma\\\\quot\\EEE MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ - \\quot\\\\plus\\formatDate(DateTo\\comma\\\\quot\\EEE MM-dd-yyyy\\quot\\))//crlf//\\quot\\>//crlf//^
ID=526422|X=809|Y=52|W=422|H=115|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=execAgentAction(\\quot\\disableTudorsPayrollFileset\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab//return(\\quot\\s=\\quot\\\\plus\\s)//crlf//\\quot\\>^
ID=64580|X=151|Y=327|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=503884|X=151|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=64580|AgentChildNoNode=|AgentSensor=|AgentAction=disableTudorsPayrollFileset|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="Export Payroll - Tudors Setup" group="" category="Export" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Export Payroll - Tudors Setup" modified="03-07-2024 05:04:17" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=03-26-2021 23:12: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="len(lookup(Tudors_Company_Code_by_HashID,getToken(\\quote\\AspectHashID\\quote\\)))\\gt\\0" TaskConditional_Expression_Description="" TaskState_Function="getToken(\\quote\\TudorsPayrollExportSetupComplete\\quote\\)" TaskState_Expression_Description="This token is set to true by the agent after it executes.  This prevents the agent from executing repeatedly." TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=346|toolboxy=144|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Export Payroll - Tudors Setup.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=1144|H=725|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\\'370848')\\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\\'872066')\\quot\\>Employee List</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'400179')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=370848|X=1500|Y=25|W=1144|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=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=25|W=1144|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=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=1144|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=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_oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors 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=25|W=1144|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=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_oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Setup.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Export Payroll - Tudors Setup\\comma\\tudorsInitializeJobCodes\\comma\\action_list\\comma\\Action=tudorsInitializeJobCodes\\comma\\private//crlf////tab//Export Payroll - Tudors Setup\\comma\\tudorsInitializeEmployeeNumbers\\comma\\action_list\\comma\\Action=tudorsInitializeEmployeeNumbers\\comma\\private//crlf////tab//Export Payroll - Tudors Setup\\comma\\tudorsInitializeStoreSetup\\comma\\action_list\\comma\\Action=tudorsInitializeStoreSetup\\comma\\private//crlf////tab//Export Payroll - Tudors Setup\\comma\\addTudorsPayrollExportFileset\\comma\\action_list\\comma\\Action=addTudorsPayrollExportFileset\\comma\\private//crlf////tab//Export Payroll - Tudors Setup\\comma\\addTudorsPayrollExportFilesetListener\\comma\\action_list\\comma\\Action=addTudorsPayrollExportFilesetListener\\comma\\private//crlf////tab//Export Payroll - Tudors Setup\\comma\\addTudorsPayrollExportFilesetSynch\\comma\\action_list\\comma\\Action=addTudorsPayrollExportFilesetSynch\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//tudorsInitializeJobCodes//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\tudorsInitializeJobCodes\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Initializes job code earnings codes//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - ID of active store //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\\tudorsInitializeJobCodes\\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: tudorsInitializeJobCodes Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////get the home department//crlf////tab////tab////tab//sHomeDept=lookup(Tudors_Home_Department_by_HashID\\comma\\getToken(\\quot\\AspectHashID\\quot\\))//crlf////crlf////tab////tab////tab////abort if home department not defined//crlf////tab////tab////tab//if(len(trim(sHomeDept))=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: tudorsInitializeJobCodes Home Department not defined for \\quot\\+getToken(\\quot\\AspectHashID\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sHashID=getToken(\\quot\\AspectHashID\\quot\\)//crlf////tab////tab////tab//sLookup=lookup(Tudors_Ginos_HashIDs\\comma\\sHashID)//crlf////tab////tab////tab//Len=len(sLookup)//crlf////tab////tab////tab//bIsGinos=(Len>0)//crlf////crlf////tab////tab////tab////for testing - Ginos Fayettville on development computer//crlf////tab////tab////tab//bIsGinos=(bIsGinos) or (\\quot\\__StoreID__\\quot\\=\\quot\\A7lHhtE7dQwlBiTuW1p2IpfX\\quot\\)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\sHashID=\\quot\\+sHashID+\\quot\\ sLookup=\\quot\\+sLookup+\\quot\\ Len=\\quot\\+Len+\\quot\\ bIsGinos=\\quot\\+bIsGinos)//crlf////crlf////tab////tab////tab////record the home department in the RegHrs_Code field for each job code//crlf////tab////tab////tab//driverOpen(\\quot\\POS_Generic_JobCode_Dta\\quot\\\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//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//if((bIsGinos) and (true))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\tudorsInitializeJobCodes IS Ginos store\\quot\\)//crlf////tab////tab////tab////tab////tab//sJobNumber=driverGetField(d\\comma\\\\quot\\Number\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\RegHrs_Code\\quot\\\\comma\\n\\comma\\sHomeDept+\\quot\\-\\quot\\+sJobNumber)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\tudorsInitializeJobCodes NOT Ginos store\\quot\\)//crlf////tab////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\RegHrs_Code\\quot\\\\comma\\n\\comma\\sHomeDept)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Job codes initialized\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//tudorsInitializeEmployeeNumbers//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\tudorsInitializeEmployeeNumbers\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Initializes employee numbers based on a list received from the office.  //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - ID of active store //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\\tudorsInitializeEmployeeNumbers\\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: tudorsInitializeEmployeeNumbers Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////get the home department.  This is used to select the appropriate employees from the //crlf////tab////tab////tab////list of employee names//crlf////tab////tab////tab//sHomeDept=lookup(Tudors_Home_Department_by_HashID\\comma\\getToken(\\quot\\AspectHashID\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\sHomeDept=\\quot\\+sHomeDept)//crlf////crlf////tab////tab////tab////abort if home department not defined//crlf////tab////tab////tab//if(len(trim(sHomeDept))=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: tudorsInitializeEmployeeNumbers Home Department not defined for \\quot\\+getToken(\\quot\\AspectHashID\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the list of employee names//crlf////tab////tab////tab//sList=gw(\\quot\\oi85fK8kFTQDVVcRTsBH6W5i\\quot\\\\comma\\\\quot\\Export Payroll - Tudors Setup\\quot\\\\comma\\\\quot\\872066\\quot\\)//crlf////tab////tab////tab////fileWriteContent(\\quot\\c:\temp\2021-03\ttt.txt\\quot\\\\comma\\s)//crlf////crlf////tab////tab////tab////create a hashtable containing each name and the associated payroll number.  Add names //crlf////tab////tab////tab////using first/last and last/first//crlf////tab////tab////tab//hashCreate(hEmployee)//crlf////tab////tab////tab//sList=replaceSubstring(sList\\comma\\char(13)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//c=getElementCount(sList\\comma\\char(10))//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=getElement(sList\\comma\\n\\comma\\char(10))//crlf////tab////tab////tab////tab//sDept=getElement(s\\comma\\0\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//if((true) or (sDept=sHomeDept))//crlf////tab////tab////tab////tab////tab//sEmpNum=getElement(s\\comma\\1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//sName=getElement(s\\comma\\2\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//sName1=trim(getElement(sName\\comma\\0))//crlf////tab////tab////tab////tab////tab//sName2=trim(getElement(sName\\comma\\1))//crlf////crlf////tab////tab////tab////tab////tab////remove names that have two parts - e.g. Mary Jane\\comma\\Smith would become Math\\comma\\Smith//crlf////tab////tab////tab////tab////tab////The extra name does not seems to be in restaurant manager//tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//sName1a=getElement(sName1\\comma\\0\\comma\\\\quot\\ \\quot\\)//crlf////tab////tab////tab////tab////tab//sName2a=getElement(sName2\\comma\\0\\comma\\\\quot\\ \\quot\\)//crlf////crlf////tab////tab////tab////tab////tab//hashPut(hEmployee\\comma\\sName1+\\quot\\~~pipe~~\\quot\\+sName2\\comma\\sEmpNum)//crlf////tab////tab////tab////tab////tab//hashPut(hEmployee\\comma\\sName2+\\quot\\~~pipe~~\\quot\\+sName1\\comma\\sEmpNum)//crlf////tab////tab////tab////tab////tab//hashPut(hEmployee\\comma\\sName1a+\\quot\\~~pipe~~\\quot\\+sName2a\\comma\\sEmpNum)//crlf////tab////tab////tab////tab////tab//hashPut(hEmployee\\comma\\sName2a+\\quot\\~~pipe~~\\quot\\+sName1a\\comma\\sEmpNum)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//appendToLog(\\quot\\Added \\quot\\+hashSize(hEmployee)+\\quot\\ employee numbers to hashtable\\quot\\)//crlf////tab////crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//ar=hashGetKeys(hEmployee)//crlf////tab////tab////tab////tab//c=getElementCount(ar)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//sKey=getElement(ar\\comma\\n)//crlf////tab////tab////tab////tab////tab//sValue=hashGet(hEmployee\\comma\\sKey)//crlf////tab////tab////tab////tab////tab//appendToLog(sKey+\\quot\\: \\quot\\+sValue)//crlf////tab////tab////tab////tab////tab//n++//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the employee driver//crlf////tab////tab////tab//driverOpen(\\quot\\POS_Generic_Employee_Dta\\quot\\\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//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//sPayrollNum=trim(driverGetField(d\\comma\\\\quot\\PayNumber\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab//sFirstName=trim(driverGetField(d\\comma\\\\quot\\First_Name\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab//sLastName=trim(driverGetField(d\\comma\\\\quot\\Last_Name\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab//sKey=sFirstName+\\quot\\~~pipe~~\\quot\\+sLastName//crlf////crlf////tab////tab////tab////tab//if(len(sPayrollNum)=0)//crlf////tab////tab////tab////tab////tab//if(hashContainsKey(hEmployee\\comma\\sKey))//crlf////tab////tab////tab////tab////tab////tab//sEmpNum=hashGet(hEmployee\\comma\\sKey)//crlf////tab////tab////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\PayNumber\\quot\\\\comma\\n\\comma\\sEmpNum)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Added Paynum for: \\quot\\+sKey+\\quot\\: \\quot\\+sPayrollNum)//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(d)//crlf////crlf////tab////tab////tab//return(\\quot\\ok: Employees initialized\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//tudorsInitializeStoreSetup//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\tudorsInitializeStoreSetup\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Sets Store Settings for payroll export//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - ID of active store //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\\tudorsInitializeStoreSetup\\quot\\; commands:\\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: tudorsInitializeStoreSetup Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get company code//crlf////tab////tab////tab//sCompanyCode=lookup(Tudors_Company_Code_by_HashID\\comma\\getToken(\\quot\\AspectHashID\\quot\\))//crlf////crlf////tab////tab////tab////abort if company code is not defined//crlf////tab////tab////tab//if(len(trim(sCompanyCode))=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: tudorsInitializeStoreSetup Missing company code\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////initialize store settings//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Store\\comma\\d\\comma\\WRITE)//crlf////tab////tab////tab//r=driverFindRecordAbsolute(d\\comma\\0\\comma\\\\quot\\ID=\\quot\\+quote(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab//if(r<0)//crlf////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Cannot locate store with ID=[\\quot\\+sStoreID+\\quot\\]\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Payroll_Export_Format\\quot\\\\comma\\r\\comma\\\\quot\\ADP\\quot\\)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Payroll_Export_Filename\\quot\\\\comma\\r\\comma\\\\quot\\c:\aspect7\export\pr\\quot\\+sCompanyCode+\\quot\\epi.csv\\quot\\)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Payroll_Company_Code\\quot\\\\comma\\r\\comma\\sCompanyCode)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Payroll_Batch_ID\\quot\\\\comma\\r\\comma\\\\quot\\PR\\quot\\)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Payroll_Earnings_Code\\quot\\\\comma\\r\\comma\\3)//crlf////crlf////tab////tab////tab////set manager days per week if it is currently zero//crlf////tab////tab////tab//iDays=driverGetFieldAbsolute(d\\comma\\\\quot\\Tudors_Manager_Days\\quot\\\\comma\\r)//crlf////tab////tab////tab//if(iDays=0)//crlf////tab////tab////tab////tab//iDays=lookup(Tudors_Default_Manager_Days_by_HashID\\comma\\getToken(\\quot\\AspectHashID\\quot\\))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Set Manager days=\\quot\\+iDays)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Tudors_Manager_Days\\quot\\\\comma\\r\\comma\\iDays)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Manager days already set to \\quot\\+iDays)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab//return(\\quot\\ok: Store settings initialized\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//addTudorsPayrollExportFileset//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\addTudorsPayrollExportFileset\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Adds a file set to monitor the payroll export file//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\\addTudorsPayrollExportFileset\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//b=isTaskDefined(\\quot\\Aspect_File_Set\\quot\\\\comma\\\\quot\\Payroll Export\\quot\\)//crlf////tab////crlf////tab////tab////tab////abort if the file set already exists//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//if(b)//crlf////tab////tab////tab////tab////tab//return(\\quot\\Ok: File set is already defined\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get company code//crlf////tab////tab////tab//sCompanyCode=lookup(Tudors_Company_Code_by_HashID\\comma\\getToken(\\quot\\AspectHashID\\quot\\))//crlf////crlf////tab////tab////tab////add the file set//crlf////tab////tab////tab////sFilespec=replaceSubstring(getToken(\\quot\\homedir\\quot\\)\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)+\\quot\\export\\\quot\\+getToken(\\quot\\AspectHashID\\quot\\)+\\quot\\_pr\\quot\\+sCompanyCode+\\quot\\epi.csv\\quot\\//crlf////tab////tab////tab//sFilespec=replaceSubstring(getToken(\\quot\\homedir\\quot\\)\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)+\\quot\\export\\\quot\\+getToken(\\quot\\AspectHashID\\quot\\)+\\quot\\_*.*\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\sFilespec=\\quot\\+sFilespec)//crlf////tab////tab////tab//sParams=\\quot\\Name=Payroll Export//amp//Category1=Payroll Export//amp//Category2=\\quot\\//crlf////tab////tab////tab////sParams=sParams+\\quot\\//amp//Filespec=\\quot\\+replaceSubstring(getToken(\\quot\\homedir\\quot\\)\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)+\\quot\\export\\\quot\\+getToken(\\quot\\AspectHashID\\quot\\)+\\quot\\_pr\\quot\\+sCompanyCode+\\quot\\epi.csv\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//Filespec=\\quot\\+sFilespec//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//Interval=1\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//Enable=true\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//Description=ADP payroll export\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//Condition=\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab//s=execAgentAction(\\quot\\addFileSet\\quot\\\\comma\\sParams)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//addTudorsPayrollExportFilesetListener//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\addTudorsPayrollExportFilesetListener\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Checks that a file set listener exists for the payroll export.  If not\\comma\\ one is created.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//CorpHashID - HashID of computer that will be added as a listener//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\\addTudorsPayrollExportFilesetListener\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////abort if CorpHashID is not defined//crlf////tab////tab////tab//if(not(defined(\\quot\\__CorpHashID__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: addTudorsPayrollExportFilesetListener Missing CorpHashID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//b=isTaskDefined(\\quot\\Aspect_File_Set_Listeners\\quot\\\\comma\\\\quot\\__CorpHashID__ - Payroll Export\\quot\\)//crlf////tab////crlf////tab////tab////tab////abort if the file set listener already exists//crlf////tab////tab////tab//if(b)//crlf////tab////tab////tab////tab//return(\\quot\\Ok: File set listener is already defined\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////add the file set listener.  This is done by calling the addTudorsPayrollExportFilesetSynch //crlf////tab////tab////tab////action on the computer that is to receive the files//crlf////tab////tab////tab//appendToLog(\\quot\\Adding file set listener for HashID=__CorpHashID__\\quot\\)//crlf////tab////tab////tab//s=execAgentAction(\\quot\\addTudorsPayrollExportFilesetSynch\\quot\\\\comma\\\\quot\\CustomerID=\\quot\\+getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\__CorpHashID__\\quot\\)//crlf////crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//addTudorsPayrollExportFilesetSynch//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\addTudorsPayrollExportFilesetSynch\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Adds the synch task used to create the listener task at each store.  This action //crlf////tab////tab//is executed on the computer that will receive all of the payroll exports.  It is //crlf////tab////tab//called remotely by the stores if they determine that a listener does not already //crlf////tab////tab//exist for the payroll export.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//CustomerID - Hash ID of the computer for which the synch will be created.  This //crlf////tab////tab////tab//is the computer with the file set defined//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\\addTudorsPayrollExportFilesetSynch\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////abort if CustomerID is not defiend//crlf////tab////tab////tab//if(not(defined(\\quot\\__CustomerID__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: addTudorsPayrollExportFilesetSynch Missing CustomerID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sParams=\\quot\\CustomerID=__CustomerID__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//FileSet=Payroll Export\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//BaseDir=\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//Replace=true\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//TimestampOnly=false\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//Enable=true\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//Category1=Payroll Export//amp////amp//Category2=\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//Description=ADP payroll export\\quot\\//crlf////crlf////tab////tab////tab//s=execAgentAction(\\quot\\addFileSetSynch\\quot\\\\comma\\sParams)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=400179|X=1500|Y=25|W=1144|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=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=124932|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=33185|X=183|Y=1636|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=Result1//plus//getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)//plus//Result2//plus//getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)//plus//Result3//plus//getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)//plus//Result4//plus//getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)//plus//Result5|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=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=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 Payroll - Tudors Setup\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Setup\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 03-07-2024 05:03:47//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\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Setup\\comma\\AgentAction\\comma\\124932\\comma\\0\\comma\\Set HashID for the computer that will receive the payroll exports from all stores//crlf////crlf////tab////tab////Set HashID for the computer that will receive the payroll exports from all stores//crlf////tab////tab//CorpHashID=if(boolean(getSystemValue(DevelopmentMode))\\comma\\\\quot\\4idczse69\\quot\\\\comma\\\\quot\\wowq01z5i\\quot\\)//crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Setup\\comma\\AgentAction\\comma\\71294\\comma\\0\\comma\\Get the active StoreID//crlf////crlf////tab////tab////Get the active StoreID//crlf////tab////tab//StoreID=if(boolean(getSystemValue(DevelopmentMode))\\comma\\\\quot\\dDqDiP2B3SSYRNb1z7ju6uge\\quot\\\\comma\\getToken(\\quot\\POSInterface_StoreID\\quot\\))//crlf////crlf////tab////tab////Is the StoreID valid?//crlf////tab////tab//if(len(trim(StoreID))>0)//crlf////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Setup\\comma\\AgentAction\\comma\\815528\\comma\\0\\comma\\Set store settings//crlf////crlf////tab////tab////tab////Set store settings//crlf////tab////tab////tab//Result1=execAgentAction(\\quot\\tudorsInitializeStoreSetup\\quot\\\\comma\\\\quot\\StoreID=\\quot\\\\plus\\StoreID)//crlf////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Setup\\comma\\AgentAction\\comma\\640337\\comma\\0\\comma\\Initialize job code eanings codes//crlf////crlf////tab////tab////tab////Initialize job code eanings codes//crlf////tab////tab////tab//Result2=execAgentAction(\\quot\\tudorsInitializeJobCodes\\quot\\\\comma\\\\quot\\StoreID=\\quot\\\\plus\\StoreID)//crlf////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Setup\\comma\\AgentAction\\comma\\155928\\comma\\0\\comma\\Initialize employee numbers//crlf////crlf////tab////tab////tab////Initialize employee numbers//crlf////tab////tab////tab//Result3=execAgentAction(\\quot\\tudorsInitializeEmployeeNumbers\\quot\\\\comma\\\\quot\\StoreID=\\quot\\\\plus\\StoreID)//crlf////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Setup\\comma\\AgentAction\\comma\\397805\\comma\\0\\comma\\Add file set for payroll export//crlf////crlf////tab////tab////tab////Add file set for payroll export//crlf////tab////tab////tab//Result4=execAgentAction(\\quot\\addTudorsPayrollExportFileset\\quot\\)//crlf////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Setup\\comma\\AgentAction\\comma\\660665\\comma\\0\\comma\\Confirm that file set listener exists//crlf////crlf////tab////tab////tab////Confirm that file set listener exists//crlf////tab////tab////tab//Result5=execAgentAction(\\quot\\addTudorsPayrollExportFilesetListener\\quot\\\\comma\\\\quot\\CorpHashID=\\quot\\\\plus\\CorpHashID)//crlf////crlf////tab////tab////tab////Success?//crlf////tab////tab////tab//if(pos(\\quot\\error\\quot\\\\comma\\Result1\\plus\\Result2\\plus\\Result3\\plus\\Result4\\plus\\Result5)<0)//crlf////tab////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Setup\\comma\\AgentAction\\comma\\23437\\comma\\0\\comma\\Set token used for agent state expression//crlf////crlf////tab////tab////tab////tab////Set token used for agent state expression//crlf////tab////tab////tab////tab//setToken(\\quot\\TudorsPayrollExportSetupComplete\\quot\\\\comma\\\\quot\\true\\quot\\)//crlf////tab////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Setup\\comma\\AgentTerminate\\comma\\33185\\comma\\0\\comma\\Ok//crlf////tab////tab////tab////tab//scriptSetResult(Result1\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result2\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result3\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result4\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result5)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Setup\\comma\\AgentTerminate\\comma\\929601\\comma\\1\\comma\\Error//crlf////tab////tab////tab////tab//scriptSetResult(Result1\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result2\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result3\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result4\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result5)//crlf////tab////tab////tab//endif//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Setup\\comma\\AgentTerminate\\comma\\416890\\comma\\1\\comma\\Invalid StoreID//crlf////tab////tab////tab//scriptSetResult(\\quot\\Cannot determine active StoreID.  Try again in a minute if just restarted.\\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=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=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;03072024//amp//nbsp;050347//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;Payroll//amp//nbsp;-//amp//nbsp;Tudors//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-07-2024//amp//nbsp;05:03:47</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;HashID//amp//nbsp;for//amp//nbsp;the//amp//nbsp;computer//amp//nbsp;that//amp//nbsp;will//amp//nbsp;receive//amp//nbsp;the//amp//nbsp;payroll//amp//nbsp;exports//amp//nbsp;from//amp//nbsp;all//amp//nbsp;stores</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;CorpHashID=<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>boolean</span>(<span class='keyword'>getSystemValue</span>(DevelopmentMode))\\comma\\\\quot\\4idczse69\\quot\\\\comma\\\\quot\\wowq01z5i\\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;//Get//amp//nbsp;the//amp//nbsp;active//amp//nbsp;StoreID</span><br>//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='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>boolean</span>(<span class='keyword'>getSystemValue</span>(DevelopmentMode))\\comma\\\\quot\\dDqDiP2B3SSYRNb1z7ju6uge\\quot\\\\comma\\<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;//Is//amp//nbsp;the//amp//nbsp;StoreID//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'>trim</span>(StoreID))//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;//Set//amp//nbsp;store//amp//nbsp;settings</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//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\\tudorsInitializeStoreSetup\\quot\\\\comma\\\\quot\\StoreID=\\quot\\\\plus\\StoreID)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Initialize//amp//nbsp;job//amp//nbsp;code//amp//nbsp;eanings//amp//nbsp;codes</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//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\\tudorsInitializeJobCodes\\quot\\\\comma\\\\quot\\StoreID=\\quot\\\\plus\\StoreID)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Initialize//amp//nbsp;employee//amp//nbsp;numbers</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//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\\tudorsInitializeEmployeeNumbers\\quot\\\\comma\\\\quot\\StoreID=\\quot\\\\plus\\StoreID)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Add//amp//nbsp;file//amp//nbsp;set//amp//nbsp;for//amp//nbsp;payroll//amp//nbsp;export</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//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\\addTudorsPayrollExportFileset\\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;//Confirm//amp//nbsp;that//amp//nbsp;file//amp//nbsp;set//amp//nbsp;listener//amp//nbsp;exists</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result5=<span class='keyword'>execAgentAction</span>(\\quot\\addTudorsPayrollExportFilesetListener\\quot\\\\comma\\\\quot\\CorpHashID=\\quot\\\\plus\\CorpHashID)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//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;<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\\plus\\Result5)//amp//lt;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;//Set//amp//nbsp;token//amp//nbsp;used//amp//nbsp;for//amp//nbsp;agent//amp//nbsp;state//amp//nbsp;expression</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//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\\TudorsPayrollExportSetupComplete\\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'>scriptSetResult</span>(Result1\\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\\Result4\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result5)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//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>(Result1\\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\\Result4\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result5)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//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\\Cannot//amp//nbsp;determine//amp//nbsp;active//amp//nbsp;StoreID.//amp//nbsp;//amp//nbsp;Try//amp//nbsp;again//amp//nbsp;in//amp//nbsp;a//amp//nbsp;minute//amp//nbsp;if//amp//nbsp;just//amp//nbsp;restarted.\\quot\\)<br>//amp//nbsp;//amp//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 050347</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\\chart124932\\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 Payroll - Tudors 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: getToken(\\quot\\AspectServerHashID\\quot\\)<br>Name Params: </div></div><div id=\\quot\\chart33185\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1596px; 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\\chart815528\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart640337\\quot\\ style=\\quot\\position: absolute; top: 613px; left: 0px; 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\\>Set store settings<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>tudorsInitializeStoreSetup<br></td></tr><tr><td><u>Return</u></td><td>Result1</td></tr></tbody></table></div></div><div id=\\quot\\chart397805\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart660665\\quot\\ style=\\quot\\position: absolute; top: 1041px; 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\\>Add file set for payroll export<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>addTudorsPayrollExportFileset<br></td></tr><tr><td><u>Return</u></td><td>Result4</td></tr></tbody></table></div></div><div id=\\quot\\chart660665\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart632600\\quot\\ style=\\quot\\position: absolute; top: 1188px; 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\\>Confirm that file set listener exists<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>addTudorsPayrollExportFilesetListener<br></td></tr><tr><td><u>Return</u></td><td>Result5</td></tr></tbody></table></div></div><div id=\\quot\\chart632600\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart23437\\quot\\ agentchildnonode=\\quot\\chart929601\\quot\\ style=\\quot\\position: absolute; top: 1335px; 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\\chart929601\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1335px; 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\\chart124932\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart71294\\quot\\ style=\\quot\\position: absolute; top: 190px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\132\\quot\\ style=\\quot\\width: 150px; height: 119px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Set HashID for the computer that will receive the payroll exports from all stores<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>CorpHashID</td></tr></tbody></table></div></div><div id=\\quot\\chart640337\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart155928\\quot\\ style=\\quot\\position: absolute; top: 747px; 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\\>Initialize job code eanings codes<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>tudorsInitializeJobCodes<br></td></tr><tr><td><u>Return</u></td><td>Result2</td></tr></tbody></table></div></div><div id=\\quot\\chart155928\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart397805\\quot\\ style=\\quot\\position: absolute; top: 894px; 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\\>Initialize employee numbers<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>tudorsInitializeEmployeeNumbers<br></td></tr><tr><td><u>Return</u></td><td>Result3</td></tr></tbody></table></div></div><div id=\\quot\\chart71294\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart123463\\quot\\ style=\\quot\\position: absolute; top: 363px; 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\\>Get the active StoreID<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\\chart123463\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart815528\\quot\\ agentchildnonode=\\quot\\chart416890\\quot\\ style=\\quot\\position: absolute; top: 497px; 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 the StoreID 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\\chart416890\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 497px; 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>Invalid StoreID<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart23437\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart33185\\quot\\ style=\\quot\\position: absolute; top: 1451px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\106\\quot\\ style=\\quot\\width: 150px; height: 93px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Set token used for agent state expression<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=815528|X=183|Y=653|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=640337|AgentChildNoNode=|AgentSensor=|AgentAction=tudorsInitializeStoreSetup|AgentNodeNotes=|AgentNodeParams=~~backslash~~equals~~backslash~~\\quot\\StoreID~~backslash~~equals~~backslash~~\\quot\\//plus//StoreID|AgentNodeExpression=|AgentNodeActionReturnValue=Result1|AgentNodeComment=Set store settings|AgentNodeTermType=|^
ID=397805|X=183|Y=1081|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=660665|AgentChildNoNode=|AgentSensor=|AgentAction=addTudorsPayrollExportFileset|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result4|AgentNodeComment=Add file set for payroll export|AgentNodeTermType=|^
ID=660665|X=183|Y=1228|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=632600|AgentChildNoNode=|AgentSensor=|AgentAction=addTudorsPayrollExportFilesetListener|AgentNodeNotes=|AgentNodeParams=~~backslash~~equals~~backslash~~\\quot\\CorpHashID~~backslash~~equals~~backslash~~\\quot\\//plus//CorpHashID|AgentNodeExpression=|AgentNodeActionReturnValue=Result5|AgentNodeComment=Confirm that file set listener exists|AgentNodeTermType=|^
ID=632600|X=183|Y=1375|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=23437|AgentChildNoNode=929601|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=pos(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~error~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//comma//Result1//plus//Result2//plus//Result3//plus//Result4//plus//Result5)<0|AgentNodeActionReturnValue=|AgentNodeComment=Success?|AgentNodeTermType=|^
ID=929601|X=373|Y=1375|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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//plus//getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)//plus//Result2//plus//getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)//plus//Result3//plus//getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)//plus//Result4//plus//getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)//plus//Result5|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=124932|X=183|Y=230|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=71294|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=if(boolean(getSystemValue(DevelopmentMode))//comma//\\quot\\4idczse69\\quot\\//comma//\\quot\\wowq01z5i\\quot\\)|AgentNodeExpression=|AgentNodeActionReturnValue=CorpHashID|AgentNodeComment=Set HashID for the computer that will receive the payroll exports from all stores|AgentNodeTermType=|^
ID=872066|X=1500|Y=25|W=1144|H=725|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=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=002000~~pipe~~95~~pipe~~BAKER\\comma\\ JEREMY ADAM//crlf//002000~~pipe~~185~~pipe~~BRANDJES\\comma\\ BONITA M//crlf//002000~~pipe~~313~~pipe~~JONES\\comma\\ SHEENA RENEE//crlf//002000~~pipe~~795~~pipe~~KELSEY\\comma\\ NATASHA RENEE//crlf//002000~~pipe~~1184~~pipe~~RICHARDS\\comma\\ CATHERINE J//crlf//002000~~pipe~~1310~~pipe~~SMITH\\comma\\ SUSAN PAIGE//crlf//002000~~pipe~~1768~~pipe~~GOODWIN\\comma\\ LISA RENEE//crlf//002000~~pipe~~1800~~pipe~~MULLINS\\comma\\ DAWN M//crlf//002000~~pipe~~1863~~pipe~~FLINN\\comma\\ MORGAN MICHELLE//crlf//002000~~pipe~~1996~~pipe~~TITUS\\comma\\ REBEKAH ANNE//crlf//002000~~pipe~~2091~~pipe~~DILLON\\comma\\ RICHARD M//crlf//002000~~pipe~~2093~~pipe~~SHEPPARD\\comma\\ TIMOTHY CLINE//crlf//002000~~pipe~~2113~~pipe~~WOLFE\\comma\\ CHLOE ARLENE//crlf//015000~~pipe~~105~~pipe~~BANKS\\comma\\ ELBERT E//crlf//015000~~pipe~~225~~pipe~~BURKETT\\comma\\ STEVE T//crlf//015000~~pipe~~291~~pipe~~CHANDLER\\comma\\ DAQUANE K//crlf//015000~~pipe~~332~~pipe~~COHEN\\comma\\ LOUIE D//crlf//015000~~pipe~~426~~pipe~~DEPRIEST\\comma\\ KATHERINE D//crlf//015000~~pipe~~989~~pipe~~MOORE\\comma\\ AMY L//crlf//015000~~pipe~~1166~~pipe~~PYLE\\comma\\ ROBERT LEE//crlf//015000~~pipe~~1203~~pipe~~ROSCO\\comma\\ BRANDY C//crlf//015000~~pipe~~1209~~pipe~~RUFFIN\\comma\\ CURTIS L//crlf//015000~~pipe~~1620~~pipe~~JOHNSON\\comma\\ TONY V//crlf//015000~~pipe~~1641~~pipe~~BARNHART\\comma\\ EMILY//crlf//015000~~pipe~~1646~~pipe~~WILLIAMS\\comma\\ AMANDA LEE//crlf//015000~~pipe~~1739~~pipe~~BOLLAND\\comma\\ MARILYN YVONNE//crlf//015000~~pipe~~1811~~pipe~~CHAPMAN\\comma\\ CHRISTY L//crlf//015000~~pipe~~1835~~pipe~~HAKE\\comma\\ CHRISTINA MARIE//crlf//015000~~pipe~~1889~~pipe~~BATEY\\comma\\ ADRIANNA ALEXANDRIA//crlf//015000~~pipe~~2020~~pipe~~PORTER\\comma\\ ROBERT VAN//crlf//015000~~pipe~~2083~~pipe~~RUFFIN\\comma\\ CURTAVA L//crlf//015000~~pipe~~2090~~pipe~~UTT\\comma\\ ZACKARY W//crlf//015000~~pipe~~2100~~pipe~~ROBERTSON\\comma\\ KAHREEM ANTHONY//crlf//015000~~pipe~~2123~~pipe~~MILLS\\comma\\ JENNIFER RAE//crlf//062000~~pipe~~206~~pipe~~BROWN\\comma\\ RONALD M//crlf//062000~~pipe~~263~~pipe~~CARPENTER\\comma\\ MELISSA M//crlf//062000~~pipe~~820~~pipe~~KOON\\comma\\ JAMIE L//crlf//062000~~pipe~~939~~pipe~~MCCUNE\\comma\\ SAMANTHA J//crlf//062000~~pipe~~1088~~pipe~~PARSONS\\comma\\ MELISSA//crlf//062000~~pipe~~1138~~pipe~~POORE\\comma\\ CHRISTINA M//crlf//062000~~pipe~~1258~~pipe~~SHAMBLIN\\comma\\ KERRIE//crlf//062000~~pipe~~1261~~pipe~~SHARP\\comma\\ CRYSTAL//crlf//062000~~pipe~~1312~~pipe~~SMITH\\comma\\ ROBERT C//crlf//062000~~pipe~~1389~~pipe~~TAYLOR\\comma\\ BRITTINI//crlf//062000~~pipe~~1471~~pipe~~WEBB\\comma\\ TERESA D//crlf//062000~~pipe~~1643~~pipe~~FIELDS\\comma\\ LINDSEY D//crlf//062000~~pipe~~1791~~pipe~~TANNER\\comma\\ KEVIN G//crlf//062000~~pipe~~1968~~pipe~~TALLMAN\\comma\\ ELIJAH PAUL//crlf//069000~~pipe~~63~~pipe~~ADKINS\\comma\\ SHERRY M//crlf//069000~~pipe~~207~~pipe~~BROWN\\comma\\ JAMES H//crlf//069000~~pipe~~317~~pipe~~CLARK\\comma\\ SCOTT A//crlf//069000~~pipe~~512~~pipe~~FLOOK\\comma\\ JAROD//crlf//069000~~pipe~~573~~pipe~~GOFF\\comma\\ ANNIE V//crlf//069000~~pipe~~621~~pipe~~HAMBRICK\\comma\\ LAKEISHA//crlf//069000~~pipe~~680~~pipe~~HILL\\comma\\ JODY E//crlf//069000~~pipe~~728~~pipe~~HUMPHREYS\\comma\\ HEATHER//crlf//069000~~pipe~~807~~pipe~~KINDER\\comma\\ KRISTEN L//crlf//069000~~pipe~~823~~pipe~~KUHN III\\comma\\ JACK//crlf//069000~~pipe~~865~~pipe~~LIKENS\\comma\\ CLYDE S//crlf//069000~~pipe~~903~~pipe~~MALONE\\comma\\ GEOVANIE M//crlf//069000~~pipe~~1029~~pipe~~NANCE\\comma\\ UNIQUE VERONICA//crlf//069000~~pipe~~1070~~pipe~~OGLESBY\\comma\\ DANIELLE//crlf//069000~~pipe~~1328~~pipe~~SNEAD\\comma\\ ANGELA R//crlf//069000~~pipe~~1381~~pipe~~TAYLOR\\comma\\ MICHAEL S//crlf//069000~~pipe~~1398~~pipe~~THAXTON\\comma\\ STEPHANIE M//crlf//069000~~pipe~~1594~~pipe~~DANTIGNAC\\comma\\ WILLIAM J//crlf//069000~~pipe~~1639~~pipe~~HOLSTEIN\\comma\\ HARLEY M//crlf//069000~~pipe~~1747~~pipe~~PERRY\\comma\\ JOHN MICHAEL//crlf//069000~~pipe~~1846~~pipe~~PRIDDY\\comma\\ COY//crlf//069000~~pipe~~1879~~pipe~~ARTHUR\\comma\\ MICHELLE LEA//crlf//069000~~pipe~~1884~~pipe~~SPROUSE\\comma\\ NATALIE GAIL//crlf//069000~~pipe~~1894~~pipe~~TROY\\comma\\ NICOLE//crlf//069000~~pipe~~1908~~pipe~~SMITH\\comma\\ GRANVILLE LEE//crlf//069000~~pipe~~1938~~pipe~~CARROLL\\comma\\ JONATHAN PAUL//crlf//069000~~pipe~~1965~~pipe~~SCHENKEL\\comma\\ RANDY J//crlf//069000~~pipe~~2112~~pipe~~ABIDO\\comma\\ ROSS//crlf//070000~~pipe~~55~~pipe~~ADKINS\\comma\\ PENNIE G//crlf//070000~~pipe~~520~~pipe~~FORTSON\\comma\\ WILLIAM S//crlf//070000~~pipe~~570~~pipe~~GLOVER\\comma\\ DARLA//crlf//070000~~pipe~~766~~pipe~~JOHNSTON\\comma\\ TANDRA S//crlf//070000~~pipe~~991~~pipe~~MOORE\\comma\\ HOLLY NICOLE//crlf//070000~~pipe~~1292~~pipe~~SINDLEDECKER\\comma\\ MARIE DAWN//crlf//070000~~pipe~~1303~~pipe~~SMITH\\comma\\ LEAH//crlf//070000~~pipe~~1397~~pipe~~THACKER\\comma\\ ANGELA B//crlf//070000~~pipe~~1500~~pipe~~WILLIAMS\\comma\\ GLENETTA//crlf//070000~~pipe~~1592~~pipe~~Sindledecker\\comma\\ Alexis M//crlf//070000~~pipe~~1737~~pipe~~ODELL\\comma\\ RUBY CAROL//crlf//070000~~pipe~~1779~~pipe~~ALLEN\\comma\\ BEAURY PAUL//crlf//071000~~pipe~~215~~pipe~~BURDETTE\\comma\\ CHRISTOPHER//crlf//071000~~pipe~~221~~pipe~~BURK\\comma\\ KOBI//crlf//071000~~pipe~~262~~pipe~~CARPENTER\\comma\\ TAMERA SUE//crlf//071000~~pipe~~309~~pipe~~CLARK\\comma\\ RALPH D//crlf//071000~~pipe~~369~~pipe~~CRAIG\\comma\\ KAYLA N//crlf//071000~~pipe~~429~~pipe~~DICKENS\\comma\\ CAROLYN S//crlf//071000~~pipe~~436~~pipe~~DIXON\\comma\\ LUYISE//crlf//071000~~pipe~~558~~pipe~~GIBSON\\comma\\ NORMA//crlf//071000~~pipe~~571~~pipe~~GODBEY\\comma\\ MARTHA//crlf//071000~~pipe~~578~~pipe~~GOODWIN\\comma\\ SYLVIA M//crlf//071000~~pipe~~633~~pipe~~HARDWICK\\comma\\ MARLENE L//crlf//071000~~pipe~~740~~pipe~~JAMES\\comma\\ ALESHA//crlf//071000~~pipe~~784~~pipe~~KAY\\comma\\ CLAY E//crlf//071000~~pipe~~934~~pipe~~MCCORMICK\\comma\\ DYLAN M//crlf//071000~~pipe~~968~~pipe~~MENTZ\\comma\\ MARLEE//crlf//071000~~pipe~~1055~~pipe~~NISBET\\comma\\ TERESA A//crlf//071000~~pipe~~1100~~pipe~~PAULEY\\comma\\ SANDRA//crlf//071000~~pipe~~1283~~pipe~~SILMAN\\comma\\ TAYLOR//crlf//071000~~pipe~~1331~~pipe~~SNYDER\\comma\\ DEBBIE A//crlf//071000~~pipe~~1360~~pipe~~STEWART\\comma\\ CHRISTINA M//crlf//071000~~pipe~~1409~~pipe~~THOMPSON\\comma\\ GAVIN BRYCE//crlf//071000~~pipe~~1497~~pipe~~WILES\\comma\\ JAMES D//crlf//071000~~pipe~~1554~~pipe~~YODER\\comma\\ PEGGY S//crlf//071000~~pipe~~1589~~pipe~~Shamblin\\comma\\ William//crlf//071000~~pipe~~1645~~pipe~~MASTERS\\comma\\ DESTINY//crlf//071000~~pipe~~1806~~pipe~~MARION\\comma\\ JOSHUA DYLAN//crlf//071000~~pipe~~1821~~pipe~~NIPPS\\comma\\ JACQUETTA LYNN//crlf//071000~~pipe~~1829~~pipe~~NEELY\\comma\\ EMILY MICHELLE//crlf//071000~~pipe~~1858~~pipe~~SMALLRIDGE\\comma\\ DALTON TYLER//crlf//071000~~pipe~~1971~~pipe~~CLARK\\comma\\ SAMUEL PAYTON//crlf//071000~~pipe~~2033~~pipe~~DINGUSS\\comma\\ CRYSTAL ALEXSIAH//crlf//071000~~pipe~~2053~~pipe~~ROBINSON\\comma\\ SKYLAR KORET-MARIE//crlf//071000~~pipe~~2061~~pipe~~COLLINS\\comma\\ TARA LYNN//crlf//071000~~pipe~~2092~~pipe~~HALSTEAD\\comma\\ DESTINY AALIYAH//crlf//072000~~pipe~~140~~pipe~~BIZET\\comma\\ KIMBERLY E//crlf//072000~~pipe~~141~~pipe~~BLACK\\comma\\ KATELYN N//crlf//072000~~pipe~~564~~pipe~~GILLISPIE\\comma\\ JUANITA//crlf//072000~~pipe~~581~~pipe~~GRALEY\\comma\\ CINDRA L//crlf//072000~~pipe~~612~~pipe~~HADLEY\\comma\\ BARTON ROGER//crlf//072000~~pipe~~752~~pipe~~JIMENEZ\\comma\\ MELISSA DAWN//crlf//072000~~pipe~~787~~pipe~~KEATON\\comma\\ SEANNA//crlf//072000~~pipe~~1078~~pipe~~OWENS\\comma\\ CRAIG ODELL//crlf//072000~~pipe~~1294~~pipe~~SKEENS\\comma\\ ANGELA MARIE//crlf//072000~~pipe~~1525~~pipe~~WITHROW\\comma\\ BRANDY L//crlf//072000~~pipe~~1535~~pipe~~WOOTEN\\comma\\ CINDY E//crlf//072000~~pipe~~1563~~pipe~~Litton\\comma\\ Jason//crlf//072000~~pipe~~1607~~pipe~~FLOYD\\comma\\ ALEXUS I//crlf//072000~~pipe~~1794~~pipe~~KINDER\\comma\\ ABIGAIL P//crlf//072000~~pipe~~1831~~pipe~~BROWNING\\comma\\ JOSIE L//crlf//072000~~pipe~~1905~~pipe~~THORNTON\\comma\\ ETHAN JAMES STEVEN//crlf//072000~~pipe~~1915~~pipe~~WARD\\comma\\ KAYLA//crlf//072000~~pipe~~2000~~pipe~~PORTER\\comma\\ WILLIS RAY//crlf//072000~~pipe~~2016~~pipe~~AKERS\\comma\\ JADA MARIE//crlf//072000~~pipe~~2036~~pipe~~JARRELL\\comma\\ LILY VILMA//crlf//072000~~pipe~~2066~~pipe~~MASSEY\\comma\\ CORTNEY//crlf//072000~~pipe~~2098~~pipe~~EDWARDS\\comma\\ ASHLEY DAWN//crlf//072000~~pipe~~2105~~pipe~~MCCORMICK\\comma\\ DAVID JAMES//crlf//073000~~pipe~~183~~pipe~~BRALEY\\comma\\ JALEY//crlf//073000~~pipe~~261~~pipe~~CARPENTER\\comma\\ CRYSTAL//crlf//073000~~pipe~~555~~pipe~~GIBSON\\comma\\ WILLIAM CHRISTOPHER//crlf//073000~~pipe~~600~~pipe~~GROSCUP\\comma\\ JOELLEN//crlf//073000~~pipe~~955~~pipe~~MCNEELY\\comma\\ NATHAN//crlf//073000~~pipe~~1044~~pipe~~NEWMAN\\comma\\ PAUL//crlf//073000~~pipe~~1221~~pipe~~SAMPSON\\comma\\ RONALD A//crlf//073000~~pipe~~1302~~pipe~~SMART\\comma\\ NORA L//crlf//073000~~pipe~~1601~~pipe~~MURPHY\\comma\\ ALYSSA C//crlf//073000~~pipe~~1724~~pipe~~NIDY\\comma\\ KENNETH GAGE//crlf//073000~~pipe~~1766~~pipe~~DAY\\comma\\ TRISTIEN CHRISTA//crlf//073000~~pipe~~1895~~pipe~~HEINEY\\comma\\ KATHERINE ELIZABETH LEE//crlf//073000~~pipe~~1976~~pipe~~LEAKS\\comma\\ STACY YVETTE//crlf//073000~~pipe~~1988~~pipe~~MCKINNEY\\comma\\ DARLENE//crlf//073000~~pipe~~2011~~pipe~~PAYNE\\comma\\ CONNOR TOMPKINS//crlf//073000~~pipe~~2024~~pipe~~MOORE\\comma\\ HALI MYKOLE//crlf//073000~~pipe~~2034~~pipe~~GODBEY\\comma\\ AMY LEANNE//crlf//073000~~pipe~~2056~~pipe~~WILSON\\comma\\ JERRY LEE//crlf//073000~~pipe~~2057~~pipe~~ADAMS\\comma\\ JASON MONROE//crlf//073000~~pipe~~2062~~pipe~~TYREE\\comma\\ LAURA ABIGAIL//crlf//073000~~pipe~~2068~~pipe~~PELFREY\\comma\\ CHRYSTAL DAWN//crlf//073000~~pipe~~2071~~pipe~~FIELDS\\comma\\ KELSEY//crlf//073000~~pipe~~2122~~pipe~~HILL\\comma\\ AZRIEL//crlf//074000~~pipe~~382~~pipe~~CROUCH\\comma\\ JESSICA A//crlf//074000~~pipe~~414~~pipe~~DAY\\comma\\ DEBRA J//crlf//074000~~pipe~~587~~pipe~~GREEN\\comma\\ BILLY RAY//crlf//074000~~pipe~~590~~pipe~~GREEN\\comma\\ CRYSTAL//crlf//074000~~pipe~~723~~pipe~~HUFF\\comma\\ HOLLIE//crlf//074000~~pipe~~928~~pipe~~MCCALLUM\\comma\\ BETTY A//crlf//074000~~pipe~~958~~pipe~~MCNEIL\\comma\\ TEYIONA N//crlf//074000~~pipe~~1227~~pipe~~SAUNDERS\\comma\\ TRE D//crlf//074000~~pipe~~1377~~pipe~~TANNER\\comma\\ MICHAEL B//crlf//074000~~pipe~~1511~~pipe~~WILLIAMS\\comma\\ ROBIN L//crlf//074000~~pipe~~1653~~pipe~~PETRY\\comma\\ TAYLOR MARIE//crlf//074000~~pipe~~1658~~pipe~~STIDHAM\\comma\\ ANNA MARIE//crlf//074000~~pipe~~1685~~pipe~~ROSE\\comma\\ PATRICK//crlf//074000~~pipe~~1852~~pipe~~WADE\\comma\\ WILLIAM HARRISON//crlf//074000~~pipe~~1906~~pipe~~HUFFMAN\\comma\\ GRACE JUNE//crlf//074000~~pipe~~1911~~pipe~~HUFFMAN\\comma\\ FAITH JEWEL//crlf//074000~~pipe~~1984~~pipe~~LAWRENCE\\comma\\ AIREYANNA J//crlf//074000~~pipe~~2018~~pipe~~HENDERSON\\comma\\ APRYLL DAWNN//crlf//074000~~pipe~~2039~~pipe~~SMITH\\comma\\ RICHARD//crlf//074000~~pipe~~2059~~pipe~~STEELE\\comma\\ SHAWNDALE//crlf//074000~~pipe~~2104~~pipe~~WILLIAMS\\comma\\ SHANE//crlf//075000~~pipe~~156~~pipe~~BOGGESS\\comma\\ TRAVIS//crlf//075000~~pipe~~222~~pipe~~BURKE\\comma\\ TAYLOR M//crlf//075000~~pipe~~399~~pipe~~DAVIS\\comma\\ KRISTEN//crlf//075000~~pipe~~521~~pipe~~FORTSON\\comma\\ MISTY S//crlf//075000~~pipe~~699~~pipe~~HOLLOPETER\\comma\\ AVERIE//crlf//075000~~pipe~~967~~pipe~~MENTZ\\comma\\ AMY L//crlf//075000~~pipe~~1099~~pipe~~PAULEY\\comma\\ KARIN W//crlf//075000~~pipe~~1293~~pipe~~SKAGGS\\comma\\ LYNNA A//crlf//075000~~pipe~~1752~~pipe~~MCCORMICK\\comma\\ CHRISTINA L//crlf//075000~~pipe~~1756~~pipe~~HELMICK\\comma\\ KATRYN//crlf//075000~~pipe~~1998~~pipe~~WILLIS\\comma\\ BRANDY R//crlf//075000~~pipe~~2051~~pipe~~HUDSON\\comma\\ RACHAEL//crlf//075000~~pipe~~2065~~pipe~~OSBORNE\\comma\\ SARAH BETH//crlf//075000~~pipe~~2080~~pipe~~DICKENS\\comma\\ HALEY//crlf//075000~~pipe~~2088~~pipe~~RUBY\\comma\\ WILLIAM C//crlf//075000~~pipe~~2115~~pipe~~RUBIN\\comma\\ MADISON NICOLE//crlf//076000~~pipe~~250~~pipe~~CAMPBELL\\comma\\ SHANA D//crlf//076000~~pipe~~344~~pipe~~COLLINS\\comma\\ LINDA MARIE//crlf//076000~~pipe~~792~~pipe~~KELLEY\\comma\\ MARILYN//crlf//076000~~pipe~~1022~~pipe~~MYERS\\comma\\ SUSAN M//crlf//076000~~pipe~~1064~~pipe~~O BRYANT\\comma\\ TRINITY//crlf//076000~~pipe~~1122~~pipe~~SKILES\\comma\\ CHELSEY//crlf//076000~~pipe~~1220~~pipe~~SALTSGAVER\\comma\\ PHILIP M//crlf//076000~~pipe~~1275~~pipe~~SHOEMAKER\\comma\\ MELINDA DIANE//crlf//076000~~pipe~~1379~~pipe~~TAYLOR\\comma\\ CYNTHIA L//crlf//076000~~pipe~~1499~~pipe~~WILLIAMS\\comma\\ DELILAH//crlf//076000~~pipe~~1526~~pipe~~WOLFE\\comma\\ LISA M//crlf//076000~~pipe~~1670~~pipe~~NUNLEY\\comma\\ TANGELA G//crlf//076000~~pipe~~1772~~pipe~~BRANCH\\comma\\ TIARA A//crlf//076000~~pipe~~1844~~pipe~~PERRY\\comma\\ CHRISTIAN ALLEN//crlf//076000~~pipe~~1933~~pipe~~KIRBY\\comma\\ DAVID ALLEN//crlf//076000~~pipe~~1987~~pipe~~MOORE\\comma\\ BRITTANY L//crlf//076000~~pipe~~1992~~pipe~~CARRUTHERS\\comma\\ DAVID LEE//crlf//076000~~pipe~~2054~~pipe~~WILLIAMS\\comma\\ WILBERT E//crlf//076000~~pipe~~2064~~pipe~~BOGGESS\\comma\\ NATHANYEL C//crlf//076000~~pipe~~2078~~pipe~~MITCHELL\\comma\\ KYRSTIN N//crlf//076000~~pipe~~2079~~pipe~~KROLL\\comma\\ MICHAEL JOHN//crlf//076000~~pipe~~2082~~pipe~~STANLEY\\comma\\ TIAIRA//crlf//076000~~pipe~~2089~~pipe~~ARMES\\comma\\ STEPHANIE L//crlf//076000~~pipe~~2108~~pipe~~ARMES\\comma\\ BRITNEY NICOLE//crlf//076000~~pipe~~2119~~pipe~~MCCARTNEY\\comma\\ PATRICK//crlf//077000~~pipe~~197~~pipe~~BROTOSKY\\comma\\ CORTNEY B//crlf//077000~~pipe~~256~~pipe~~CANTERBURY\\comma\\ JARED C//crlf//077000~~pipe~~1523~~pipe~~WITHROW\\comma\\ MORIAH//crlf//077000~~pipe~~1693~~pipe~~PRESTON\\comma\\ DEANE MATTHEW//crlf//077000~~pipe~~1715~~pipe~~SOVINE\\comma\\ MORGAN CAROLINE//crlf//077000~~pipe~~1833~~pipe~~WATSON\\comma\\ TINA ANN//crlf//077000~~pipe~~2052~~pipe~~THOMPSON\\comma\\ KELIS NATHANIEL//crlf//077000~~pipe~~2095~~pipe~~WITHROW\\comma\\ SHERIDEN E//crlf//078000~~pipe~~182~~pipe~~BRAGG\\comma\\ HONESTY//crlf//078000~~pipe~~413~~pipe~~DAWSON\\comma\\ ROBIN Y//crlf//078000~~pipe~~685~~pipe~~HINKLE\\comma\\ MICHAEL WAYNE//crlf//078000~~pipe~~686~~pipe~~HINKLE\\comma\\ TIFFANY D//crlf//078000~~pipe~~831~~pipe~~LAMBERT\\comma\\ RODNEY//crlf//078000~~pipe~~1320~~pipe~~SMITH\\comma\\ DAVID JEREMIAH//crlf//078000~~pipe~~1755~~pipe~~CONNER\\comma\\ AUSTIN J//crlf//078000~~pipe~~1814~~pipe~~LARABEE\\comma\\ JESSIE L//crlf//078000~~pipe~~1876~~pipe~~FIELDS\\comma\\ BETH//crlf//078000~~pipe~~1925~~pipe~~SMITH\\comma\\ JOANIE CONLEY//crlf//078000~~pipe~~1986~~pipe~~BOATWRIGHT\\comma\\ DORRISSA//crlf//078000~~pipe~~2014~~pipe~~RAMELLA\\comma\\ ALICIA NICOLE//crlf//078000~~pipe~~2045~~pipe~~PAULEY\\comma\\ AUTUMN RAE DAWN//crlf//078000~~pipe~~2046~~pipe~~BOYLES\\comma\\ SHAYLA//crlf//078000~~pipe~~2099~~pipe~~HENRY\\comma\\ MELISSA//crlf//078000~~pipe~~2109~~pipe~~GRIMMETT\\comma\\ TONYA RENEA//crlf//078000~~pipe~~2116~~pipe~~STEPHENSON\\comma\\ SCOTT ALLEN//crlf//078000~~pipe~~2121~~pipe~~STOVER\\comma\\ BREANNA DAWN//crlf//079000~~pipe~~490~~pipe~~FASSNACHT\\comma\\ AMANDA//crlf//079000~~pipe~~999~~pipe~~MOORE\\comma\\ NINA S//crlf//079000~~pipe~~1016~~pipe~~MURRELL\\comma\\ DAPHNE D//crlf//079000~~pipe~~1449~~pipe~~WALK\\comma\\ CAROL S//crlf//079000~~pipe~~1476~~pipe~~WELCH\\comma\\ EDWARD//crlf//079000~~pipe~~1583~~pipe~~RAINES\\comma\\ JULIE MARIE//crlf//079000~~pipe~~1665~~pipe~~HUMPHREYS DARNELL\\comma\\ RITA K//crlf//079000~~pipe~~1701~~pipe~~DENNIS\\comma\\ TONYA R//crlf//079000~~pipe~~1782~~pipe~~FISH\\comma\\ MADISYN BAYLEIGH//crlf//079000~~pipe~~1827~~pipe~~FOSTER\\comma\\ MAKENZIE//crlf//079000~~pipe~~1855~~pipe~~LUCAS\\comma\\ MAKAYLA LEANNE//crlf//079000~~pipe~~1900~~pipe~~BENNETT\\comma\\ DAWNYA//crlf//079000~~pipe~~1931~~pipe~~HUDSON\\comma\\ CYNTHIA ANN//crlf//079000~~pipe~~2006~~pipe~~BENNETT\\comma\\ BRIAN//crlf//079000~~pipe~~2030~~pipe~~DOZIER\\comma\\ YVONNE SUE//crlf//079000~~pipe~~2031~~pipe~~NICHOLS\\comma\\ CHRISTIAN LEE//crlf//079000~~pipe~~2107~~pipe~~WILSON\\comma\\ JOSE CAPRICE//crlf//079000~~pipe~~2118~~pipe~~AKERS\\comma\\ JONATHAN//crlf//079000~~pipe~~2124~~pipe~~JONES\\comma\\ DAVID M//crlf//079000~~pipe~~2129~~pipe~~PEYTON\\comma\\ LENZIE//crlf//080000~~pipe~~138~~pipe~~BISHOP\\comma\\ REGINA M//crlf//080000~~pipe~~199~~pipe~~BROTOSKY\\comma\\ MYRETTA//crlf//080000~~pipe~~690~~pipe~~HIVELY\\comma\\ ROSEMARY PAMA//crlf//080000~~pipe~~868~~pipe~~LIPFORD\\comma\\ ROSEMARIE A//crlf//080000~~pipe~~961~~pipe~~MEADOWS\\comma\\ ROBIN S//crlf//080000~~pipe~~971~~pipe~~MICK\\comma\\ LINDSEY J//crlf//080000~~pipe~~1102~~pipe~~PAULEY\\comma\\ LAUREL//crlf//080000~~pipe~~1212~~pipe~~RUNIONS\\comma\\ CORLETTE M//crlf//080000~~pipe~~1232~~pipe~~SAYRE\\comma\\ STEPHANIE//crlf//080000~~pipe~~1568~~pipe~~Winter\\comma\\ Kenzie//crlf//080000~~pipe~~1691~~pipe~~PRINCE\\comma\\ RACHAEL ELIZABETH//crlf//080000~~pipe~~1830~~pipe~~CHAPMAN\\comma\\ THOMAS WILLIS//crlf//080000~~pipe~~2013~~pipe~~MCCOY\\comma\\ ELIZABETH GRACE//crlf//080000~~pipe~~2027~~pipe~~HIVELY\\comma\\ ALEXIS JEWEL//crlf//080000~~pipe~~2058~~pipe~~MEEKS\\comma\\ NYLA//crlf//082000~~pipe~~148~~pipe~~BLOMER\\comma\\ ERIN S//crlf//082000~~pipe~~246~~pipe~~CAMPBELL\\comma\\ KEITH E//crlf//082000~~pipe~~335~~pipe~~COLE\\comma\\ DESHELLE N//crlf//082000~~pipe~~476~~pipe~~ERWIN\\comma\\ JEWELEE//crlf//082000~~pipe~~574~~pipe~~GOFF\\comma\\ AMANDA//crlf//082000~~pipe~~872~~pipe~~LOCKHART\\comma\\ JEREMY A//crlf//082000~~pipe~~873~~pipe~~LOCKHART\\comma\\ ASHLEY M//crlf//082000~~pipe~~907~~pipe~~MARION\\comma\\ VALERIE J//crlf//082000~~pipe~~1175~~pipe~~RAMSEY\\comma\\ EMILY M//crlf//082000~~pipe~~1440~~pipe~~VARNEY\\comma\\ CRYSTAL S//crlf//082000~~pipe~~1587~~pipe~~BROWNING\\comma\\ VERONICA LEA//crlf//082000~~pipe~~2070~~pipe~~CRUM\\comma\\ TRACY MICHELLE//crlf//082000~~pipe~~2128~~pipe~~YOUNG\\comma\\ CHRISTINA CHYVONNE//crlf//084000~~pipe~~89~~pipe~~BAILEY\\comma\\ BRIANA D//crlf//084000~~pipe~~347~~pipe~~COMER\\comma\\ JO ANN//crlf//084000~~pipe~~430~~pipe~~DICKENSON\\comma\\ APRIL D//crlf//084000~~pipe~~443~~pipe~~DOUGHERTY\\comma\\ PATRICIA A//crlf//084000~~pipe~~533~~pipe~~FRESHOUR\\comma\\ BRANDY//crlf//084000~~pipe~~797~~pipe~~KERNS\\comma\\ KIMBERLY A//crlf//084000~~pipe~~800~~pipe~~KERNS\\comma\\ JOSHUA W//crlf//084000~~pipe~~914~~pipe~~MARTIN\\comma\\ GAIL//crlf//084000~~pipe~~960~~pipe~~MEADOWS\\comma\\ JOANN L//crlf//084000~~pipe~~975~~pipe~~MILHOAN\\comma\\ JESSE S//crlf//084000~~pipe~~1053~~pipe~~NICKELSON\\comma\\ KETHA A//crlf//084000~~pipe~~1599~~pipe~~ASBURY\\comma\\ KENNETH P//crlf//084000~~pipe~~1621~~pipe~~JARRELL JR\\comma\\ JERRY W//crlf//084000~~pipe~~1769~~pipe~~CARTE\\comma\\ NATALIE MARIE//crlf//084000~~pipe~~2040~~pipe~~SUMMERS\\comma\\ CHLOE MARIE//crlf//093000~~pipe~~74~~pipe~~ANDERSON\\comma\\ TINA MARIE//crlf//093000~~pipe~~255~~pipe~~CANTERBURY\\comma\\ ELLEN ROSETTA//crlf//093000~~pipe~~352~~pipe~~COOK\\comma\\ JENNIFER//crlf//093000~~pipe~~421~~pipe~~DEEL\\comma\\ RICKY//crlf//093000~~pipe~~447~~pipe~~DRENNEN\\comma\\ MICHELLE//crlf//093000~~pipe~~511~~pipe~~FLECK\\comma\\ DEBRA LEE//crlf//093000~~pipe~~580~~pipe~~GRAHAM\\comma\\ DAVIA A//crlf//093000~~pipe~~724~~pipe~~HUFFMAN\\comma\\ BRYAN VINCENT//crlf//093000~~pipe~~862~~pipe~~LEWIS\\comma\\ SHEILA ANN//crlf//093000~~pipe~~1052~~pipe~~NICHOLSON\\comma\\ CYNTHIA//crlf//093000~~pipe~~1152~~pipe~~PRIDDY\\comma\\ TONYA S//crlf//093000~~pipe~~1213~~pipe~~RUSSE\\comma\\ JAELYNN//crlf//093000~~pipe~~1663~~pipe~~JONES JR\\comma\\ DOUGLAS//crlf//093000~~pipe~~1671~~pipe~~SANDERS JR\\comma\\ DANNY LEE//crlf//093000~~pipe~~1677~~pipe~~KUTSCHER\\comma\\ CASSIE R//crlf//093000~~pipe~~1704~~pipe~~CHANDLER\\comma\\ EMILY GRACE//crlf//093000~~pipe~~1710~~pipe~~BOSTIC\\comma\\ HALEY MARIE//crlf//093000~~pipe~~1776~~pipe~~RUCKER\\comma\\ ELISHA DAWN//crlf//093000~~pipe~~1797~~pipe~~KING\\comma\\ AMBER//crlf//093000~~pipe~~1866~~pipe~~CUMMINGS\\comma\\ MATTHEW//crlf//093000~~pipe~~1872~~pipe~~LONG\\comma\\ ALEXIS SHENDELL//crlf//093000~~pipe~~1983~~pipe~~ALDERMAN\\comma\\ KIMBERLY DAWN//crlf//093000~~pipe~~1991~~pipe~~HOLT\\comma\\ SHANE AUSTIN//crlf//093000~~pipe~~1995~~pipe~~DEEL\\comma\\ CHLOE//crlf//093000~~pipe~~2008~~pipe~~RUCKER\\comma\\ SARA NICOLE//crlf//093000~~pipe~~2073~~pipe~~HILL\\comma\\ CHARLES ARNOLD//crlf//093000~~pipe~~2084~~pipe~~JONES\\comma\\ TYREK//crlf//093000~~pipe~~2125~~pipe~~BROWN\\comma\\ KEITH//crlf//093000~~pipe~~2127~~pipe~~KEIFFER\\comma\\ TYLER//crlf//^
ID=640337|X=183|Y=787|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=155928|AgentChildNoNode=|AgentSensor=|AgentAction=tudorsInitializeJobCodes|AgentNodeNotes=|AgentNodeParams=~~backslash~~equals~~backslash~~\\quot\\StoreID~~backslash~~equals~~backslash~~\\quot\\//plus//StoreID|AgentNodeExpression=|AgentNodeActionReturnValue=Result2|AgentNodeComment=Initialize job code eanings codes|AgentNodeTermType=|^
ID=155928|X=183|Y=934|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=397805|AgentChildNoNode=|AgentSensor=|AgentAction=tudorsInitializeEmployeeNumbers|AgentNodeNotes=|AgentNodeParams=~~backslash~~equals~~backslash~~\\quot\\StoreID~~backslash~~equals~~backslash~~\\quot\\//plus//StoreID|AgentNodeExpression=|AgentNodeActionReturnValue=Result3|AgentNodeComment=Initialize employee numbers|AgentNodeTermType=|^
ID=71294|X=183|Y=403|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=123463|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=if(boolean(getSystemValue(DevelopmentMode))//comma//\\quot\\dDqDiP2B3SSYRNb1z7ju6uge\\quot\\//comma//getToken(\\quot\\POSInterface_StoreID\\quot\\))|AgentNodeExpression=|AgentNodeActionReturnValue=StoreID|AgentNodeComment=Get the active StoreID|AgentNodeTermType=|^
ID=123463|X=183|Y=537|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=815528|AgentChildNoNode=416890|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=len(trim(StoreID))>0|AgentNodeActionReturnValue=|AgentNodeComment=Is the StoreID valid?|AgentNodeTermType=|^
ID=416890|X=373|Y=537|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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~~Cannot determine active StoreID.  Try again in a minute if just restarted.~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=Invalid StoreID|AgentNodeTermType=1|^
ID=23437|X=183|Y=1491|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=33185|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=setToken(\\quot\\TudorsPayrollExportSetupComplete\\quot\\//comma//\\quot\\true\\quot\\)|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=Set token used for agent state expression|AgentNodeTermType=|^
ID=613625|X=476|Y=164|W=450|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={@(lte(hour(now())\\comma\\5\\comma\\n)) or (gte(hour(now())\\comma\\17\\comma\\n))}
</widget><widget name="Export Payroll - Tudors Office" group="" category="Export" description="Consolidates individual payroll exports into a single file for each group of stores" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Export Payroll - Tudors Office" modified="12-02-2023 20:58:20" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=03-28-2021 11:55: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="(getToken(\\quote\\AspectHashID\\quote\\)=\\quote\\4idczse69\\quote\\) or (getToken(\\quote\\AspectHashID\\quote\\)=\\quote\\wowq01z5i\\quote\\)  or (getToken(\\quote\\AspectHashID\\quote\\)=\\quote\\2u140iw8l\\quote\\)" TaskConditional_Expression_Description="" TaskState_Function="gfs(getToken(\\quote\\homedir\\quote\\)+\\quote\\export/*.csv\\quote\\)" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=2|toolboxy=241|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Export Payroll - Tudors Office.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=1223|H=785|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\\'667561')\\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\\'773267')\\quot\\>ADP Review Wrapper</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'79888')\\quot\\>ADP Export File</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'361493')\\quot\\>ADP Export File (Consolidated)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'652473')\\quot\\>File Review</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'205555')\\quot\\>Employee Charges</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'995519')\\quot\\>Business Units</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'327102')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=667561|X=300|Y=126|W=1223|H=785|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=1223|H=785|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=1223|H=785|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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_oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Office.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Export Payroll - Tudors Office\\comma\\openPOSRMPmtEmployeeChargesConsolidated\\comma\\sensor_list\\comma\\Sensor=openPOSRMPmtEmployeeChargesConsolidated\\comma\\private\\comma\\text//crlf////tab//Export Payroll - Tudors Office\\comma\\openConsolidatedADPExportFile\\comma\\sensor_list\\comma\\Sensor=openConsolidatedADPExportFile\\comma\\private\\comma\\text//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//openPOSRMPmtEmployeeChargesConsolidated//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\openPOSRMPmtEmployeeChargesConsolidated\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Concatenates all files containing employee charges in the c:\aspect7\export directory and //crlf////tab////tab//returns a driver for the file//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//DateFrom//crlf////tab////tab//DateTo//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//DriverName//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\openPOSRMPmtEmployeeChargesConsolidated\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing DateFrom//crlf////tab////tab////tab//if(not(defined(\\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(not(defined(\\quot\\__DateTo__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab////tab//endif//crlf////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////crlf////tab////tab////tab////prepare a temporary file//crlf////tab////tab////tab//sFilename=getToken(\\quot\\temporary_files\\quot\\)+\\quot\\empcharge.$$$\\quot\\//crlf////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Filename=\\quot\\+sFilename)//crlf////tab////tab////tab//appendToLog(\\quot\\Filesize: \\quot\\+fileSize(sFilename))//crlf////tab////tab////tab//appendToLog(\\quot\\dtFrom=\\quot\\+formatDate(dtFrom\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\dtTo=\\quot\\+formatDate(dtTo\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////tab////concatenate the files//crlf////tab////tab////tab//arFiles=getMatchingFiles(getToken(\\quot\\homedir\\quot\\)+\\quot\\export\*pmt*.bin\\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//s=getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sDate=right(getElement(fileName(s)\\comma\\1\\comma\\\\quot\\_\\quot\\)\\comma\\8)//crlf////tab////tab////tab////tab//dt=parseTime(sDate\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\sDate=\\quot\\+sDate+\\quot\\ dt=\\quot\\+dt)//crlf////tab////tab////tab////tab//if((dateNumber(dt)>=dateNumber(dtFrom)) and (dateNumber(dt)<=dateNumber(dtTo)))//crlf////tab////tab////tab////tab////tab//fileCopy(s\\comma\\sFilename\\comma\\true\\comma\\true)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Concatenating \\quot\\+s)//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//d=getSalt(4)//crlf////tab////tab////tab//driverOpen(POS_RM_Pmt_Employee_Charges_Consolidated\\comma\\d\\comma\\READ\\comma\\true\\comma\\\\quot\\Filename=\\quot\\+sFilename)//crlf////tab////tab////tab//return(d)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//[!------------------------------------------------------------------------//crlf//openConsolidatedADPExportFile//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\openConsolidatedADPExportFile\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Consolidates all ADP export files in a vertically consolidated driver.  Used as a sensor driver //crlf////tab////tab//to open the Aspect_Back_Office_Labor_Export_ADP_Review_Consolidated driver//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//System driver//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\openConsolidatedADPExportFile\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////get list of files//crlf////tab////tab////tab//arFiles=getMatchingFiles(getToken(\\quot\\homedir\\quot\\)+\\quot\\export/consolidated/pr*.csv\\quot\\+\\comma\\false\\comma\\false)//crlf////crlf////tab////tab////tab////open the consolidated driver//crlf////tab////tab////tab//sParams=\\quot\\KeyExpression=ID~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\//crlf////tab////tab////tab//driverOpen(ConsDriverVert\\comma\\dCons\\comma\\WRITE\\comma\\true\\comma\\sParams)//crlf////crlf////tab////tab////tab////get array of company codes//crlf////tab////tab////tab//arHashID=getCollection(Tudors_Company_Code_by_HashID\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\keys\\quot\\)//crlf////tab////tab////tab//arCompanyCode=\\quot\\\\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//sCompanyCode=lookup(Tudors_Company_Code_by_HashID\\comma\\sHashID)//crlf////tab////tab////tab////tab//if(containsElement(arCompanyCode\\comma\\sCompanyCode)<0)//crlf////tab////tab////tab////tab////tab//arCompanyCode=addElement(arCompanyCode\\comma\\sCompanyCode)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////create consolidated export file for each company code//crlf////tab////tab////tab//c=getElementCount(arCompanyCode)//crlf////tab////tab////tab//appendToLog(\\quot\\openConsolidatedADPExportFile c=\\quot\\+c)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sCompanyCode=getElement(arCompanyCode\\comma\\n)//crlf////tab////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\export/consolidated/pr\\quot\\+sCompanyCode+\\quot\\epi.csv\\quot\\//crlf////tab////tab////tab////tab//appendToLog(\\quot\\openConsolidatedADPExportFile add \\quot\\+sFilename)//crlf////tab////tab////tab////tab//d=getSalt(4)//crlf////tab////tab////tab////tab//sParams=\\quot\\Filename=\\quot\\+sFilename+\\quot\\~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\//crlf////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Labor_Export_ADP_Review\\comma\\d\\comma\\READ\\comma\\true\\comma\\sParams)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\openConsolidatedADPExportFile record count=\\quot\\+driverGetRecordCount(d\\comma\\true))//crlf////tab////tab////tab////tab//driverConsolidate(dCons\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//return(dCons)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=126|W=1223|H=785|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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_oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Office.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Export Payroll - Tudors Office\\comma\\execTudorsAction\\comma\\action_list\\comma\\Action=execTudorsAction\\comma\\private//crlf////tab//Export Payroll - Tudors Office\\comma\\deleteExpiredPmtFiles\\comma\\action_list\\comma\\Action=deleteExpiredPmtFiles\\comma\\private//crlf////tab//Export Payroll - Tudors Office\\comma\\batchUpdateTudorsFileset\\comma\\action_list\\comma\\Action=batchUpdateTudorsFileset\\comma\\private//crlf////tab//Export Payroll - Tudors Office\\comma\\tudorsRequestMissingPayrollFiles\\comma\\action_list\\comma\\Action=tudorsRequestMissingPayrollFiles\\comma\\private//crlf////tab//Export Payroll - Tudors Office\\comma\\tudorsConsolidateExportFiles\\comma\\action_list\\comma\\Action=tudorsConsolidateExportFiles\\comma\\private//crlf////tab//Export Payroll - Tudors Office\\comma\\moveEmployeesToHomeCompany\\comma\\action_list\\comma\\Action=moveEmployeesToHomeCompany\\comma\\private//crlf////tab//Export Payroll - Tudors Office\\comma\\tudorsAddEmployeeCharges\\comma\\action_list\\comma\\Action=tudorsAddEmployeeCharges\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//execTudorsAction//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\execTudorsAction\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//For development and debugging.  Can be executed manually to execute an action on remote computers //crlf////tab////tab//like forcing a payroll export.  Change the agent action and params as needed and execute the //crlf////tab////tab//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; name:\\quot\\execTudorsAction\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//arGinos=\\quot\\0t0hw362c\\comma\\1nr3z6xtz\\comma\\2j0g8fbjy\\comma\\2ninwlw4d\\comma\\3ysvyzfpk\\comma\\4canyb9di\\comma\\5rbjlzsv8\\comma\\aia09hbaa\\comma\\bcxjy7rdo\\comma\\btzcyf4i0\\comma\\cgyg1p6me\\comma\\chccky8nz\\comma\\cq306nwdm\\comma\\cuxkotgcc\\comma\\ekjltc8vn\\comma\\eqj90p5pc\\comma\\fi8hhwaq5\\comma\\fprksc8ce\\comma\\fzahqgrj5\\comma\\hwqnjh044\\comma\\nms2at3fm\\comma\\p9u732e1p\\comma\\qj3dta3tx\\comma\\qocp02x4q\\comma\\qv6ed1h9j\\comma\\ri4ctgzgp\\comma\\rij7fhldw\\comma\\sh7k2mzdv\\comma\\tn8i7yfos\\comma\\vc8vabjd7\\comma\\wk31dspm7\\comma\\y3ek91267\\comma\\y5nl9519d\\comma\\ycs5el1oh\\comma\\yrsv9lf8q\\comma\\zlric77cf\\comma\\zmgnoy522\\comma\\\\quot\\//crlf////tab////tab////tab//arTudors=\\quot\\2zhe6y5cp\\comma\\3cc9orb77\\comma\\3g1967yed\\comma\\3hmfybcfr\\comma\\3wkt1dyqm\\comma\\41lykg97h\\comma\\4v2hexg72\\comma\\59pbk9hj9\\comma\\651n1nih1\\comma\\6n7c8isyr\\comma\\7n00xcxdo\\comma\\9kggxflho\\comma\\9ruxhc9so\\comma\\9y4lptjsa\\comma\\a52opb0ka\\comma\\af68snqm3\\comma\\ar2dpzvx1\\comma\\avkj4v8kl\\comma\\d2gfa6uld\\comma\\dk9vbemib\\comma\\fq6t76kpu\\comma\\gffy27fnx\\comma\\he12w4qew\\comma\\jjibbgc0r\\comma\\kelahlf1s\\comma\\kg2elh6a1\\comma\\ktpyqou6m\\comma\\lp14v3aqp\\comma\\mm53i6r0k\\comma\\n1o9swzxj\\comma\\ojkg5gbqx\\comma\\oy8ovgwmi\\comma\\ozynj03f9\\comma\\pwv7v7lhx\\comma\\pxqg4u11h\\comma\\qsz1yneak\\comma\\rb608knof\\comma\\sa2jcyj1n\\comma\\szvyx3mm9\\comma\\t7qvuf1t2\\comma\\uibcurl3e\\comma\\xf8w9wnr3\\comma\\xj9a0hv4y\\comma\\y23cswabz\\comma\\yj49s1inm\\comma\\yqrn7170u\\comma\\zkeb5f8xn\\comma\\zromlpi7u\\comma\\\\quot\\//tab////tab////tab//arHashID=\\quot\\9y4lptjsa\\comma\\avkj4v8kl\\comma\\ycs5el1oh\\comma\\ri4ctgzgp\\comma\\btzcyf4i0\\comma\\zmgnoy522\\comma\\n1o9swzxj\\comma\\zromlpi7u\\comma\\sa2jcyj1n\\comma\\kg2elh6a1\\comma\\ktpyqou6m\\comma\\t7qvuf1t2\\comma\\ozynj03f9\\comma\\3wkt1dyqm\\comma\\2zhe6y5cp\\comma\\d2gfa6uld\\comma\\41lykg97h\\comma\\yj49s1inm\\comma\\af68snqm3\\comma\\lp14v3aqp\\comma\\pxqg4u11h\\comma\\xj9a0hv4y\\comma\\7n00xcxdo\\comma\\a52opb0ka\\comma\\3cc9orb77\\comma\\jjibbgc0r\\comma\\ar2dpzvx1\\comma\\kelahlf1s\\comma\\rb608knof\\comma\\oy8ovgwmi\\comma\\9kggxflho\\comma\\xf8w9wnr3\\comma\\pwv7v7lhx\\comma\\uibcurl3e\\comma\\yqrn7170u\\comma\\fq6t76kpu\\comma\\59pbk9hj9\\comma\\gffy27fnx\\comma\\ojkg5gbqx\\comma\\dk9vbemib\\comma\\6n7c8isyr\\comma\\szvyx3mm9\\comma\\mm53i6r0k\\comma\\he12w4qew\\comma\\4v2hexg72\\comma\\9ruxhc9so\\comma\\qsz1yneak\\comma\\zkeb5f8xn\\comma\\3g1967yed\\comma\\651n1nih1\\comma\\3hmfybcfr\\comma\\\\quot\\//crlf////tab////tab////tab//arHashID=arGinos\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\arTudors//crlf////tab////tab////tab//c=getElementCount(arHashID)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sHashID=getElement(arHashID\\comma\\n)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\execTudorsAction: \\quot\\\\plus\\sHashID)//crlf////tab////tab////tab////tab////s=gw(\\quot\\oi85fK8kFTQDVVcRTsBH6W5i\\quot\\\\comma\\\\quot\\Export Payroll - Tudors Setup\\quot\\\\comma\\ContainerItemID\\comma\\Params\\comma\\Source)//crlf////tab////tab////tab////tab//s=execAgentAction(\\quot\\addTudorsPayrollExportFileset\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sHashID)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\execTudorsAction: \\quot\\\\plus\\sHashID\\plus\\\\quot\\: \\quot\\\\plus\\s)//crlf////tab////tab////tab////tab//sResult=sResult\\plus\\sHashID\\plus\\\\quot\\: \\quot\\\\plus\\s\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//fileWriteContent(getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\execTudorsAction.txt\\quot\\\\comma\\sResult)//crlf////tab////tab////tab//return(htmlTable(sResult\\comma\\char(10)\\comma\\\\quot\\:\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//deleteExpiredPmtFiles//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\deleteExpiredPmtFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Deletes pmt files in the aspect7~~backslash~~export directory older than 21 days//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//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\deleteExpiredPmtFiles\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//dtCutoff=incrementTime(now()\\comma\\-21)//crlf////tab////tab////tab//arFiles=getMatchingFiles(\\quot\\c:~~backslash~~aspect7~~backslash~~export~~backslash~~*pmt*\\quot\\\\comma\\false\\comma\\false\\comma\\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////tab////tab////tab////tab////lp14v3aqp_pmt20211124.bin//crlf////tab////tab////tab////tab//dt=parseTime(mid(filename(sFilename)\\comma\\13\\comma\\8)\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab//if(dt<dtCutoff)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Deleting \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab//endif//tab////tab////tab////tab////crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//batchUpdateTudorsFileset//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\batchUpdateTudorsFileset\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates file sets at all Tudors stores.  This is used for debugging and is not called by any //crlf////tab////tab//other scripts or agents.  It can be used as a template for other batch actions.//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//Table indicating results//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\batchUpdateTudorsFileset\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//arHashID=\\quot\\9y4lptjsa\\comma\\avkj4v8kl\\comma\\ycs5el1oh\\comma\\ri4ctgzgp\\comma\\btzcyf4i0\\comma\\zmgnoy522\\comma\\n1o9swzxj\\comma\\zromlpi7u\\comma\\sa2jcyj1n\\comma\\kg2elh6a1\\comma\\ktpyqou6m\\comma\\t7qvuf1t2\\comma\\ozynj03f9\\comma\\3wkt1dyqm\\comma\\2zhe6y5cp\\comma\\d2gfa6uld\\comma\\41lykg97h\\comma\\yj49s1inm\\comma\\af68snqm3\\comma\\lp14v3aqp\\comma\\pxqg4u11h\\comma\\xj9a0hv4y\\comma\\7n00xcxdo\\comma\\a52opb0ka\\comma\\3cc9orb77\\comma\\jjibbgc0r\\comma\\ar2dpzvx1\\comma\\kelahlf1s\\comma\\rb608knof\\comma\\oy8ovgwmi\\comma\\9kggxflho\\comma\\xf8w9wnr3\\comma\\pwv7v7lhx\\comma\\uibcurl3e\\comma\\yqrn7170u\\comma\\fq6t76kpu\\comma\\59pbk9hj9\\comma\\gffy27fnx\\comma\\ojkg5gbqx\\comma\\dk9vbemib\\comma\\6n7c8isyr\\comma\\szvyx3mm9\\comma\\mm53i6r0k\\comma\\he12w4qew\\comma\\4v2hexg72\\comma\\9ruxhc9so\\comma\\qsz1yneak\\comma\\zkeb5f8xn\\comma\\3g1967yed\\comma\\651n1nih1\\comma\\3hmfybcfr\\comma\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(arHashID)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sHashID=getElement(arHashID\\comma\\n)//crlf////tab////tab////tab////tab////s=gw(\\quot\\oi85fK8kFTQDVVcRTsBH6W5i\\quot\\\\comma\\\\quot\\Export Payroll - Tudors Setup\\quot\\\\comma\\ContainerItemID\\comma\\Params\\comma\\Source)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Update fileset: \\quot\\\\plus\\sHashID)//crlf////tab////tab////tab////tab//s=execAgentAction(\\quot\\addTudorsPayrollExportFileset\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sHashID)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Update fileset: \\quot\\\\plus\\sHashID\\plus\\\\quot\\: \\quot\\\\plus\\s)//crlf////tab////tab////tab////tab//sResult=sResult\\plus\\sHashID\\plus\\\\quot\\: \\quot\\\\plus\\s\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//fileWriteContent(\\quot\\c:~~backslash~~temp~~backslash~~2021-10~~backslash~~tudorssetup.txt\\quot\\\\comma\\sResult)//crlf////tab////tab////tab//return(htmlTable(sResult\\comma\\char(10)\\comma\\\\quot\\:\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//tudorsRequestMissingPayrollFiles//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\tudorsRequestMissingPayrollFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Sends a notification to export payroll to any stores for which a payroll file is missing or //crlf////tab////tab//incomplete//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\\tudorsRequestMissingPayrollFiles\\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\\Ok: Aborted because another instance is already running\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get array of HashIDs that will be processed//crlf////tab////tab////tab//arHashID=getCollection(Tudors_Company_Code_by_HashID\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\keys\\quot\\)//crlf////crlf////tab////tab////tab////get the end of the last payroll period//crlf////tab////tab////tab////dt=getWeekEnd(-1\\comma\\now()\\comma\\6)//crlf////tab////tab////tab//s=getSensorValue(\\quot\\getTudorsExportEndingDate\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//dt=parseTime(s\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Week end=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\EEE MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////tab////check the files//crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(arHashID)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//cMissing=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sHashID=getElement(arHashID\\comma\\n)//crlf////tab////tab////tab////tab//if(sHashID<>\\quot\\4IDCZSE69\\quot\\)//crlf////tab////tab////tab////tab////tab//sCompanyCode=lookup(Tudors_Company_Code_by_HashID\\comma\\sHashID)//crlf////tab////tab////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\export/\\quot\\\\plus\\sHashID\\plus\\\\quot\\_pr\\quot\\\\plus\\sCompanyCode\\plus\\\\quot\\epi.csv\\quot\\//crlf////tab////tab////tab////tab////tab//s=appendToLog(sFilename\\plus\\\\quot\\ \\quot\\\\plus\\formatDate(fileModified(sFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)\\plus\\\\quot\\ \\quot\\\\plus\\fileSize(sFilename))//crlf////tab////tab////tab////tab////tab//sResult=sResult\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab//if((not(fileExists(sFilename))) or (fileSize(sFilename)<120) or (fileModified(sFilename)<dt))//crlf////tab////tab////tab////tab////tab////tab//s=execAgent(\\quot\\oi85fK8kFTQDVVcRTsBH6W5i\\quot\\\\comma\\\\quot\\Export Payroll\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sHashID\\comma\\true)//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////tab//cMissing\\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////crlf////tab////tab////tab//return(\\quot\\Ok: \\quot\\\\plus\\s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//tudorsConsolidateExportFiles//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\tudorsConsolidateExportFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Consolidates payroll export files in the [homedir]export directory.  A file is created //crlf////tab////tab//for each company defined in the //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\\tudorsConsolidateExportFiles\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////get array of HashIDs that will be processed//crlf////tab////tab////tab//arHashID=getCollection(Tudors_Company_Code_by_HashID\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\keys\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\arHashID count=\\quot\\\\plus\\getElementCount(arHashID))//crlf////crlf////tab////tab////tab////create a hashtable of HashID/Company Code and an array of unique company codes//crlf////tab////tab////tab//arCompanyCode=\\quot\\\\quot\\//crlf////tab////tab////tab//hashCreate(hCompanyCode)//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//appendToLog(\\quot\\n=\\quot\\\\plus\\n\\plus\\\\quot\\ sHashID=\\quot\\\\plus\\sHashID)//crlf////tab////tab////tab////tab//if(sHashID<>\\quot\\4IDCZSE69\\quot\\)//crlf////tab////tab////tab////tab////tab//sCompanyCode=lookup(Tudors_Company_Code_by_HashID\\comma\\sHashID)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\sCompanyCode=\\quot\\\\plus\\sCompanyCode)//crlf////tab////tab////tab////tab////tab//if(containsElement(arCompanyCode\\comma\\sCompanyCode)<0)//crlf////tab////tab////tab////tab////tab////tab//arCompanyCode=addElement(arCompanyCode\\comma\\sCompanyCode)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\arCompanyCode Added HashID: \\quot\\\\plus\\sHashID\\plus\\\\quot\\ Code: \\quot\\\\plus\\sCompanyCode\\plus\\\\quot\\ to hashtable\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//hashPut(hCompanyCode\\comma\\sHashID\\comma\\sCompanyCode)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\hCompanyCode Added HashID: \\quot\\\\plus\\sHashID\\plus\\\\quot\\ Code: \\quot\\\\plus\\sCompanyCode\\plus\\\\quot\\ to hashtable\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////create consolidated export file for each company code//crlf////tab////tab////tab//c=getElementCount(arCompanyCode)//crlf////tab////tab////tab////appendToLog(\\quot\\c=\\quot\\\\plus\\c)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//cFile=0//crlf////tab////tab////tab//cNotFound=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sCompanyCode=getElement(arCompanyCode\\comma\\n)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\n=\\quot\\\\plus\\n\\plus\\\\quot\\ sCompanyCode=\\quot\\\\plus\\sCompanyCode)//crlf////crlf////tab////tab////tab////tab////get the filename and delete it if it exists//crlf////tab////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\export/consolidated/pr\\quot\\\\plus\\sCompanyCode\\plus\\\\quot\\epi.csv\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////arKey contains the HashIDs//crlf////tab////tab////tab////tab//arKey=hashGetKeys(hCompanyCode)//crlf////tab////tab////tab////tab//cKey=getElementCount(arKey)//crlf////tab////tab////tab////tab//nKey=0//crlf////tab////tab////tab////tab//while(nKey<cKey)//crlf////tab////tab////tab////tab////tab//sHashID=getElement(arKey\\comma\\nKey)//crlf////tab////tab////tab////tab////tab//s=hashGet(hCompanyCode\\comma\\sHashID)//crlf////tab////tab////tab////tab////tab//if(s=sCompanyCode)//crlf////tab////tab////tab////tab////tab////tab//sStoreFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\export/\\quot\\\\plus\\sHashID\\plus\\\\quot\\_pr\\quot\\\\plus\\s\\plus\\\\quot\\epi.csv\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if(fileExists(sStoreFilename))//crlf////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Append: \\quot\\\\plus\\fileName(sStoreFilename)\\plus\\fileExt(sStoreFilename)\\plus\\\\quot\\ to \\quot\\\\plus\\fileName(sFilename)\\plus\\fileExt(sFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//fileCopy(sStoreFilename\\comma\\sFilename\\comma\\true\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab////tab//cFile\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Error: Cannot locate \\quot\\\\plus\\sStoreFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//cNotFound\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//nKey\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab////tab////There are two methods below.  Method1 is the original method that removes the Temp Rate field//crlf////tab////tab////tab////tab////Method2 was done for Ginos where employees may work multiple job codes.  The Temp Rate field//crlf////tab////tab////tab////tab////is not removed.  The Temp Dept code is in the form [storecode]=[jobcode].  The Temp Dept //crlf////tab////tab////tab////tab////field is split\\comma\\ leaving the store code in the Temp Dept and putting the job code into the //crlf////tab////tab////tab////tab////Earnings 3 Code field.  This requires the regular hours earnings code to be formatted as //crlf////tab////tab////tab////tab////[storecode]-[jobcode].  The setup routines have not been modified to implement this yet.//crlf////crlf////tab////tab////tab////tab////remove the header line from all files.  Leave the first header line//crlf////tab////tab////tab////tab////Also remove the Temp Rate field //crlf////tab////tab////tab////tab////METHOD1//crlf////tab////tab////tab////tab//if(true)//crlf////tab////tab////tab////tab////tab//s=fileGetContent(sFilename)//crlf////tab////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(13)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//c1=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab////tab//n1=0//crlf////tab////tab////tab////tab////tab//sFinal=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab//while(n1<c1)//crlf////tab////tab////tab////tab////tab////tab////a length of 10 is used to ignore lines that contain only the delivery code and amount//crlf////tab////tab////tab////tab////tab////tab////This should be cleaned up at the store.  This is for during the transition.  //crlf////tab////tab////tab////tab////tab////tab////It would normally be set to 0//crlf////tab////tab////tab////tab////tab////tab//s1=trim(getElement(s\\comma\\n1\\comma\\char(10)))//crlf////tab////tab////tab////tab////tab////tab//if(len(s1)>10)//crlf////tab////tab////tab////tab////tab////tab////tab//if((n1=0) or (pos(\\quot\\Co Code\\quot\\\\comma\\s1)<0))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s2=removeElementAt(s1\\comma\\6)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////remove addendum from Temp Dept.  This is the regular hours earnings code.  //crlf////tab////tab////tab////tab////tab////tab////tab////tab////They are made unique at the store to calculate totals for eahc job code //crlf////tab////tab////tab////tab////tab////tab////tab////tab////and the addendum is removed here.//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sTempDept=removeQuotes(getElement(s2\\comma\\3))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\sTempDept=\\quot\\\\plus\\sTempDept)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(pos(\\quot\\-\\quot\\\\comma\\sTempDept)>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//s2=setElement(s2\\comma\\3\\comma\\quote(getElement(sTempDept\\comma\\0\\comma\\\\quot\\-\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\s2=\\quot\\\\plus\\s2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab//sFinal=sFinal\\plus\\s2\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//n1\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//fileWriteContent(sFilename\\comma\\sFinal)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////METHOD2 12/2021//crlf////tab////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab////tab//s=fileGetContent(sFilename)//crlf////tab////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(13)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//c1=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab////tab//n1=0//crlf////tab////tab////tab////tab////tab//sFinal=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab//while(n1<c1)//crlf////tab////tab////tab////tab////tab////tab//s1=trim(getElement(s\\comma\\n1\\comma\\char(10)))//crlf////tab////tab////tab////tab////tab////tab//if(len(s1)>0)//crlf////tab////tab////tab////tab////tab////tab////tab//if((n1=0) or (pos(\\quot\\Co Code\\quot\\\\comma\\s1)<0))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(n1=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//s2=s1//crlf////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sTempDept=removeQuotes(getElement(s1\\comma\\3))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//s2=setElement(s1\\comma\\3\\comma\\quote(getElement(sTempDept\\comma\\0\\comma\\\\quot\\-\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\sTempDept=\\quot\\\\plus\\sTempDept)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\s2=\\quot\\\\plus\\s2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//s2=setElement(s2\\comma\\4\\comma\\quote(getElement(sTempDept\\comma\\1\\comma\\\\quot\\-\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab//sFinal=sFinal\\plus\\s2\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//n1\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//fileWriteContent(sFilename\\comma\\sFinal)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////Back up the file on Mon thru Wed.  Don\\apos\\t back is up on Thu to avoid the possibility //crlf////tab////tab////tab////tab////that a store has rolled over and is exporting the upcoming week//crlf////tab////tab////tab////tab//if(dayOfWeek(now())<=3)//crlf////tab////tab////tab////tab////tab//dt=incrementTime(firstDayOfWeek(now())\\comma\\-1)//crlf////tab////tab////tab////tab////tab//sBackupFileName=fileDrive(sFilename)\\plus\\fileDir(sFilename)\\plus\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\~~backslash~~\\quot\\\\plus\\filename(sFilename)\\plus\\fileExt(sFilename)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Copy \\quot\\\\plus\\sFilename\\plus\\\\quot\\ to \\quot\\\\plus\\sBackupFileName)//crlf////tab////tab////tab////tab////tab//fileCopy(sFilename\\comma\\sBackupFileName)//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//return(\\quot\\ok: Company count: \\quot\\\\plus\\c\\plus\\\\quot\\ File count: \\quot\\\\plus\\cFile\\plus\\\\quot\\ Not Found: \\quot\\\\plus\\cNotFound)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//moveEmployeesToHomeCompany//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\moveEmployeesToHomeCompany\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Reads each files and moves employees with a company code in the employee number to //crlf////tab////tab//the file associated with the company//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\\moveEmployeesToHomeCompany\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////get an array of files to be processed//crlf////tab////tab////tab//arFiles=getMatchingFiles(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\export/consolidated/pr*.csv\\quot\\\\comma\\false\\comma\\false)//crlf////tab////tab////tab////crlf////tab////tab////tab////get array of company codes.  These are used to identify company codes at the start of //crlf////tab////tab////tab////the employee number.  Remove the first element which is the \\quot\\select\\quot\\ option//crlf////tab////tab////tab//arCompanyCode=getCollection(Tudors_Company_Code_With_Select\\comma\\true\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\keys\\quot\\)//crlf////tab////tab////tab//arCompanyCode=removeElementAt(arCompanyCode\\comma\\0)//crlf////crlf////tab////tab////tab////a company with the code WVN is a dummy company used for maintenance.  There are no stores //crlf////tab////tab////tab////associated with it.  Add this code to the list of company codes.  This will allow maintenance//crlf////tab////tab////tab////employees with this code to be moved from the existing file to a new one (prWVNepi.csv)//crlf////tab////tab////tab////Also\\comma\\ initialize a file to accept the data//crlf////tab////tab////tab//arCompanyCode=addElement(arCompanyCode\\comma\\\\quot\\WVN\\quot\\)//crlf////crlf////tab////tab////tab//s=\\quot\\\\apos\\Co Code\\apos\\\\comma\\\\apos\\Batch ID\\apos\\\\comma\\\\apos\\File \\pound\\\\apos\\\\comma\\\\apos\\Temp Dept\\apos\\\\comma\\\\apos\\Earnings 3 Code\\apos\\\\comma\\\\apos\\Earnings 3 Amount\\apos\\\\comma\\\\apos\\Reg Hours\\apos\\\\comma\\\\apos\\O/T Hours\\apos\\\\comma\\\\apos\\Delivery Code\\apos\\\\comma\\\\apos\\Delivery Amount\\apos\\\\quot\\\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x27)\\comma\\char(0x22))//crlf////tab////tab////tab//fileWriteContent(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\export/consolidated/prWVNepi.csv\\quot\\\\comma\\s)//crlf////crlf////tab////tab////tab//sLog=formatDate(now()\\comma\\\\quot\\EEE MM-dd-yyyy HH:mm\\quot\\)\\plus\\char(13)\\plus\\char(10)//crlf////crlf////tab////tab////tab//cMoved=0//crlf////tab////tab////tab//cFile=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//nFile=0//crlf////tab////tab////tab//while(nFile<cFile)//crlf////tab////tab////tab////tab//sFilename=getElement(arFiles\\comma\\nFile\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sFileCompanyCode=substring(fileName(sFilename)\\comma\\2\\comma\\5)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\sFileCompanyCode=\\quot\\\\plus\\sFileCompanyCode)//crlf////tab////tab////tab////tab//sLog=sLog\\plus\\\\quot\\Processing \\quot\\\\plus\\fileName(sFilename)\\plus\\char(13)\\plus\\char(10)//crlf////crlf////tab////tab////tab////tab//sContent=fileGetContent(sFilename)//crlf////tab////tab////tab////tab//sContent=replaceSubstring(sContent\\comma\\char(13)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sNewContent=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////tab//c=getElementCount(sContent\\comma\\char(10))//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//s=trim(getElement(sContent\\comma\\n\\comma\\char(10)))//crlf////tab////tab////tab////tab////tab//if(len(s)>0)//crlf////tab////tab////tab////tab////tab////tab//if(n=0)//crlf////tab////tab////tab////tab////tab////tab////tab////header line//crlf////tab////tab////tab////tab////tab////tab////tab//sNewContent=sNewContent\\plus\\s\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//sEmpNo=trim(removeQuotes(getElement(s\\comma\\2)))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//if(len(sEmpNo)>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sCompanyCode=left(sEmpNo\\comma\\3)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(containsElement(arCompanyCode\\comma\\sCompanyCode)<0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sNewContent=sNewContent\\plus\\s\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(sCompanyCode=sFileCompanyCode)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////mistakenly moving the record to the file it\\apos\\s already in//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//s=setElement(s\\comma\\2\\comma\\quote(substring(sEmpNo\\comma\\3)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//sNewContent=sNewContent\\plus\\s\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//s=\\quot\\Removed company code from \\quot\\\\plus\\sEmpNo\\plus\\\\quot\\ in \\quot\\\\plus\\fileName(sFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(s)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//sLog=sLog\\plus\\\\quot\\  \\quot\\\\plus\\s\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////change the company code//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//s=setElement(s\\comma\\0\\comma\\quote(left(sEmpNo\\comma\\3)))//crlf////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////remove the company code from the employee number//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//s=setElement(s\\comma\\2\\comma\\quote(substring(sEmpNo\\comma\\3)))\\plus\\char(13)\\plus\\char(10)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//sAltFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\export/consolidated/pr\\quot\\\\plus\\sCompanyCode\\plus\\\\quot\\epi.csv\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//fileWriteContent(sAltFilename\\comma\\s\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//s=\\quot\\Moved \\quot\\\\plus\\sEmpNo\\plus\\\\quot\\ from \\quot\\\\plus\\fileName(sFilename)\\plus\\\\quot\\ to \\quot\\\\plus\\fileName(sAltFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(s)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//sLog=sLog\\plus\\\\quot\\  \\quot\\\\plus\\s\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//cMoved\\plus\\\\plus\\//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//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sNewContent=sNewContent\\plus\\s\\plus\\char(13)\\plus\\char(10)//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//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFilename\\comma\\sNewContent)//crlf////crlf////tab////tab////tab////tab//nFile\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////write log//crlf////tab////tab////tab//fileWriteContent(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\export/consolidated/log.txt\\quot\\\\comma\\sLog)//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Moved \\quot\\\\plus\\cMoved\\plus\\\\quot\\ records\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//tudorsAddEmployeeCharges//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\tudorsAddEmployeeCharges\\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\\tudorsAddEmployeeCharges\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////12.2021 This not needed as of 1/2022//crlf////tab////tab////tab//return(\\quot\\Ok: Emp Charges disabled\\quot\\)//crlf////crlf////tab////tab////tab////get an array of files to be processed//crlf////tab////tab////tab//arFiles=getMatchingFiles(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\export/consolidated/pr*.csv\\quot\\\\comma\\false\\comma\\false)//crlf////tab////tab////tab////crlf////tab////tab////tab////get array of company codes.  These are used to identify company codes at the start of //crlf////tab////tab////tab////the employee number.  Remove the first element which is the \\quot\\select\\quot\\ option//crlf////tab////tab////tab//arCompanyCode=getCollection(Tudors_Employee_Charge_Codes_by_Company_Code\\comma\\true\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\keys\\quot\\)//crlf////tab////tab////tab//arCompanyChargeCode=getCollection(Tudors_Employee_Charge_Codes_by_Company_Code\\comma\\true\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\value\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\arCompanyCode=\\quot\\\\plus\\arCompanyCode)//crlf////tab////tab////tab//appendToLog(\\quot\\arCompanyChargeCode=\\quot\\\\plus\\arCompanyChargeCode)//crlf////crlf////tab////tab////tab////get starting and ending dates of payroll period//crlf////tab////tab////tab//s=getSensorValue(\\quot\\getTudorsExportEndingDate\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//dtTo=parseTime(s\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dtFrom=incrementTime(dtTo\\comma\\-13)//crlf////crlf////tab////tab////tab////open consolidated driver of employee charges//crlf////tab////tab////tab//sParams=\\quot\\SensorName=openPOSRMPmtEmployeeChargesConsolidated\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\~~pipe~~DateFrom=\\quot\\\\plus\\formatDate(dtFrom\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\~~pipe~~DateTo=\\quot\\\\plus\\formatDate(dtTo\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\sParams=\\quot\\\\plus\\sParams)//crlf////crlf////tab////tab////tab//driverOpen(POS_RM_PMT_EMPLOYEE_CHARGES_CONSOLIDATED\\comma\\dEmpcharge\\comma\\READ\\comma\\false\\comma\\sParams)//crlf////crlf////tab////tab////tab////set to subtotals only by account no//crlf////tab////tab////tab//driverSetSubtotal(dEmpcharge\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\Account_No\\quot\\)//crlf////tab////tab////tab//driverSetDetails(dEmpcharge\\comma\\false)//crlf////tab////tab////tab//driverSetFilter(dEmpcharge\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////get the charges for each employee//crlf////tab////tab////tab//hashCreate(hEmpCharge)//crlf////tab////tab////tab//c=driverGetRecordCount(dEmpcharge\\comma\\false)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sAccountNo=driverGetField(dEmpCharge\\comma\\\\quot\\Account_No\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dAmount=driverGetField(dEmpCharge\\comma\\\\quot\\Amount\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//hashPut(hEmpCharge\\comma\\sAccountNo\\comma\\dAmount)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Added \\quot\\\\plus\\sAccountNo\\plus\\\\quot\\ \\quot\\\\plus\\dAmount)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//cFile=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//nFile=0//crlf////tab////tab////tab//while(nFile<cFile)//crlf////tab////tab////tab////tab//sFilename=getElement(arFiles\\comma\\nFile\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sFileCompanyCode=substring(fileName(sFilename)\\comma\\2\\comma\\5)//crlf////crlf////tab////tab////tab////tab////add columns for employee charges by company//crlf////tab////tab////tab////tab//sContent=fileGetContent(sFilename)//crlf////tab////tab////tab////tab//sContent=replaceSubstring(sContent\\comma\\char(13)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sNewContent=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////tab//cLine=getElementCount(sContent\\comma\\char(10))//crlf////tab////tab////tab////tab//nLine=0//crlf////tab////tab////tab////tab//while(nLine<cLine)//crlf////tab////tab////tab////tab////tab//sLine=trim(getElement(sContent\\comma\\nLine\\comma\\char(10)))//crlf////crlf////tab////tab////tab////tab////tab//if(len(sLine)>0)//crlf////tab////tab////tab////tab////tab////tab//if(nLine=0)//crlf////tab////tab////tab////tab////tab////tab////tab////add the column headers//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=addElement(sLine\\comma\\\\quot\\FC\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//cCompanyCode=getElementCount(arCompanyCode)//crlf////tab////tab////tab////tab////tab////tab////tab//nCompanyCode=0//crlf////tab////tab////tab////tab////tab////tab////tab//while(nCompanyCode<cCompanyCode)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sCompanyCode=getElement(arCompanyCode\\comma\\nCompanyCode)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sCompanyChargeCode=getElement(arCompanyChargeCode\\comma\\nCompanyCode)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(sCompanyCode<>sFileCompanyCode)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sLine=addElement(sLine\\comma\\sCompanyChargeCode)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//nCompanyCode\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////add employee charges//crlf////tab////tab////tab////tab////tab////tab////tab//sEmpNo=removeQuotes(getElement(sLine\\comma\\2))//crlf////tab////tab////tab////tab////tab////tab////tab//sKey=sFileCompanyCode\\plus\\sEmpNo//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////add charges for company//crlf////tab////tab////tab////tab////tab////tab////tab//dAmount=0//crlf////tab////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hEmpCharge\\comma\\sKey))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//dAmount=hashGet(hEmpCharge\\comma\\sKey)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\sKey=\\quot\\\\plus\\sKey\\plus\\\\quot\\ dAmount=\\quot\\\\plus\\dAmount)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=addElement(sLine\\comma\\dAmount)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////add charges for other companies//crlf////tab////tab////tab////tab////tab////tab////tab//cCompanyCode=getElementCount(arCompanyCode)//crlf////tab////tab////tab////tab////tab////tab////tab//nCompanyCode=0//crlf////tab////tab////tab////tab////tab////tab////tab//while(nCompanyCode<cCompanyCode)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sCompanyCode=getElement(arCompanyCode\\comma\\nCompanyCode)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sCompanyChargeCode=getElement(arCompanyChargeCode\\comma\\nCompanyCode)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(sCompanyCode<>sFileCompanyCode)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sKey=sCompanyCode\\plus\\sEmpNo//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////add charges for company//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dAmount=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hEmpCharge\\comma\\sKey))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dAmount=hashGet(hEmpCharge\\comma\\sKey)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\sKey1=\\quot\\\\plus\\sKey\\plus\\\\quot\\ dAmount=\\quot\\\\plus\\dAmount)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\sKey2=\\quot\\\\plus\\sKey\\plus\\\\quot\\ dAmount=\\quot\\\\plus\\dAmount)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//bPlaceholder=true//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sLine=addElement(sLine\\comma\\dAmount)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//nCompanyCode\\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//sNewContent=sNewContent\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////crlf////tab////tab////tab////tab////tab//nLine\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFilename\\comma\\sNewContent)//crlf////tab////tab////tab////tab//nFile\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(dEmpcharge)//crlf////crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=327102|X=300|Y=126|W=1223|H=785|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=25707|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=onchange|AgentReportTo=getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~AspectServerHashID~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|^
ID=703372|X=183|Y=768|W=119|H=85|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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//plus//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ ~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//plus//Result2|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_Export Payroll - Tudors Office\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Office\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 11-28-2021 01:52: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////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Office\\comma\\AgentAction\\comma\\25707\\comma\\0\\comma\\Create consolidated export files//crlf////crlf////tab////tab////Create consolidated export files//crlf////tab////tab//Result1=execAgentAction(\\quot\\tudorsConsolidateExportFiles\\quot\\)//crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Office\\comma\\AgentAction\\comma\\378164\\comma\\0\\comma\\Move employees to the appropriate company file//crlf////crlf////tab////tab////Move employees to the appropriate company file//crlf////tab////tab//Result2=execAgentAction(\\quot\\moveEmployeesToHomeCompany\\quot\\)//crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Office\\comma\\AgentAction\\comma\\846161\\comma\\0\\comma\\Add employee charges//crlf////crlf////tab////tab////Add employee charges//crlf////tab////tab//execAgentAction(\\quot\\tudorsAddEmployeeCharges\\quot\\\\comma\\)//crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Office\\comma\\AgentAction\\comma\\878304\\comma\\0\\comma\\Delete expired pmt files//crlf////crlf////tab////tab////Delete expired pmt files//crlf////tab////tab//execAgentAction(\\quot\\deleteExpiredPmtFiles\\quot\\\\comma\\)//crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Office\\comma\\AgentTerminate\\comma\\703372\\comma\\0\\comma\\Ok//crlf////tab////tab//agentReportStatus(\\quot\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Tudors Office\\quot\\\\comma\\\\quot\\703372\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result1+\\quot\\ \\quot\\+Result2\\comma\\bForceReport\\comma\\now()-tAgentStart))//crlf////tab////tab//scriptSetResult(Result1+\\quot\\ \\quot\\+Result2)//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;11282021//amp//nbsp;015205//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;Payroll//amp//nbsp;-//amp//nbsp;Tudors//amp//nbsp;Office\\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-28-2021//amp//nbsp;01:52: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;//Create//amp//nbsp;consolidated//amp//nbsp;export//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;Result1=<span class='keyword'>execAgentAction</span>(\\quot\\tudorsConsolidateExportFiles\\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;//Move//amp//nbsp;employees//amp//nbsp;to//amp//nbsp;the//amp//nbsp;appropriate//amp//nbsp;company//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\\moveEmployeesToHomeCompany\\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;//Add//amp//nbsp;employee//amp//nbsp;charges</span><br>//amp//nbsp;//amp//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\\tudorsAddEmployeeCharges\\quot\\\\comma\\)<br><br><span class='comment'>//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;expired//amp//nbsp;pmt//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;<span class='keyword'>execAgentAction</span>(\\quot\\deleteExpiredPmtFiles\\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;<span class='keyword'>agentReportStatus</span>(\\quot\\oi85fK8kFTQDVVcRTsBH6W5i_Export//amp//nbsp;Payroll//amp//nbsp;-//amp//nbsp;Tudors//amp//nbsp;Office\\quot\\\\comma\\\\quot\\703372\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result1+\\quot\\//amp//nbsp;\\quot\\+Result2\\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>(Result1+\\quot\\//amp//nbsp;\\quot\\+Result2)<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>11282021 015205</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\\chart25707\\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>Export Payroll - Tudors Office</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\\chart703372\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 727px; left: 0px; width: 120px; height: 86px; 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\\chart25707\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart378164\\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\\>Create consolidated export files<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>tudorsConsolidateExportFiles<br></td></tr><tr><td><u>Return</u></td><td>Result1</td></tr></tbody></table></div></div><div id=\\quot\\chart378164\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart846161\\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\\>Move employees to the appropriate company file<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>moveEmployeesToHomeCompany<br></td></tr><tr><td><u>Return</u></td><td>Result2</td></tr></tbody></table></div></div><div id=\\quot\\chart878304\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart703372\\quot\\ style=\\quot\\position: absolute; top: 593px; 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 expired pmt files<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>deleteExpiredPmtFiles<br></td></tr><tr><td><u>Return</u></td><td></td></tr></tbody></table></div></div><div id=\\quot\\chart846161\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart878304\\quot\\ style=\\quot\\position: absolute; top: 485px; 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=79888|X=300|Y=126|W=1223|H=785|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\\05042021\\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\export\rb608knof_prrkaepi.csv\\quot\\)>//crlf////crlf////tab//<include type:script; commands:\\quot\\//crlf////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab//dtTo=parseTime(getSensorValue(\\quot\\getTudorsExportEndingDate\\quot\\\\comma\\\\quot\\DtToday=\\quot\\+formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\))\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab//dtFrom=incrementTime(dtTo\\comma\\-13)//crlf////tab////tab//sResult=htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(dtFrom\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab//sResult=sResult+htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(dtTo\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//tab////tab////crlf////tab////tab//return(sResult)//crlf////tab//\\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\\Aspect_Back_Office_Labor_Export_ADP_Review\\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=ASPECT_BACK_OFFICE_LABOR_EXPORT_ADP_REVIEW\\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\\1ZQ91H4X\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT_BACK_OFFICE_LABOR_EXPORT_ADP_REVIEWDialog\\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//</conditional>//crlf//^
ID=361493|X=300|Y=126|W=1223|H=785|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\\11242021\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf////tab//<include type:script; commands:\\quot\\//crlf////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab//dtTo=parseTime(getSensorValue(\\quot\\getTudorsExportEndingDate\\quot\\\\comma\\\\quot\\DtToday=\\quot\\+formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\))\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab//dtFrom=incrementTime(dtTo\\comma\\-13)//crlf////tab////tab//sResult=htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(dtFrom\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab//sResult=sResult+htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(dtTo\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//tab////tab////crlf////tab////tab//return(sResult)//crlf////tab//\\quot\\>//crlf////crlf////tab//<br>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Company Code//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterCompanyCode\\quot\\;//crlf////tab////tab//Condition:\\quot\\not('$value$'='0')\\quot\\;//crlf////tab////tab//Expression:\\quot\\Co_Code='$value$'\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\refreshTable('__salt__'\\comma\\'refresh'\\comma\\''\\comma\\true)\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Tudors_Company_Code_With_Select\\quot\\;//crlf////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\SensorName=openConsolidatedADPExportFile\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Home Department//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterHomeDept\\quot\\;//crlf////tab////tab//Condition:\\quot\\not('$value$'='0')\\quot\\;//crlf////tab////tab//Expression:\\quot\\Temp_Dept='$value$'\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\refreshTable('__salt__'\\comma\\'refresh'\\comma\\''\\comma\\true)\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Tudors_Home_Department_With_Select\\quot\\;//crlf////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\SensorName=openConsolidatedADPExportFile\\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//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_Back_Office_Labor_Export_ADP_Review_Consolidated\\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~~SensorName=openConsolidatedADPExportFile~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~Metadata=ASPECT_BACK_OFFICE_LABOR_EXPORT_ADP_REVIEW\\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\\1ZQ91H4X\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT_BACK_OFFICE_LABOR_EXPORT_ADP_REVIEWDialog\\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__FilterCompanyCode\\comma\\__salt__FilterHomeDept\\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//</conditional>//crlf////crlf//<conditional expression:not(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//</conditional>//crlf//^
ID=25707|X=183|Y=232|W=149|H=54|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=378164|AgentChildNoNode=|AgentSensor=|AgentAction=tudorsConsolidateExportFiles|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result1|AgentNodeComment=Create consolidated export files|AgentNodeTermType=|^
ID=652473|X=300|Y=126|W=1223|H=785|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:(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\) or (\\quot\\{@formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)}\\quot\\=\\quot\\05212022\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf////tab//<include type:script; commands:\\quot\\//crlf////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab//dtTo=parseTime(getSensorValue(\\quot\\getTudorsExportEndingDate\\quot\\\\comma\\\\quot\\DtToday=\\quot\\+formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\))\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab//dtFrom=incrementTime(dtTo\\comma\\-13)//crlf////tab////tab//sResult=htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(dtFrom\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab//sResult=sResult+htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(dtTo\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//tab////tab////crlf////tab////tab//return(sResult)//crlf////tab//\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Company Code//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterCompanyCode\\quot\\;//crlf////tab////tab//Condition:\\quot\\not('$value$'='0')\\quot\\;//crlf////tab////tab//Expression:\\quot\\Co_Code='$value$'\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\refreshTable('__salt__'\\comma\\'refresh'\\comma\\''\\comma\\true)\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Tudors_Company_Codes_In_Consolidated_Export_File\\quot\\;//crlf////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\SensorName=openConsolidatedADPExportFile\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Home Department//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterHomeDept\\quot\\;//crlf////tab////tab//Condition:\\quot\\not('$value$'='0')\\quot\\;//crlf////tab////tab//Expression:\\quot\\Temp_Dept='$value$'\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\refreshTable('__salt__'\\comma\\'refresh'\\comma\\''\\comma\\true)\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Tudors_Home_Dept_Codes_In_Consolidated_Export_File\\quot\\;//crlf////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\SensorName=openConsolidatedADPExportFile\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//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__ContainsText\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder='Contains text' onChange=\\quot\\refreshTable('__salt__'\\comma\\'refresh'\\comma\\''\\comma\\true)\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab//Datalist:\\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//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_Back_Office_Labor_Export_ADP_Review_Consolidated\\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~~SensorName=openConsolidatedADPExportFile~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~Metadata=ASPECT_BACK_OFFICE_LABOR_EXPORT_ADP_REVIEWFileReview\\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\\1ZQ91H4X\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT_BACK_OFFICE_LABOR_EXPORT_ADP_REVIEWDialog\\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__FilterCompanyCode\\comma\\__salt__FilterHomeDept\\comma\\__salt__ContainsText\\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//</conditional>//crlf////crlf//<conditional expression:not(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//</conditional>//crlf//^
ID=773267|X=300|Y=126|W=1223|H=785|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\\05062021\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf////tab//<table class='tabdialog'>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__exportfiles')\\quot\\>Export Files</span></td>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__review')\\quot\\>Review</span></td>//crlf////tab////tab//</tr>//crlf////tab//</table>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Export Files//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__exportfiles\\quot\\>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Give notification of missing iles//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<h1>File status</h1>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////get list of HashID's//crlf////tab////tab////tab//arHashID=getCollection(Tudors_Company_Code_by_HashID\\comma\\\\quot\\true\\quot\\\\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////crlf////tab////tab////tab////get ending date that should have been exported.  This rolls over from the last Saturday to//crlf////tab////tab////tab////the current week=to=date on Thursday//crlf////tab////tab////tab//s=getSensorValue(getTudorsExportEndingDate\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//dtEnd=parseTime(s\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab////tab//cMissing=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sHashID=getElement(arHashID\\comma\\n)//crlf////tab////tab////tab////tab//if(sHashID<>\\quot\\4IDCZSE69\\quot\\)//crlf////tab////tab////tab////tab////tab//sCompanyCode=lookup(Tudors_Company_Code_by_HashID\\comma\\sHashID)//crlf////tab////tab////tab////tab////tab//sHomeDept=lookup(Tudors_Home_Department_by_HashID\\comma\\sHashID)//crlf////tab////tab////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\export/\\quot\\+sHashID+\\quot\\_pr\\quot\\+sCompanyCode+\\quot\\epi.csv\\quot\\//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\sFilename=\\quot\\+sFilename)//crlf////tab////tab////tab////tab////tab//if(fileSize(sFilename)<256)//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\filesize=\\quot\\+fileSize(sFilename))//crlf////tab////tab////tab////tab////tab////tab//sResult=sResult+sCompanyCode+\\quot\\\\comma\\\\quot\\+sHomeDept+\\quot\\\\comma\\\\quot\\+sFilename+\\quot\\\\comma\\Missing or incomplete\\quot\\+char(10)//crlf////tab////tab////tab////tab////tab////tab//cMissing++//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//if((false) and (fileModified(sFilename)<dtEnd))//crlf////tab////tab////tab////tab////tab////tab////tab//sResult=sResult+sCompanyCode+\\quot\\\\comma\\\\quot\\+sHomeDept+\\quot\\\\comma\\\\quot\\+sFilename+\\quot\\\\comma\\May be out of date (\\quot\\+formatDate(fileModified(sFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)+\\quot\\)\\quot\\+char(10)//crlf////tab////tab////tab////tab////tab////tab////tab//cMissing++//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++//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab//if(cMissing=0)//crlf////tab////tab////tab////tab//s=\\quot\\Files are current for all stores\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//s=htmlTable(sResult\\comma\\char(10)\\comma\\char(0x2C))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab////tab//<br><br>//crlf////crlf////tab////tab//<!include type:widget; //crlf////tab////tab////tab//server:{AspectHashID}; //crlf////tab////tab////tab//secure:true; //crlf////tab////tab////tab//documentID:\\quot\\oi85fK8kFTQDVVcRTsBH6W5i\\quot\\; //crlf////tab////tab////tab//widget:\\quot\\Export Payroll - Tudors Office\\quot\\; //crlf////tab////tab////tab//containerItemID:\\quot\\652473\\quot\\; //crlf////tab////tab////tab//params:\\quot\\getContent=true\\quot\\;>//crlf////tab//</div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Review//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__review\\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\\oi85fK8kFTQDVVcRTsBH6W5i\\quot\\; //crlf////tab////tab////tab//widget:\\quot\\Export Payroll - Tudors Office\\quot\\; //crlf////tab////tab////tab//containerItemID:\\quot\\361493\\quot\\; //crlf////tab////tab////tab//params:\\quot\\getContent=true\\quot\\;>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=378164|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=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=846161|AgentChildNoNode=|AgentSensor=|AgentAction=moveEmployeesToHomeCompany|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result2|AgentNodeComment=Move employees to the appropriate company file|AgentNodeTermType=|^
ID=205555|X=300|Y=126|W=1223|H=785|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\\10052021\\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\\DateFrom\\quot\\\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\06-10-2021\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\06-10-2021\\quot\\)>//crlf////crlf////tab//<br>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Company Code//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterCompanyCode\\quot\\;//crlf////tab////tab//Condition:\\quot\\not('$value$'='0')\\quot\\;//crlf////tab////tab//Expression:\\quot\\Company_Code='$value$'\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\refreshTable('__salt__'\\comma\\'refresh'\\comma\\''\\comma\\true)\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Tudors_Company_Code_With_Select\\quot\\;//crlf////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\SensorName=openConsolidatedADPExportFile\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Home Department//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterHomeDept\\quot\\;//crlf////tab////tab//Condition:\\quot\\not('$value$'='0')\\quot\\;//crlf////tab////tab//Expression:\\quot\\Home_Department='$value$'\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\refreshTable('__salt__'\\comma\\'refresh'\\comma\\''\\comma\\true)\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Tudors_Home_Department_With_Select\\quot\\;//crlf////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\SensorName=openConsolidatedADPExportFile\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//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__ContainsText\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder=\\quot\\Contains text\\quot\\ onChange=\\quot\\refreshTable('__salt__'\\comma\\'refresh'\\comma\\''\\comma\\true)\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab//Datalist:\\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//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\POS_RM_PMT_EMPLOYEE_CHARGES_CONSOLIDATED\\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~~SensorName=openPOSRMPmtEmployeeChargesConsolidated~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~Metadata=POS_RM_PMT_EMPLOYEE_CHARGES_CONSOLIDATED\\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_EMPLOYEE_CHARGES_CONSOLIDATEDDialog\\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__FilterCompanyCode\\comma\\__salt__FilterHomeDept\\comma\\__salt__ContainsText\\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>//crlf////crlf//<conditional expression:not(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//</conditional>//crlf//^
ID=878304|X=183|Y=634|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=703372|AgentChildNoNode=|AgentSensor=|AgentAction=deleteExpiredPmtFiles|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=Delete expired pmt files|AgentNodeTermType=|^
ID=846161|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=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=878304|AgentChildNoNode=|AgentSensor=|AgentAction=tudorsAddEmployeeCharges|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=Add employee charges|AgentNodeTermType=|^
ID=30639|X=440|Y=122|W=737|H=442|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=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=rgb(255//comma// 255//comma// 245)|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style='color:black'>//crlf////tab//Notes://crlf////crlf////tab//<p style='color:black'>Informed on 12/1/2021 that employee charges are no longer being allowed and will not be an issue.  //crlf////tab////tab//This action just returns without performing any actions.</p>//crlf////crlf////tab//<p style=\\quot\\color:black\\quot\\>Employee charges were sent by creating a copy of the pmt file in the \aspect7\export //crlf////tab////tab//directory.  This was done at the end of the initializeCashDrawerDriver action.  The file was sent //crlf////tab////tab//as part of the payroll export fileset.</p>//crlf////crlf////tab//<p style='color:black'>In the tudorsConsolidateExportFiles action\\comma\\ there are two methods at the end of the action.  The //crlf////tab////tab//first is the original cleanup.  The second makes changes to allow for employees working multiple //crlf////tab////tab//job codes.  Method1 is still being used.  Method2 will be implemented when they are ready to //crlf////tab////tab//export Ginos.</p>//crlf////crlf//</div>^
ID=995519|X=300|Y=126|W=1223|H=785|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//<conditional expression:(not(isDefined(\\quot\\__ExecLocally__\\quot\\)))>//crlf////crlf////tab//<script ID=\\quot\\JS995519\\quot\\>//crlf////tab////tab//function getBusinessUnitsTable(salt\\comma\\s) {//crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\BusinessUnits\\quot\\);//crlf////crlf////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab//e.innerHTML=s;//crlf////tab////tab////tab////tab//addScripts();//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////it appears that addScripts() above causes the script to run again.  This avoids making //crlf////tab////tab////tab////a second call for the content.//crlf////tab////tab////tab//if(e.innerHTML.length>0) {//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//e.innerHTML=\\quot\\<progress />\\quot\\;//crlf////crlf////tab////tab////tab//if(getServer().indexOf(\\quot\\127.0.0.1\\quot\\)>=0) {//crlf////tab////tab////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//source=7h45pkiq7//amp//DocumentID=oi85fK8kFTQDVVcRTsBH6W5i//amp//Widget=Export Payroll - Tudors Office//amp//ContainerItemID=995519//amp//getContent=true//amp//ExecLocally=true\\quot\\;//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab//var expr=\\quot\\gw(\\\quot\\oi85fK8kFTQDVVcRTsBH6W5i\\\quot\\\\comma\\\\\quot\\Export Payroll - Tudors Office\\\quot\\\\comma\\\\\quot\\995519\\\quot\\\\comma\\\\\quot\\params=getContent=true~~pipe~~ExecLocally=true\\\quot\\\\comma\\\\\quot\\7h45pkiq7\\\quot\\)\\quot\\;//crlf////tab////tab////tab////tab//var sUrl=\\quot\\http://aspectserver.com:4446/?network=greenlight//amp//id=eval//amp//expression=\\quot\\+expr;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//sFunc=\\quot\\getBusinessUnitsTable(\\\quot\\\\quot\\+salt+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//getBusinessUnitsTable(\\quot\\__salt__\\quot\\);//crlf////tab//</script>//crlf////crlf////tab//<div ID=\\quot\\__salt__BusinessUnits\\quot\\></div>//crlf////crlf//</conditional>//crlf////crlf//<conditional expression:(isDefined(\\quot\\__ExecLocally__\\quot\\))>//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\\ASPECT_BACK_OFFICE_TUDORS_BUSINESS_UNIT\\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_TUDORS_BUSINESS_UNIT\\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\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT_BACK_OFFICE_TUDORS_BUSINESS_UNITDialog\\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//</conditional>//crlf////crlf//
</widget><widget name="Export Payroll - Verify RM Session Start" group="" category="Export" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Export Payroll - Verify Rm Session Start" modified="06-04-2021 23:31:57" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=05-20-2021 22:26:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=2 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="indirect(getToken(Tudors_Verify_Session_Start_Conditional_Expression)) and (minute(now())\\gt\\2)" TaskConditional_Expression_Description="Executes only for stores included in Tudors payroll export and when the POSInterface_PosDir token is defined." TaskState_Function="indirect(getToken(\\quote\\Tudors_Verify_Session_Start_State_Expression\\quote\\))" TaskState_Expression_Description="Executes when the rep dbf file is modified" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=67|toolboxy=141|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Export Payroll - Verify RM Session Start.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=1121|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\\'513177')\\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\\'629118')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=513177|X=1500|Y=26|W=1121|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=1121|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=1121|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=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_oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Verify RM Session Start.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=1121|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_oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Verify RM Session Start.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Export Payroll - Verify RM Session Start\\comma\\reportRMSessionStatus\\comma\\action_list\\comma\\Action=reportRMSessionStatus\\comma\\private//crlf////tab//Export Payroll - Verify RM Session Start\\comma\\verifyTudorsSessionStart\\comma\\action_list\\comma\\Action=verifyTudorsSessionStart\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//reportRMSessionStatus//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\reportRMSessionStatus\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Reports information about the current restaurant manager session//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\\reportRMSessionStatus\\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////get the session status//crlf////tab////tab////tab//s=getSensorValue(\\quot\\getCurrentRMSessionStatus\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////report the session information//crlf////tab////tab////tab//sParams=\\quot\\CustomerID=\\quot\\+getToken(\\quot\\AspectHashID\\quot\\)//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//SessionNo=\\quot\\+getElement(s\\comma\\0)//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//StartDate=\\quot\\+getElement(s\\comma\\1)//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//StartTime=\\quot\\+getElement(s\\comma\\2)//crlf////tab////tab////tab//appendToLog(\\quot\\sParams=\\quot\\+sParams)//crlf////crlf////tab////tab////tab////s=execAgentAction(\\quot\\recordTudorsSessionStatus\\quot\\\\comma\\sParams\\comma\\\\quot\\4idczse69\\quot\\)//crlf////tab////tab////tab//s=execAgentAction(\\quot\\recordTudorsSessionStatus\\quot\\\\comma\\sParams\\comma\\\\quot\\wowq01z5i\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\s=\\quot\\+s)//crlf////crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//verifyTudorsSessionStart - THIS IS NOT USED//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\verifyTudorsSessionStart\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Uses a sensor to get the current session date for all Tudors stores.  This is done to make sure //crlf////tab////tab//that a new session has been started.//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\\verifyTudorsSessionStart\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////get array of HashIDs to be checked//crlf////tab////tab////tab//arHashID=getCollection(Tudors_Company_Code_by_HashID\\comma\\true\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\keys\\quot\\)//crlf////tab////tab////tab//arHashID=removeElement(arHashID\\comma\\\\quot\\4idczse69\\quot\\)//crlf////crlf////tab////tab////tab//sResult=\\quot\\\\quot\\+char(10)//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//sStoreName=lookup(Aspect_BackOffice_Computer_Names_By_ID_No_Select\\comma\\sHashID)//crlf////tab////tab////tab////tab//if((sHashID=\\quot\\rb608knof\\quot\\) or (true))//crlf////tab////tab////tab////tab////tab//sSensorValue=getSensorValue(\\quot\\getCurrentRMSessionStart\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sHashID)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//sSensorValue=\\quot\\Not checked\\quot\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//sResult=sResult+sHashID+\\quot\\\\comma\\\\quot\\+\\quot\\sStoreName\\quot\\+\\quot\\\\comma\\\\quot\\+sSensorValue+char(10)//crlf////crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//sTitles=\\quot\\HashID\\comma\\Name\\comma\\Current Session Date\\quot\\//crlf////tab////tab////tab//sHtmlTable=htmlTable(sResult\\comma\\char(10)\\comma\\char(0x2C)\\comma\\sTitles)//crlf////crlf////tab////tab////tab//sMsg=quote(\\quot\\html\\quot\\\\comma\\char(0x3C))//crlf////tab////tab////tab//sMsg=sMsg+formatDate(now()\\comma\\\\quot\\EEE MM-dd-yyyy HH:mm\\quot\\)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//sMsg=sMsg+sHtmlTable//crlf////tab////tab////tab//sMsg=sMsg+quote(\\quot\\/html\\quot\\\\comma\\char(0x3C))//crlf////tab////tab////tab////crlf////tab////tab////tab//sSubject=formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)//crlf////tab////tab////tab////sendMail(\\quot\\earthlink\\quot\\\\comma\\\\quot\\4062738586@vtext.com\\quot\\\\comma\\sSubject\\comma\\sMsg)//crlf////tab////tab////tab//sendMail(\\quot\\earthlink\\quot\\\\comma\\\\quot\\keithm.772@gmail.com\\quot\\\\comma\\sSubject\\comma\\sMsg)//crlf////crlf////tab////tab////tab//return(sMsg)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=1500|Y=26|W=1121|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=629118|X=1500|Y=26|W=1121|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=906176|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=always|^
ID=817361|X=183|Y=627|W=119|H=85|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=Result1|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_Export Payroll - Verify RM Session Start\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Verify RM Session Start\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 05-28-2021 22:46: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\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Verify RM Session Start\\comma\\AgentAction\\comma\\906176\\comma\\0\\comma\\Report Restaurant Manager session status//crlf////crlf////tab////tab////Report Restaurant Manager session status//crlf////tab////tab//Result1=execAgentAction(\\quot\\reportRMSessionStatus\\quot\\)//crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Verify RM Session Start\\comma\\AgentAction\\comma\\715253\\comma\\0\\comma\\Records the result in reportRMSessionStatus token//crlf////crlf////tab////tab////Records the result in reportRMSessionStatus token//crlf////tab////tab//setToken(\\quot\\reportRMSessionStatus\\quot\\\\comma\\trim(Result1))//crlf////tab////tab//if(startsWith(Result1\\comma\\\\quot\\OK\\quot\\))//crlf////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Verify RM Session Start\\comma\\AgentTerminate\\comma\\817361\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//agentReportStatus(\\quot\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Verify RM Session Start\\quot\\\\comma\\\\quot\\817361\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result1\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(Result1)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Verify RM Session Start\\comma\\AgentTerminate\\comma\\694250\\comma\\1\\comma\\Error//crlf////tab////tab////tab//agentReportStatus(\\quot\\oi85fK8kFTQDVVcRTsBH6W5i_Export Payroll - Verify RM Session Start\\quot\\\\comma\\\\quot\\694250\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\Result1\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(Result1)//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;05282021//amp//nbsp;224632//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;Payroll//amp//nbsp;-//amp//nbsp;Verify//amp//nbsp;RM//amp//nbsp;Session//amp//nbsp;Start\\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-2021//amp//nbsp;22:46: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><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Report//amp//nbsp;Restaurant//amp//nbsp;Manager//amp//nbsp;session//amp//nbsp;status</span><br>//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\\reportRMSessionStatus\\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;//Records//amp//nbsp;the//amp//nbsp;result//amp//nbsp;in//amp//nbsp;reportRMSessionStatus//amp//nbsp;token</span><br>//amp//nbsp;//amp//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\\reportRMSessionStatus\\quot\\\\comma\\<span class='keyword'>trim</span>(Result1))<br>//amp//nbsp;//amp//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>(Result1\\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\\oi85fK8kFTQDVVcRTsBH6W5i_Export//amp//nbsp;Payroll//amp//nbsp;-//amp//nbsp;Verify//amp//nbsp;RM//amp//nbsp;Session//amp//nbsp;Start\\quot\\\\comma\\\\quot\\817361\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result1\\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)<br>//amp//nbsp;//amp//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\\oi85fK8kFTQDVVcRTsBH6W5i_Export//amp//nbsp;Payroll//amp//nbsp;-//amp//nbsp;Verify//amp//nbsp;RM//amp//nbsp;Session//amp//nbsp;Start\\quot\\\\comma\\\\quot\\694250\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\Result1\\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)<br>//amp//nbsp;//amp//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=1197|H=699|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>Token Tudors_Verify_Session_Start_Conditional_Expression</p>//crlf//<p>Token value: <code>{Tudors_Verify_Session_Start_Conditional_Expression}</code></p>//crlf//<p>lookup(Tudors_Company_Code_by_HashID\\comma\\getToken(\\quot\\AspectHashID\\quot\\)))={@lookup(Tudors_Company_Code_by_HashID\\comma\\getToken(\\quot\\AspectHashID\\quot\\))}</p>//crlf//<p>getToken(POSInterface_PosDir)={POSInterface_PosDir}</p>//crlf//<p>Conditional value: {@indirect(getToken(Tudors_Verify_Session_Start_Conditional_Expression))}</p>//crlf//<br>//crlf//<p>Token Tudors_Verify_Session_Start_State_Expression</p>//crlf//<p><code>{Tudors_Verify_Session_Start_State_Expression}</code></p>//crlf//<p>getToken(reportRMSessionStatus)={reportRMSessionStatus}</p>//crlf//<p>Value: {@indirect(getToken(Tudors_Verify_Session_Start_State_Expression))}</p>//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>05282021 224632</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\\chart906176\\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>Export Payroll - Verify RM Session Start</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\\chart817361\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 586px; left: 0px; width: 120px; height: 86px; 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\\chart906176\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart715253\\quot\\ style=\\quot\\position: absolute; top: 189px; 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\\>Report Restaurant Manager session status<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>reportRMSessionStatus<br></td></tr><tr><td><u>Return</u></td><td>Result1</td></tr></tbody></table></div></div><div id=\\quot\\chart446328\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart817361\\quot\\ agentchildnonode=\\quot\\chart694250\\quot\\ style=\\quot\\position: absolute; top: 496px; left: 0px; width: 150px; height: 40px; 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\\chart694250\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 496px; left: 190px; width: 120px; height: 86px; 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\\chart715253\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart446328\\quot\\ style=\\quot\\position: absolute; top: 336px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\0\\quot\\ height=\\quot\\0\\quot\\ style=\\quot\\width: 0px; height: 0px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Records the result in reportRMSessionStatus token<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=906176|X=183|Y=230|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=715253|AgentChildNoNode=|AgentSensor=|AgentAction=reportRMSessionStatus|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result1|AgentNodeComment=Report Restaurant Manager session status|AgentNodeTermType=|^
ID=446328|X=183|Y=537|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=817361|AgentChildNoNode=694250|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result1//comma//\\quot\\OK\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=694250|X=373|Y=537|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=715253|X=183|Y=377|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=446328|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=setToken(\\quot\\reportRMSessionStatus\\quot\\//comma//trim(Result1))|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=Records the result in reportRMSessionStatus token|AgentNodeTermType=|
</widget><widget name="Upload Tudors RM Session Status" group="" category="Export" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Upload Tudors Rm Session Status" modified="08-24-2022 13:43:18" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=05-27-2021 21:48: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="fileExists(getToken(\\quote\\homedir\\quote\\)+\\quote\\Aspect_BackOffice\rm_session_status.bin\\quote\\)" TaskConditional_Expression_Description="" TaskState_Function="gfs(getToken(\\quote\\homedir\\quote\\)+\\quote\\Aspect_BackOffice\rm_session_status.bin\\quote\\)" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=56|toolboxy=151|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Upload Tudors RM Session Status.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\\'547871')\\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\\'701042')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=547871|X=300|Y=126|W=1127|H=702|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=1127|H=702|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=1127|H=702|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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_oi85fK8kFTQDVVcRTsBH6W5i_Upload Tudors RM Session Status.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=1127|H=702|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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_oi85fK8kFTQDVVcRTsBH6W5i_Upload Tudors RM Session Status.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Upload Tudors RM Session Status\\comma\\uploadTudorsRMSessionStatus\\comma\\action_list\\comma\\Action=uploadTudorsRMSessionStatus\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//uploadTudorsRMSessionStatus//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\uploadTudorsRMSessionStatus\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Uploads the POS_RM_Session_Status table to 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\\uploadTudorsRMSessionStatus\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////get the content to be published//crlf////tab////tab////tab//sWrapper=gw(\\quot\\oi85fK8kFTQDVVcRTsBH6W5i\\quot\\\\comma\\\\quot\\Export Payroll - Tudors\\quot\\\\comma\\\\quot\\390389\\quot\\\\comma\\\\quot\\getContent=true\\quot\\)//crlf////crlf////tab////tab////tab//sParams=\\quot\\TableControls=false\\amp\\SelectDisplay=false\\quot\\//crlf////tab////tab////tab//sContent=gw(\\quot\\oi85fK8kFTQDVVcRTsBH6W5i\\quot\\\\comma\\\\quot\\Export Payroll - Tudors\\quot\\\\comma\\\\quot\\784077\\quot\\\\comma\\\\quot\\getContent=true\\quot\\)//crlf////crlf////tab////tab////tab//sWrapper=replaceSubstring(sWrapper\\comma\\\\quot\\__Content__\\quot\\\\comma\\sContent)//crlf////crlf////tab////tab////tab//sFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\tudors_session_status.html\\quot\\//crlf////tab////tab////tab//fileWriteContent(sFilename\\comma\\sWrapper)//crlf////crlf////tab////tab////tab////connect to the ftp site//crlf////tab////tab////tab//s=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//if(not(startsWith(s\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: \\quot\\\\plus\\s)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//appendToLog(\\quot\\Connect: \\quot\\\\plus\\s)//crlf////crlf////tab////tab////tab////set the mode to binary//crlf////tab////tab////tab//s=ftpSetMode(ftp\\comma\\binary)//crlf////tab////tab////tab//appendToLog(\\quot\\setMode: \\quot\\\\plus\\s)//crlf////crlf////tab////tab////tab////change to the directory on the ftp server//crlf////tab////tab////tab//s=ftpChangeDir(ftp\\comma\\\\quot\\/public/tudors\\quot\\)//crlf////tab////tab////tab//if(not(startsWith(s\\comma\\\\quot\\Ok\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: ChDir: \\quot\\\\plus\\sFtpDir\\plus\\\\quot\\: \\quot\\\\plus\\s)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//s=ftpStoreFile(ftp\\comma\\sFilename\\comma\\fileName(sFilename)\\plus\\fileExt(sFilename))//crlf////tab////tab////tab//appendToLog(\\quot\\stor: \\quot\\\\plus\\s)//crlf////tab////tab////tab//if(not(startsWith(s\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab//return(s)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////disconnect//crlf////tab////tab////tab//ftpDisconnect(Client Name)//crlf////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=1127|H=702|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=701042|X=300|Y=126|W=1127|H=702|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=702511|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=401766|X=183|Y=446|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|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_Upload Tudors RM Session Status\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Upload Tudors RM Session Status\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 05-27-2021 22:17: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\\oi85fK8kFTQDVVcRTsBH6W5i_Upload Tudors RM Session Status\\comma\\AgentAction\\comma\\702511\\comma\\0\\comma\\Upload the session status//crlf////crlf////tab////tab////Upload the session status//crlf////tab////tab//Result1=execAgentAction(\\quot\\uploadTudorsRMSessionStatus\\quot\\)//crlf////tab////tab//if(startsWith(Result1\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Upload Tudors RM Session Status\\comma\\AgentTerminate\\comma\\401766\\comma\\0\\comma\\//crlf////tab////tab////tab//scriptSetResult(Result1)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Upload Tudors RM Session Status\\comma\\AgentTerminate\\comma\\601403\\comma\\1\\comma\\//crlf////tab////tab////tab//scriptSetResult(Result1)//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;05272021//amp//nbsp;221718//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_Upload//amp//nbsp;Tudors//amp//nbsp;RM//amp//nbsp;Session//amp//nbsp;Status\\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-27-2021//amp//nbsp;22:17: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><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Upload//amp//nbsp;the//amp//nbsp;session//amp//nbsp;status</span><br>//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\\uploadTudorsRMSessionStatus\\quot\\)<br>//amp//nbsp;//amp//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>(Result1\\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>(Result1)<br>//amp//nbsp;//amp//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>(Result1)<br>//amp//nbsp;//amp//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>05272021 221718</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\\chart702511\\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>Upload Tudors RM Session Status</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\\chart401766\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 405px; 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\\chart702511\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart244681\\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: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Upload the session status<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>uploadTudorsRMSessionStatus<br></td></tr><tr><td><u>Return</u></td><td>Result1</td></tr></tbody></table></div></div><div id=\\quot\\chart244681\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart401766\\quot\\ agentchildnonode=\\quot\\chart601403\\quot\\ style=\\quot\\position: absolute; top: 297px; 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\\chart601403\\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\\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>^
ID=702511|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=244681|AgentChildNoNode=|AgentSensor=|AgentAction=uploadTudorsRMSessionStatus|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result1|AgentNodeComment=Upload the session status|AgentNodeTermType=|^
ID=244681|X=183|Y=338|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=401766|AgentChildNoNode=601403|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result1//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=601403|X=373|Y=338|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=1|
</widget><widget name="Monitor Tudors Cash Drawer Reconcile" group="Tudors" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Monitor Tudors Cash Drawer Reconcile" modified="03-02-2024 02:31:24" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=06-28-2021 15:19: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="(len(lookup(Tudors_Company_Code_by_HashID,getToken(\\quote\\AspectHashID\\quote\\)))\\gt\\0)" TaskConditional_Expression_Description="" TaskState_Function="gfs(getSetFor(getToken(\\quote\\homedir\\quote\\)+\\quote\\store1\\\quote\\,getSetTime(incrementTime(now(),-1),now(),1440*60,\\quote\\MM-dd-yyyy\\quote\\,\\quote\\\\quote\\,\\quote\\cash_drawer.$e$.bin\\quote\\)))" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=65|toolboxy=177|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Monitor Tudors 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=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\\'311431')\\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\\'506015')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=311431|X=1500|Y=26|W=1040|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=1040|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=1040|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_oi85fK8kFTQDVVcRTsBH6W5i_Monitor Tudors 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=1040|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_oi85fK8kFTQDVVcRTsBH6W5i_Monitor Tudors Cash Drawer Reconcile.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Monitor Tudors Cash Drawer Reconcile\\comma\\checkCashDrawerFiles\\comma\\action_list\\comma\\Action=checkCashDrawerFiles\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//checkCashDrawerFiles//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\checkCashDrawerFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Checks the size of cash drawer files for the current and previous day.  Sends a text //crlf////tab////tab//message when an error is detected.//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\\checkCashDrawerFiles\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//sResult=getToken(\\quot\\AspectHashID\\quot\\)//crlf////tab////tab////tab//dt=incrementTime(now()\\comma\\-1)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//while(n<2)//crlf////tab////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\store1\cash_drawer.\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//if(fileSize(sFilename)<>25389)//crlf////tab////tab////tab////tab////tab////tab//sResult=sResult+\\quot\\ \\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\ \\quot\\+fileSize(sFilename)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: \\quot\\+fileName(sFilename)+\\quot\\ size=\\quot\\+fileSize(sFilename))//crlf////tab////tab////tab////tab////tab////tab//cError++//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\\+sFilename)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//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\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Error: \\quot\\+sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=1500|Y=26|W=1040|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=506015|X=1500|Y=26|W=1040|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=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=816327|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=343693|X=183|Y=351|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=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=828004|AgentChildNoNode=949205|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
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_Monitor Tudors Cash Drawer Reconcile\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Monitor Tudors Cash Drawer Reconcile\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 02-29-2024 10:23: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\\oi85fK8kFTQDVVcRTsBH6W5i_Monitor Tudors Cash Drawer Reconcile\\comma\\AgentAction\\comma\\816327\\comma\\0\\comma\\checkCashDrawerFiles//crlf////tab////tab//Result=execAgentAction(\\quot\\checkCashDrawerFiles\\quot\\)//crlf////tab////tab//if(startsWith(Result\\comma\\\\quot\\Ok\\quot\\))//crlf////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Monitor Tudors Cash Drawer Reconcile\\comma\\AgentTerminate\\comma\\828004\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Monitor Tudors Cash Drawer Reconcile\\comma\\AgentTerminate\\comma\\949205\\comma\\1\\comma\\Error//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;02292024//amp//nbsp;102311//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_Monitor//amp//nbsp;Tudors//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;02-29-2024//amp//nbsp;10:23: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\\checkCashDrawerFiles\\quot\\)<br>//amp//nbsp;//amp//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>02292024 102311</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\\chart816327\\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>Monitor Tudors 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: never<br>Report To: getToken(\\quot\\AspectServerHashID\\quot\\)<br>Name Params: </div></div><div id=\\quot\\chart343693\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart828004\\quot\\ agentchildnonode=\\quot\\chart949205\\quot\\ style=\\quot\\position: absolute; top: 310px; 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\\chart816327\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart343693\\quot\\ style=\\quot\\position: absolute; top: 202px; 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>checkCashDrawerFiles<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart828004\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 408px; 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\\chart949205\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 310px; 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=816327|X=183|Y=243|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=343693|AgentChildNoNode=|AgentSensor=|AgentAction=checkCashDrawerFiles|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=|AgentNodeTermType=|^
ID=828004|X=183|Y=449|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=949205|X=373|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=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="Consolidate Labor - Office" group="Consolidate Labor" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Consolidate Labor - Office" modified="08-24-2022 13:02:15" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=04-25-2022 22:32: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="(len(getStoreDir(\\quote\\consolidated\\quote\\))\\gt\\0)" TaskConditional_Expression_Description="Only executes when the Consolidate Labor - Office agent has been manually executed once to create the store used to consolidate data." TaskState_Function="getFilespecState(indirect(getToken(Labor_Consolidation_State_Office)),true,false,3)" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=336|toolboxy=177|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Consolidate Labor - Office.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=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=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\\'672682')\\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\\'728458')\\quot\\>Employees</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'773361')\\quot\\>Job Codes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'344618')\\quot\\>Labor</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'613802')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=672682|X=1500|Y=27|W=1079|H=956|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=27|W=1079|H=956|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=27|W=1079|H=956|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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_oi85fK8kFTQDVVcRTsBH6W5i_Consolidate Labor - Office.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=27|W=1079|H=956|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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_oi85fK8kFTQDVVcRTsBH6W5i_Consolidate Labor - Office.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Consolidate Labor - Office\\comma\\createStoreForConsolidatedLabor\\comma\\action_list\\comma\\Action=createStoreForConsolidatedLabor\\comma\\private//crlf////tab//Consolidate Labor - Office\\comma\\updateConsolidatedEmployeeDriver\\comma\\action_list\\comma\\Action=updateConsolidatedEmployeeDriver\\comma\\private//crlf////tab//Consolidate Labor - Office\\comma\\updateConsolidatedJobCodeDriver\\comma\\action_list\\comma\\Action=updateConsolidatedJobCodeDriver\\comma\\private//crlf////tab//Consolidate Labor - Office\\comma\\updateConsolidatedLaborDetail\\comma\\action_list\\comma\\Action=updateConsolidatedLaborDetail\\comma\\private//crlf////tab//Consolidate Labor - Office\\comma\\updateConsolidatedLaborDependentDrivers\\comma\\action_list\\comma\\Action=updateConsolidatedLaborDependentDrivers\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//createStoreForConsolidatedLabor//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\createStoreForConsolidatedLabor\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//tab////crlf////tab////tab//Creates the store record used to consolidate data//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\\createStoreForConsolidatedLabor\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Store\\comma\\d\\comma\\WRITE)//crlf////crlf////tab////tab////tab//r=driverFindRecordAbsolute(d\\comma\\0\\comma\\\\quot\\ID=\\quot\\+quote(\\quot\\Consolidated\\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\\ID\\quot\\\\comma\\r\\comma\\\\quot\\Consolidated\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////initialize the store name if not defined.  It can be renamed.//crlf////tab////tab////tab//sStoreName=driverGetFieldAbsolute(d\\comma\\\\quot\\Store_Name\\quot\\\\comma\\r)//crlf////tab////tab////tab//if((len(sStoreName)=0) or (sStoreName=\\quot\\Store Name\\quot\\))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Store_Name\\quot\\\\comma\\r\\comma\\\\quot\\Consolidated Labor\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Store_Directory\\quot\\\\comma\\r\\comma\\getToken(\\quot\\homedir\\quot\\)+\\quot\\consolidated_labor_office\\\quot\\)//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Store created for consoidation\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//updateConsolidatedEmployeeDriver//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateConsolidatedEmployeeDriver\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Consolidates all employee files in the c:\aspect7\consolidated_labor directory.  This is //crlf////tab////tab//called to update the POS_Generic_Employee_Dta_Consolidate_Stores dependent driver.//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 Eror//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateConsolidatedEmployeeDriver\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////open the consolidated employee file//crlf////tab////tab////tab//dCons=getSalt(4)//crlf////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\consolidated_labor_office\employee.bin\\quot\\//crlf////tab////tab////tab//driverOpen(POS_Generic_Employee_Dta_Consolidate_Stores\\comma\\dCons\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\+sFilename+\\quot\\~~pipe~~nodepend\\quot\\)//crlf////tab////tab////tab//driverSetFilter(dCons\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(dCons)//crlf////tab////tab////tab////appendToLog(\\quot\\Setting used=false in \\quot\\+c+\\quot\\ records\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//driverPutField(dCons\\comma\\\\quot\\Used\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\n=\\quot\\+n)//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////get a list of files that will be merged into the consolidated one//crlf////tab////tab////tab//arFiles=getMatchingFiles(getToken(\\quot\\homedir\\quot\\)+\\quot\\consolidated_labor\employee.bin\\quot\\\\comma\\true\\comma\\false\\comma\\2\\comma\\getToken(\\quot\\homedir\\quot\\)+\\quot\\consolidated_labor\consolidated\*.*\\quot\\)//crlf////crlf////tab////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//appendToLog(\\quot\\Merging \\quot\\+c+\\quot\\ files\\quot\\)//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//appendToLog(\\quot\\sFilename=\\quot\\+sFilename)//crlf////tab////tab////tab////tab//d=getSalt(4)//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_Employee_Dta\\comma\\d\\comma\\READ\\comma\\true\\comma\\\\quot\\Filename=\\quot\\+sFilename)//crlf////tab////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//s=execAgentAction(executeMergeDefinition\\comma\\\\quot\\MergeID=Oq31vMu1//amp//SourceDriver=\\quot\\+d+\\quot\\//amp//DestDriver=\\quot\\+dCons)//crlf////tab////tab////tab////tab//appendToLog(s)//crlf////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(dCons)//crlf////crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//updateConsolidatedJobCodeDriver//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateConsolidatedJobCodeDriver\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Consolidates all job code files in the c:\aspect7\consolidated_labor directory.  This is //crlf////tab////tab//called to update the POS_Generic_Employee_Dta_Consolidate_Stores dependent driver.//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\\updateConsolidatedJobCodeDriver\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////open the consolidated Job Code file//crlf////tab////tab////tab//dCons=getSalt(4)//crlf////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\consolidated_labor_office\jobcode.bin\\quot\\//crlf////tab////tab////tab//driverOpen(POS_Generic_Job_Code_Dta_Consolidate_Stores\\comma\\dCons\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\+sFilename+\\quot\\~~pipe~~nodepend\\quot\\)//crlf////tab////tab////tab//driverSetFilter(dCons\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(dCons)//crlf////tab////tab////tab////appendToLog(\\quot\\Setting used=false in \\quot\\+c+\\quot\\ records\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//driverPutField(dCons\\comma\\\\quot\\Used\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\n=\\quot\\+n)//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////get a list of files that will be merged into the consolidated one//crlf////tab////tab////tab//arFiles=getMatchingFiles(getToken(\\quot\\homedir\\quot\\)+\\quot\\consolidated_labor\jobcode.bin\\quot\\\\comma\\true\\comma\\false\\comma\\2\\comma\\getToken(\\quot\\homedir\\quot\\)+\\quot\\consolidated_labor\consolidated\*.*\\quot\\)//crlf////crlf////tab////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//appendToLog(\\quot\\Merging \\quot\\+c+\\quot\\ files\\quot\\)//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//appendToLog(\\quot\\sFilename=\\quot\\+sFilename)//crlf////tab////tab////tab////tab//d=getSalt(4)//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_JobCode_Dta\\comma\\d\\comma\\READ\\comma\\true\\comma\\\\quot\\Filename=\\quot\\+sFilename)//crlf////tab////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//s=execAgentAction(executeMergeDefinition\\comma\\\\quot\\MergeID=xQiNiObU//amp//SourceDriver=\\quot\\+d+\\quot\\//amp//DestDriver=\\quot\\+dCons)//crlf////tab////tab////tab////tab//appendToLog(s)//crlf////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(dCons)//crlf////crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//updateConsolidatedLaborDetail//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateConsolidatedLaborDetail\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Consolidates all job code files in the c:\aspect7\consolidated_labor directory.  This is //crlf////tab////tab//called to update the POS_Generic_Labor_Detail_Dta_Consolidate_Stores dependent driver.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Filename - The filename part only.  E.g. lbr.01-01-2022.bin.  This does not include a 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\\updateConsolidatedLaborDetail\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab//sDate=getElement(\\quot\\__Filename__\\quot\\\\comma\\0\\comma\\\\quot\\.\\quot\\)//crlf////crlf////tab////tab////tab////open the consolidated Labor Detail file//crlf////tab////tab////tab//dCons=getSalt(4)//crlf////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\consolidated_labor_office\__Filename__\\quot\\//crlf////tab////tab////tab//driverOpen(POS_Generic_Labor_Detail_Dta_Consolidate_Stores\\comma\\dCons\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\+sFilename+\\quot\\~~pipe~~nodepend~~pipe~~Date=\\quot\\+sDate)//crlf////tab////tab////tab//driverSetFilter(dCons\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(dCons)//crlf////tab////tab////tab////appendToLog(\\quot\\Setting used=false in \\quot\\+c+\\quot\\ records\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//driverPutField(dCons\\comma\\\\quot\\Used\\quot\\\\comma\\n\\comma\\false)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\n=\\quot\\+n)//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////get a list of files that will be merged into the consolidated one//crlf////tab////tab////tab//arFiles=getMatchingFiles(getToken(\\quot\\homedir\\quot\\)+\\quot\\consolidated_labor\__Filename__\\quot\\\\comma\\true\\comma\\false\\comma\\2\\comma\\getToken(\\quot\\homedir\\quot\\)+\\quot\\consolidated_labor\consolidated\*.*\\quot\\)//crlf////crlf////tab////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//appendToLog(\\quot\\Merging \\quot\\+c+\\quot\\ files\\quot\\)//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//appendToLog(\\quot\\sFilename=\\quot\\+sFilename)//crlf////tab////tab////tab////tab//d=getSalt(4)//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_Labor_Detail_Dta\\comma\\d\\comma\\READ\\comma\\true\\comma\\\\quot\\Filename=\\quot\\+sFilename+\\quot\\~~pipe~~NoDepend~~pipe~~Date=\\quot\\+sDate)//crlf////tab////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//s=execAgentAction(executeMergeDefinition\\comma\\\\quot\\MergeID=zRjZ1ayg//amp//SourceDriver=\\quot\\+d+\\quot\\//amp//DestDriver=\\quot\\+dCons)//crlf////tab////tab////tab////tab//appendToLog(s)//crlf////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(dCons)//crlf////crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//updateConsolidatedLaborDependentDrivers//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateConsolidatedLaborDependentDrivers\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates the employee\\comma\\ job code and daily labor detail files in the //crlf////tab////tab//consolidated_labor_office 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\\updateConsolidatedLaborDependentDrivers\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////update employee.bin//crlf////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\consolidated_labor_office\employee.bin\\quot\\//crlf////tab////tab////tab//if(dependencyStateChanged(POS_Generic_Employee_Dta_Consolidate_Stores\\comma\\\\quot\\Filename=\\quot\\+sFilename))//crlf////tab////tab////tab////tab//s=updateDependentDriver(POS_Generic_Employee_Dta_Consolidate_Stores\\comma\\\\quot\\Filename=\\quot\\+sFilename)//crlf////tab////tab////tab////tab//sResult=sResult+appendToLog(\\quot\\Employee.bin: \\quot\\+s)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sResult=sResult+appendToLog(\\quot\\Employee.bin is up to date\\quot\\)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////update jobcode.bin//crlf////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\consolidated_labor_office\jobcode.bin\\quot\\//crlf////tab////tab////tab//if(dependencyStateChanged(POS_Generic_Job_Code_Dta_Consolidate_Stores\\comma\\\\quot\\Filename=\\quot\\+sFilename))//crlf////tab////tab////tab////tab//updateDependentDriver(POS_Generic_Job_Code_Dta_Consolidate_Stores\\comma\\\\quot\\Filename=\\quot\\+sFilename)//crlf////tab////tab////tab////tab//sResult=sResult+appendToLog(\\quot\\Jobcode.bin: \\quot\\+s)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sResult=sResult+appendToLog(\\quot\\Jobcode.bin is up to date\\quot\\)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////update labor detail files//crlf////tab////tab////tab//dt1=incrementTime(now()\\comma\\-30)//crlf////tab////tab////tab//dt2=incrementTime(now()\\comma\\-1)//crlf////tab////tab////tab//while(dt1<=dt2)//crlf////tab////tab////tab////tab//sDate=formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////crlf////tab////tab////tab////tab////only update the driver if files exist to be merged//crlf////tab////tab////tab////tab//arFiles=getMatchingFiles(getToken(\\quot\\homedir\\quot\\)+\\quot\\consolidated_labor\lbr.\\quot\\+sDate+\\quot\\.bin\\quot\\\\comma\\true\\comma\\false\\comma\\2\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//if(getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)>0)//crlf////tab////tab////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\consolidated_labor_office\lbr.\\quot\\+sDate+\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab////tab//if((not(fileExists(sFilename))) or (dependencyStateChanged(POS_Generic_Labor_Detail_Dta_Consolidate_Stores\\comma\\\\quot\\Filename=\\quot\\+sFilename)))//crlf////tab////tab////tab////tab////tab////tab//s=updateDependentDriver(POS_Generic_Labor_Detail_Dta_Consolidate_Stores\\comma\\\\quot\\Filename=\\quot\\+sFilename)//crlf////tab////tab////tab////tab////tab////tab//sResult=sResult+appendToLog(fileName(sFilename)+fileExt(sFilename)+\\quot\\: \\quot\\+s)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//sResult=sResult+appendToLog(fileName(sFilename)+fileExt(sFilename)+\\quot\\ is up to date\\quot\\)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//sResult=sResult+appendToLog(\\quot\\No files exist to be merged for \\quot\\+sDate)+getToken(\\quot\\br\\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//return(sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=613802|X=1500|Y=27|W=1079|H=956|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=728458|X=1500|Y=27|W=1079|H=956|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=<conditional expression:(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\) or (\\quot\\{@formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)}\\quot\\=\\quot\\05012022\\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\\getToken(\\quot\\homedir\\quot\\)+\\quot\\consolidated_labor_office\employee.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_GENERIC_EMPLOYEE_DTA_CONSOLIDATE_STORES\\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~~Filename=__Filename__~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_Generic_Employee_Dta\\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_GENERIC_EMPLOYEE_DTA_CONSOLIDATE_STORESDialog\\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//</conditional>//crlf////crlf//<conditional expression:not(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//</conditional>//crlf//^
ID=773361|X=1500|Y=27|W=1079|H=956|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=<conditional expression:(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\) or (\\quot\\{@formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)}\\quot\\=\\quot\\05012022\\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\\getToken(\\quot\\homedir\\quot\\)+\\quot\\consolidated_labor_office\jobcode.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_Generic_Job_Code_Dta_Consolidate_Stores\\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~~Filename=__Filename__~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_GENERIC_JOBCODE_DTA\\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_Generic_Job_Code_Dta_Consolidate_StoresDialog\\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//</conditional>//crlf////crlf//<conditional expression:not(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//</conditional>//crlf//^
ID=344618|X=1500|Y=27|W=1079|H=956|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=<conditional expression:(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\) or (\\quot\\{@formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)}\\quot\\=\\quot\\05012022\\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\\Date\\quot\\\\comma\\\\quot\\__Date__\\quot\\\\comma\\\\quot\\04-10-2022\\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_Generic_Labor_Detail_Dta_Consolidate_Stores\\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~~StoreID=Consolidated~~pipe~~Filename={homedir}consolidated_labor_office\lbr.__Date__.bin~~pipe~~Date=__Date__~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_Generic_Labor_Detail_Dta\\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_Generic_Labor_Detail_Dta_Consolidate_StoresDialog\\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//</conditional>//crlf////crlf//<conditional expression:not(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//</conditional>//crlf//^
ID=AgentStart|X=184|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=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=384740|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=always|^
ID=29252|X=184|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=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result1//plus//getToken(\\quot\\br\\quot\\)//plus//Result2|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
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=43|W=812|H=698|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_Consolidate Labor - Office\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Consolidate Labor - Office\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 05-02-2022 20:32:35//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\\oi85fK8kFTQDVVcRTsBH6W5i_Consolidate Labor - Office\\comma\\AgentAction\\comma\\384740\\comma\\0\\comma\\Create store record for consolidated data//crlf////crlf////tab////tab////Create store record for consolidated data//crlf////tab////tab//Result1=execAgentAction(\\quot\\createStoreForConsolidatedLabor\\quot\\)//crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Consolidate Labor - Office\\comma\\AgentAction\\comma\\200467\\comma\\0\\comma\\Update dependent drivers//crlf////crlf////tab////tab////Update dependent drivers//crlf////tab////tab//Result2=execAgentAction(\\quot\\updateConsolidatedLaborDependentDrivers\\quot\\)//crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Consolidate Labor - Office\\comma\\AgentTerminate\\comma\\29252\\comma\\0\\comma\\Ok//crlf////tab////tab//agentReportStatus(\\quot\\oi85fK8kFTQDVVcRTsBH6W5i_Consolidate Labor - Office\\quot\\\\comma\\\\quot\\29252\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result1+getToken(\\quot\\br\\quot\\)+Result2\\comma\\bForceReport\\comma\\now()-tAgentStart))//crlf////tab////tab//scriptSetResult(Result1+getToken(\\quot\\br\\quot\\)+Result2)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=184|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;05022022//amp//nbsp;203235//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_Consolidate//amp//nbsp;Labor//amp//nbsp;-//amp//nbsp;Office\\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-2022//amp//nbsp;20:32:35</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;store//amp//nbsp;record//amp//nbsp;for//amp//nbsp;consolidated//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;Result1=<span class='keyword'>execAgentAction</span>(\\quot\\createStoreForConsolidatedLabor\\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;dependent//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;Result2=<span class='keyword'>execAgentAction</span>(\\quot\\updateConsolidatedLaborDependentDrivers\\quot\\)<br>//amp//nbsp;//amp//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\\oi85fK8kFTQDVVcRTsBH6W5i_Consolidate//amp//nbsp;Labor//amp//nbsp;-//amp//nbsp;Office\\quot\\\\comma\\\\quot\\29252\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result1+<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)+Result2\\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>(Result1+<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)+Result2)<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=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=184|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=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>State check token: {Labor_Consolidation_State_Office}</p>//crlf//<br>//crlf//<p>Token Value: {@indirect(getToken(Labor_Consolidation_State_Office))}</p>//crlf//<br>//crlf//<p>State value: {@getFilespecState(indirect(getToken(Labor_Consolidation_State_Office))\\comma\\true\\comma\\false\\comma\\3)}</p>^
ID=AgentChart|X=184|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>05022022 203235</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\\chart384740\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\133\\quot\\ style=\\quot\\width: 120px; height: 133px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Consolidate Labor - Office</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\\chart29252\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 474px; 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\\chart384740\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart200467\\quot\\ style=\\quot\\position: absolute; top: 185px; 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 store record for consolidated data<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>createStoreForConsolidatedLabor<br></td></tr><tr><td><u>Return</u></td><td>Result1</td></tr></tbody></table></div></div><div id=\\quot\\chart200467\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart29252\\quot\\ style=\\quot\\position: absolute; top: 336px; 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 dependent drivers<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>updateConsolidatedLaborDependentDrivers<br></td></tr><tr><td><u>Return</u></td><td>Result2</td></tr></tbody></table></div></div>^
ID=384740|X=184|Y=229|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=200467|AgentChildNoNode=|AgentSensor=|AgentAction=createStoreForConsolidatedLabor|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result1|AgentNodeComment=Create store record for consolidated data|AgentNodeTermType=|^
ID=200467|X=184|Y=380|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=29252|AgentChildNoNode=|AgentSensor=|AgentAction=updateConsolidatedLaborDependentDrivers|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result2|AgentNodeComment=Update dependent drivers|AgentNodeTermType=|
</widget><widget name="Consolidate Labor - Store" group="Consolidate Labor" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Consolidate Labor - Store" modified="05-18-2022 15:16:32" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=04-25-2022 22:34: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="(getCollection(Aspect_BackOffice_Labor_Consolidation_Enabled,\\quote\\Enable_Labor_Consolidation\\quote\\,\\quote\\\\quote\\,\\quote\\\\quote\\,char(0x2C),keys)=\\quote\\true\\quote\\)" TaskConditional_Expression_Description="Only executed when the HashID of the computer used to consolidate data has been defined in the store settings." TaskState_Function="getFilespecState(indirect(getToken(Labor_Consolidation_State_Store)))" TaskState_Expression_Description="Executes when job codes, employees or labor files have been modified" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=63|toolboxy=213|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Consolidate Labor - 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=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=1500|Y=0|W=1118|H=965|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\\'919597')\\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\\'230703')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=919597|X=1500|Y=28|W=1118|H=965|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=28|W=1118|H=965|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=28|W=1118|H=965|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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_oi85fK8kFTQDVVcRTsBH6W5i_Consolidate Labor - 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=28|W=1118|H=965|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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_oi85fK8kFTQDVVcRTsBH6W5i_Consolidate Labor - Store.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Consolidate Labor - Store\\comma\\createLaborConsolidationFileset\\comma\\action_list\\comma\\Action=createLaborConsolidationFileset\\comma\\private//crlf////tab//Consolidate Labor - Store\\comma\\addLaborConsolidationFilesetListener\\comma\\action_list\\comma\\Action=addLaborConsolidationFilesetListener\\comma\\private//crlf////tab//Consolidate Labor - Store\\comma\\addLaborConsolidationFilesetSynch\\comma\\action_list\\comma\\Action=addLaborConsolidationFilesetSynch\\comma\\private//crlf////tab//Consolidate Labor - Store\\comma\\copyLaborFilesForConsolidation\\comma\\action_list\\comma\\Action=copyLaborFilesForConsolidation\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//createLaborConsolidationFileset//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\createLaborConsolidationFileset\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Creates the fileset used to send files to a central computer to consolidate labor//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\\createLaborConsolidationFileset\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//b=isTaskDefined(\\quot\\Aspect_File_Set\\quot\\\\comma\\\\quot\\Labor Consolidation - Store\\quot\\)//crlf////tab////crlf////tab////tab////tab////abort if the file set already exists//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//if(b)//crlf////tab////tab////tab////tab////tab//return(\\quot\\Ok: File set is already defined\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////add the file set//crlf////tab////tab////tab//sFilespec=replaceSubstring(getToken(\\quot\\homedir\\quot\\)\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\~~backslash~~\\quot\\)\\plus\\\\quot\\consolidated_labor~~backslash~~\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\plus\\\\quot\\~~backslash~~*.*\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\sFilespec=\\quot\\\\plus\\sFilespec)//crlf////tab////tab////tab//sParams=\\quot\\Name=Labor Consolidation - Store\\amp\\Category1=Labor Consolidation\\amp\\Category2=\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\Filespec=\\quot\\\\plus\\sFilespec//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\Interval=1\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\Enable=true\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\Description=Labor files for consolidation\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\Condition=\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab//s=execAgentAction(\\quot\\addFileSet\\quot\\\\comma\\sParams)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//addLaborConsolidationFilesetListener//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\addLaborConsolidationFilesetListener\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Checks that a file set listener exists for the labor consolidation.  If not\\comma\\ one is created.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//ConsolidateHashID - HashID of the computer used to consolidate the data//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\\addLaborConsolidationFilesetListener\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if ConsolidateHashID is not defined//crlf////tab////tab////tab//if(not(defined(\\quot\\__ConsolidateHashID__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: addLaborConsolidationFilesetListener Missing ConsolidateHashID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\ConsolidateHashID=__ConsolidateHashID__\\quot\\)//crlf////tab////tab////tab//b=isTaskDefined(\\quot\\Aspect_File_Set_Listeners\\quot\\\\comma\\\\quot\\__ConsolidateHashID__ - Labor Consolidation\\quot\\)//crlf////tab////crlf////tab////tab////tab////abort if the file set listener already exists//crlf////tab////tab////tab//if(b)//crlf////tab////tab////tab////tab//return(\\quot\\Ok: File set listener is already defined\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////add the file set listener.  This is done by calling the addLaborConsolidationFilesetSynch//crlf////tab////tab////tab////action on the computer that is to receive the files//crlf////tab////tab////tab//appendToLog(\\quot\\Adding file set listener for HashID=__ConsolidateHashID__\\quot\\)//crlf////tab////tab////tab//s=execAgentAction(\\quot\\addLaborConsolidationFilesetSynch\\quot\\\\comma\\\\quot\\CustomerID=\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\__ConsolidateHashID__\\quot\\)//crlf////crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//addLaborConsolidationFilesetSynch//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\addLaborConsolidationFilesetSynch\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Adds the synch task used to create the listener task at each store.  This action //crlf////tab////tab//is executed on the computer that will receive all of the labor files.  It is //crlf////tab////tab//called remotely by the stores if they determine that a listener does not already //crlf////tab////tab//exist for the labor consolidation.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//CustomerID - Hash ID of the computer for which the synch will be created.  This //crlf////tab////tab////tab//is the computer with the file set defined//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\\addLaborConsolidationFilesetSynch\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if CustomerID is not defiend//crlf////tab////tab////tab//if(not(defined(\\quot\\__CustomerID__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: addLaborConsolidationFilesetSynchMissing CustomerID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sParams=\\quot\\CustomerID=__CustomerID__\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\FileSet=Labor Consolidation - Store\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\BaseDir=\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\Replace=true\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\TimestampOnly=false\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\Enable=true\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\Category1=Labor Consolidation\\amp\\Category2=\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\Description=Receive files for labor consolidation\\quot\\//crlf////crlf////tab////tab////tab//s=execAgentAction(\\quot\\addFileSetSynch\\quot\\\\comma\\sParams)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//copyLaborFilesForConsolidation//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\copyLaborFilesForConsolidation\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Copies labor files from the store directory to a directory named //crlf////tab////tab//c:~~backslash~~aspect7~~backslash~~consolidated_labor~~backslash~~[hashid].  This is the directory that //crlf////tab////tab//the \\quot\\Labor Consolidation - Store\\quot\\ fileset points to.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - ID of store from which files will be copied//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\\copyLaborFilesForConsolidation\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////abort if StoreID is not defined//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////crlf////tab////tab////tab//sStoreDir=getStoreDir(\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\sStoreDir=\\quot\\\\plus\\sStoreDir)//crlf////tab////tab////tab//sDestDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\consolidated_labor~~backslash~~\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\plus\\\\quot\\~~backslash~~\\quot\\//crlf////crlf////tab////tab////tab////copy employee file//crlf////tab////tab////tab//sSrcFilename=sStoreDir\\plus\\\\quot\\employee.bin\\quot\\//crlf////tab////tab////tab//sDestFilename=sDestDir\\plus\\\\quot\\employee.bin\\quot\\//crlf////tab////tab////tab//if(gfs(sSrcFilename)<>gfs(sDestFilename))//crlf////tab////tab////tab////tab//fileCopy(sSrcFilename\\comma\\sDestFilename)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////copy job codes//crlf////tab////tab////tab//sSrcFilename=sStoreDir\\plus\\\\quot\\jobcode.bin\\quot\\//crlf////tab////tab////tab//sDestFilename=sDestDir\\plus\\\\quot\\jobcode.bin\\quot\\//crlf////tab////tab////tab//if(gfs(sSrcFilename)<>gfs(sDestFilename))//crlf////tab////tab////tab////tab//fileCopy(sSrcFilename\\comma\\sDestFilename)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////copy labor files//crlf////tab////tab////tab//dt1=incrementTime(now()\\comma\\-21)//crlf////tab////tab////tab//dt2=now()//crlf////tab////tab////tab//cCopied=0//crlf////tab////tab////tab//while(dt1<=dt2)//crlf////tab////tab////tab////tab//sSrcFilename=sStoreDir\\plus\\\\quot\\lbr.\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//sDestFilename=sDestDir\\plus\\\\quot\\lbr.\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//if(gfs(sSrcFilename)<>gfs(sDestFilename))//crlf////tab////tab////tab////tab////tab//fileCopy(sSrcFilename\\comma\\sDestFilename)//crlf////tab////tab////tab////tab////tab//cCopied\\plus\\\\plus\\//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//return(\\quot\\Ok: Copied \\quot\\\\plus\\cCopied\\plus\\\\quot\\ files\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=1500|Y=28|W=1118|H=965|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=230703|X=1500|Y=28|W=1118|H=965|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=184|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=564652|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=always|^
ID=181784|X=184|Y=1214|W=119|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=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=ResultFileSet //plus// getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~) //plus// ResultSynch //plus// getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~) //plus// ResultCopy|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
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 white|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_Consolidate Labor - Store\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Consolidate Labor - Store\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 05-02-2022 18:38: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\\oi85fK8kFTQDVVcRTsBH6W5i_Consolidate Labor - Store\\comma\\AgentAction\\comma\\564652\\comma\\0\\comma\\Get the ID of the store with labor consolidation enabled.  (This is not the HashID).//crlf////crlf////tab////tab////Get the ID of the store with labor consolidation enabled.  (This is not the HashID).//crlf////tab////tab//sStoreID=getCollection(Aspect_BackOffice_StoreID_by_Labor_Consolidation_HashID\\comma\\\\quot\\gt(len(Consolidated_HashID)\\comma\\0\\comma\\n)\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\value)//crlf////tab////tab//appendToLog(\\quot\\Expression (sStoreID=getCollection(Aspect_BackOffice_StoreID_by_Labor_Consolidation_HashID\\comma\\\\apos\\gt(len(Consolidated_HashID)\\comma\\0\\comma\\n)\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\char(0x2C)\\comma\\value))\\quot\\)//crlf////crlf////tab////tab////Is there exactly one store with a consolidated HashID defined?//crlf////tab////tab//appendToLog(\\quot\\((getElementCount(sStoreID)=1))=\\quot\\\\plus\\((getElementCount(sStoreID)=1)))//crlf////tab////tab//if((getElementCount(sStoreID)=1))//crlf////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Consolidate Labor - Store\\comma\\AgentAction\\comma\\450341\\comma\\0\\comma\\Get the HashID of the computer used to consolidate data.//crlf////crlf////tab////tab////tab////Get the HashID of the computer used to consolidate data.//crlf////tab////tab////tab//sConsolidateHashID=lookup(Aspect_BackOffice_Labor_Consolidation_HashID_by_StoreID\\comma\\sStoreID)//crlf////tab////tab////tab//appendToLog(\\quot\\Expression (sConsolidateHashID=lookup(Aspect_BackOffice_Labor_Consolidation_HashID_by_StoreID\\comma\\sStoreID))\\quot\\)//crlf////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Consolidate Labor - Store\\comma\\AgentAction\\comma\\761261\\comma\\0\\comma\\Create the fileset used to monitor labor files//crlf////crlf////tab////tab////tab////Create the fileset used to monitor labor files//crlf////tab////tab////tab//ResultFileset=execAgentAction(\\quot\\createLaborConsolidationFileset\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\createLaborConsolidationFileset ()=\\quot\\\\plus\\left(ResultFileset\\comma\\128))//crlf////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Consolidate Labor - Store\\comma\\AgentAction\\comma\\992251\\comma\\0\\comma\\Create the synch task on the consolidating computer and the local file set listener.//crlf////crlf////tab////tab////tab////Create the synch task on the consolidating computer and the local file set listener.//crlf////tab////tab////tab//ResultSynch=execAgentAction(\\quot\\addLaborConsolidationFilesetListener\\quot\\\\comma\\\\quot\\ConsolidateHashID=\\quot\\\\plus\\sConsolidateHashID)//crlf////tab////tab////tab//appendToLog(\\quot\\addLaborConsolidationFilesetListener (\\apos\\ConsolidateHashID=\\apos\\\\plus\\sConsolidateHashID)=\\quot\\\\plus\\left(ResultSynch\\comma\\128))//crlf////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Consolidate Labor - Store\\comma\\AgentAction\\comma\\585416\\comma\\0\\comma\\Copy labor files to the c:~~backslash~~aspect7~~backslash~~consolidated_labor~~backslash~~[hashid]//crlf////crlf////tab////tab////tab////Copy labor files to the c:~~backslash~~aspect7~~backslash~~consolidated_labor~~backslash~~[hashid]//crlf////tab////tab////tab//ResultCopy=execAgentAction(\\quot\\copyLaborFilesForConsolidation\\quot\\\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab//appendToLog(\\quot\\copyLaborFilesForConsolidation (\\apos\\StoreID=\\apos\\\\plus\\sStoreID)=\\quot\\\\plus\\left(ResultCopy\\comma\\128))//crlf////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Consolidate Labor - Store\\comma\\AgentTerminate\\comma\\181784\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//agentReportStatus(\\quot\\oi85fK8kFTQDVVcRTsBH6W5i_Consolidate Labor - Store\\quot\\\\comma\\\\quot\\181784\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\ResultFileSet \\plus\\ getToken(\\quot\\br\\quot\\) \\plus\\ ResultSynch \\plus\\ getToken(\\quot\\br\\quot\\) \\plus\\ ResultCopy\\comma\\bForceReport\\comma\\now()-tAgentStart))//crlf////tab////tab////tab//scriptSetResult(ResultFileSet \\plus\\ getToken(\\quot\\br\\quot\\) \\plus\\ ResultSynch \\plus\\ getToken(\\quot\\br\\quot\\) \\plus\\ ResultCopy)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\oi85fK8kFTQDVVcRTsBH6W5i_Consolidate Labor - Store\\comma\\AgentTerminate\\comma\\515689\\comma\\1\\comma\\Error: There must be one store with a consolidated HashID//crlf////tab////tab////tab//agentReportStatus(\\quot\\oi85fK8kFTQDVVcRTsBH6W5i_Consolidate Labor - Store\\quot\\\\comma\\\\quot\\515689\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error: There must be one store with a consolidated HashID\\quot\\\\comma\\\\quot\\Error: There must be one store with a consolidated HashID.  Count=\\quot\\\\plus\\getElementCount(sStoreID)\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: There must be one store with a consolidated HashID.  Count=\\quot\\\\plus\\getElementCount(sStoreID))//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;05022022//amp//nbsp;183825//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_Consolidate//amp//nbsp;Labor//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;05-02-2022//amp//nbsp;18:38: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;//Get//amp//nbsp;the//amp//nbsp;ID//amp//nbsp;of//amp//nbsp;the//amp//nbsp;store//amp//nbsp;with//amp//nbsp;labor//amp//nbsp;consolidation//amp//nbsp;enabled.//amp//nbsp;//amp//nbsp;(This//amp//nbsp;is//amp//nbsp;not//amp//nbsp;the//amp//nbsp;HashID).</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;sStoreID=<span class='keyword'>getCollection</span>(Aspect_BackOffice_StoreID_by_Labor_Consolidation_HashID\\comma\\\\quot\\<span class='keyword'>gt</span>(<span class='keyword'>len</span>(Consolidated_HashID)\\comma\\0\\comma\\n)\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\<span class='keyword'>char</span>(0x2C)\\comma\\value)<br>//amp//nbsp;//amp//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;(sStoreID=<span class='keyword'>getCollection</span>(Aspect_BackOffice_StoreID_by_Labor_Consolidation_HashID\\comma\\\\apos\\<span class='keyword'>gt</span>(<span class='keyword'>len</span>(Consolidated_HashID)\\comma\\0\\comma\\n)\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\<span class='keyword'>char</span>(0x2C)\\comma\\value))\\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;//Is//amp//nbsp;there//amp//nbsp;exactly//amp//nbsp;one//amp//nbsp;store//amp//nbsp;with//amp//nbsp;a//amp//nbsp;consolidated//amp//nbsp;HashID//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='keyword'>appendToLog</span>(\\quot\\((<span class='keyword'>getElementCount</span>(sStoreID)=1))=\\quot\\\\plus\\((<span class='keyword'>getElementCount</span>(sStoreID)=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'>getElementCount</span>(sStoreID)=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;//Get//amp//nbsp;the//amp//nbsp;HashID//amp//nbsp;of//amp//nbsp;the//amp//nbsp;computer//amp//nbsp;used//amp//nbsp;to//amp//nbsp;consolidate//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;sConsolidateHashID=<span class='keyword'>lookup</span>(Aspect_BackOffice_Labor_Consolidation_HashID_by_StoreID\\comma\\sStoreID)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//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;(sConsolidateHashID=<span class='keyword'>lookup</span>(Aspect_BackOffice_Labor_Consolidation_HashID_by_StoreID\\comma\\sStoreID))\\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;//Create//amp//nbsp;the//amp//nbsp;fileset//amp//nbsp;used//amp//nbsp;to//amp//nbsp;monitor//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;ResultFileset=<span class='keyword'>execAgentAction</span>(\\quot\\createLaborConsolidationFileset\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//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\\createLaborConsolidationFileset//amp//nbsp;()=\\quot\\\\plus\\<span class='keyword'>left</span>(ResultFileset\\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;//Create//amp//nbsp;the//amp//nbsp;synch//amp//nbsp;task//amp//nbsp;on//amp//nbsp;the//amp//nbsp;consolidating//amp//nbsp;computer//amp//nbsp;and//amp//nbsp;the//amp//nbsp;local//amp//nbsp;file//amp//nbsp;set//amp//nbsp;listener.</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;ResultSynch=<span class='keyword'>execAgentAction</span>(\\quot\\addLaborConsolidationFilesetListener\\quot\\\\comma\\\\quot\\ConsolidateHashID=\\quot\\\\plus\\sConsolidateHashID)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//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\\addLaborConsolidationFilesetListener//amp//nbsp;(\\apos\\ConsolidateHashID=\\apos\\\\plus\\sConsolidateHashID)=\\quot\\\\plus\\<span class='keyword'>left</span>(ResultSynch\\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;//Copy//amp//nbsp;labor//amp//nbsp;files//amp//nbsp;to//amp//nbsp;the//amp//nbsp;c:~~backslash~~aspect7~~backslash~~consolidated_labor~~backslash~~[hashid]</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;ResultCopy=<span class='keyword'>execAgentAction</span>(\\quot\\copyLaborFilesForConsolidation\\quot\\\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//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\\copyLaborFilesForConsolidation//amp//nbsp;(\\apos\\StoreID=\\apos\\\\plus\\sStoreID)=\\quot\\\\plus\\<span class='keyword'>left</span>(ResultCopy\\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\\oi85fK8kFTQDVVcRTsBH6W5i_Consolidate//amp//nbsp;Labor//amp//nbsp;-//amp//nbsp;Store\\quot\\\\comma\\\\quot\\181784\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\ResultFileSet//amp//nbsp;\\plus\\//amp//nbsp;<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)//amp//nbsp;\\plus\\//amp//nbsp;ResultSynch//amp//nbsp;\\plus\\//amp//nbsp;<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)//amp//nbsp;\\plus\\//amp//nbsp;ResultCopy\\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>(ResultFileSet//amp//nbsp;\\plus\\//amp//nbsp;<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)//amp//nbsp;\\plus\\//amp//nbsp;ResultSynch//amp//nbsp;\\plus\\//amp//nbsp;<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)//amp//nbsp;\\plus\\//amp//nbsp;ResultCopy)<br>//amp//nbsp;//amp//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\\oi85fK8kFTQDVVcRTsBH6W5i_Consolidate//amp//nbsp;Labor//amp//nbsp;-//amp//nbsp;Store\\quot\\\\comma\\\\quot\\515689\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error://amp//nbsp;There//amp//nbsp;must//amp//nbsp;be//amp//nbsp;one//amp//nbsp;store//amp//nbsp;with//amp//nbsp;a//amp//nbsp;consolidated//amp//nbsp;HashID\\quot\\\\comma\\\\quot\\Error://amp//nbsp;There//amp//nbsp;must//amp//nbsp;be//amp//nbsp;one//amp//nbsp;store//amp//nbsp;with//amp//nbsp;a//amp//nbsp;consolidated//amp//nbsp;HashID.//amp//nbsp;//amp//nbsp;Count=\\quot\\\\plus\\<span class='keyword'>getElementCount</span>(sStoreID)\\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;There//amp//nbsp;must//amp//nbsp;be//amp//nbsp;one//amp//nbsp;store//amp//nbsp;with//amp//nbsp;a//amp//nbsp;consolidated//amp//nbsp;HashID.//amp//nbsp;//amp//nbsp;Count=\\quot\\\\plus\\<span class='keyword'>getElementCount</span>(sStoreID))<br>//amp//nbsp;//amp//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=1254|H=840|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=black|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h2>Token used for agent condition at store and office</h2>//crlf//<code>Labor_Consolidation_Enabled</code><br><br>//crlf//<code>{Labor_Consolidation_Enabled}</code><br><br>//crlf//Value: {@indirect(getToken(\\quot\\Labor_Consolidation_Enabled\\quot\\))}<br><br>^
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>05022022 183825</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\\chart564652\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\133\\quot\\ style=\\quot\\width: 120px; height: 133px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Consolidate Labor - 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 On</span><br>Report Status: always<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart181784\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1170px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\88\\quot\\ style=\\quot\\width: 120px; height: 88px; 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\\chart761261\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart992251\\quot\\ style=\\quot\\position: absolute; top: 675px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\113\\quot\\ style=\\quot\\width: 150px; height: 99px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Create the fileset used to monitor labor files<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>createLaborConsolidationFileset<br></td></tr><tr><td><u>Return</u></td><td>ResultFileset</td></tr></tbody></table></div></div><div id=\\quot\\chart992251\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart585416\\quot\\ style=\\quot\\position: absolute; top: 826px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\140\\quot\\ style=\\quot\\width: 150px; height: 126px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Create the synch task on the consolidating computer and the local file set listener.<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>addLaborConsolidationFilesetListener<br></td></tr><tr><td><u>Return</u></td><td>ResultSynch</td></tr></tbody></table></div></div><div id=\\quot\\chart564652\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart666883\\quot\\ style=\\quot\\position: absolute; top: 185px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\140\\quot\\ style=\\quot\\width: 150px; height: 126px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Get the ID of the store with labor consolidation enabled.  (This is not the HashID).<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\\chart666883\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart450341\\quot\\ agentchildnonode=\\quot\\chart515689\\quot\\ style=\\quot\\position: absolute; top: 364px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\108\\quot\\ style=\\quot\\width: 150px; height: 94px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is there exactly one store with a consolidated HashID 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\\chart515689\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 364px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\115\\quot\\ style=\\quot\\width: 120px; height: 115px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: There must be one store with a consolidated HashID<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart585416\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart181784\\quot\\ style=\\quot\\position: absolute; top: 1005px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\126\\quot\\ style=\\quot\\width: 150px; height: 113px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Copy labor files to the c:\aspect7\consolidated_labor\[hashid]<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>copyLaborFilesForConsolidation<br></td></tr><tr><td><u>Return</u></td><td>ResultCopy</td></tr></tbody></table></div></div><div id=\\quot\\chart450341\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart761261\\quot\\ style=\\quot\\position: absolute; top: 510px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\113\\quot\\ style=\\quot\\width: 150px; height: 113px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Get the HashID of the computer used to consolidate 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></td></tr></tbody></table></div></div>^
ID=761261|X=184|Y=719|W=149|H=100|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=992251|AgentChildNoNode=|AgentSensor=|AgentAction=createLaborConsolidationFileset|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=ResultFileset|AgentNodeComment=Create the fileset used to monitor labor files|AgentNodeTermType=|^
ID=992251|X=184|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=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=585416|AgentChildNoNode=|AgentSensor=|AgentAction=addLaborConsolidationFilesetListener|AgentNodeNotes=|AgentNodeParams=\\quot\\ConsolidateHashID~~backslash~~equals~~backslash~~\\quot\\//plus//sConsolidateHashID|AgentNodeExpression=|AgentNodeActionReturnValue=ResultSynch|AgentNodeComment=Create the synch task on the consolidating computer and the local file set listener.|AgentNodeTermType=|^
ID=564652|X=184|Y=229|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=666883|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=sStoreID~~backslash~~equals~~backslash~~getCollection(Aspect_BackOffice_StoreID_by_Labor_Consolidation_HashID//comma//\\quot\\gt(len(Consolidated_HashID)//comma//0//comma//n)\\quot\\//comma//\\quot\\\\quot\\//comma//\\quot\\\\quot\\//comma//char(0x2C)//comma//value)|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=Get the ID of the store with labor consolidation enabled.  (This is not the HashID).|AgentNodeTermType=|^
ID=666883|X=184|Y=408|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=450341|AgentChildNoNode=515689|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(getElementCount(sStoreID)~~backslash~~equals~~backslash~~1)|AgentNodeActionReturnValue=|AgentNodeComment=Is there exactly one store with a consolidated HashID defined?|AgentNodeTermType=|^
ID=515689|X=374|Y=408|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error: There must be one store with a consolidated HashID.  Count~~backslash~~equals~~backslash~~~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//plus//getElementCount(sStoreID)|AgentNodeActionReturnValue=|AgentNodeComment=Error: There must be one store with a consolidated HashID|AgentNodeTermType=1|^
ID=585416|X=184|Y=1049|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=181784|AgentChildNoNode=|AgentSensor=|AgentAction=copyLaborFilesForConsolidation|AgentNodeNotes=|AgentNodeParams=\\quot\\StoreID~~backslash~~equals~~backslash~~\\quot\\//plus//sStoreID|AgentNodeExpression=|AgentNodeActionReturnValue=ResultCopy|AgentNodeComment=Copy labor files to the c:~~backslash~~aspect7~~backslash~~consolidated_labor~~backslash~~[hashid]|AgentNodeTermType=|^
ID=450341|X=184|Y=554|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=761261|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=sConsolidateHashID~~backslash~~equals~~backslash~~lookup(Aspect_BackOffice_Labor_Consolidation_HashID_by_StoreID//comma//sStoreID)|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=Get the HashID of the computer used to consolidate data.|AgentNodeTermType=|
</widget>