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="10-19-2020 14:54:48" 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=41|toolboxy=322|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\\+salt).value;//crlf////tab////tab////tab//appendToLog(\\quot\\sExportFormat=\\quot\\+sExportFormat);//crlf////crlf////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\+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\\+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\\+salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\ECOvertime_Hours\\quot\\+salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\ECTips\\quot\\+salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\ECCach_Tips\\quot\\+salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\ECCharge_Tips\\quot\\+salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\ECSales\\quot\\+salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\ECTips_Paid\\quot\\+salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\ECTips_Received\\quot\\+salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\ECTips_CCFee\\quot\\+salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\ECTip_Share\\quot\\+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\\+salt\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(\\quot\\ECAskRep\\quot\\+salt\\comma\\false);//crlf////tab////tab////tab////tab//setVisible(\\quot\\ECTitle\\quot\\+salt\\comma\\false);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab//setVisible(\\quot\\ECNoFormatSelected\\quot\\+salt\\comma\\false);//crlf////tab////tab////tab////tab//setVisible(\\quot\\ECAskRep\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(\\quot\\ECTitle\\quot\\+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\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECCharge_Tips\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECSales\\quot\\+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\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECOvertime_Hours\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECTips\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECSales\\quot\\+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\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\+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\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECOvertime_Hours\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECTips\\quot\\+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\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\+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\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECOvertime_Hours\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECTips\\quot\\+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\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECOvertime_Hours\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECTips\\quot\\+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\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECOvertime_Hours\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECTips\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECUnion_Code\\quot\\+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\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\+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\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\+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\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECTips\\quot\\+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\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECOvertime_Hours\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECTips\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\+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\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\+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\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECOvertime_Hours\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECTips\\quot\\+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\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECPayroll_Job_No\\quot\\+salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\ECRegular_Hours\\quot\\+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='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__general')\\quot\\>Job Code</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__export')\\quot\\>Earnings Codes</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__tip_share')\\quot\\>Tip Share</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__Enterprise')\\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='__salt__general'>Job Code</option>//crlf////tab////tab////tab////tab//<option value='__salt__export'>Earnings Codes</option>//crlf////tab////tab////tab////tab//<option value='__salt__tip_share'>Tip Share</option>//crlf////tab////tab////tab////tab//<option value='__salt__Enterprise'>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='width:200px'\\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='width:200px' 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//</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='2'>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='2'>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='2'>//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\\+quote(\\quot\\width:100\\percent\\;max-width:__TextFieldWidth__\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\))></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</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=\\apos\\tabdialog\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\__salt__approvedshift\\apos\\)\\quot\\>Approved Shift</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\__salt__posshift\\apos\\)\\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=\\apos\\__salt__approvedshift\\apos\\>Approved Shift</option>//crlf////tab////tab////tab////tab//<option value=\\apos\\__salt__posshift\\apos\\>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=\\apos\\medium\\apos\\ onChange=\\quot\\\\plus\\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=\\apos\\medium\\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////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=\\apos\\number\\apos\\ 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=\\apos\\number\\apos\\ 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=\\apos\\number\\apos\\ 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=\\apos\\number\\apos\\ 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=\\apos\\number\\apos\\ 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=\\apos\\number\\apos\\ 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=\\apos\\number\\apos\\ 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=\\apos\\number\\apos\\ 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=\\apos\\number\\apos\\ 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=\\apos\\number\\apos\\ 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=\\apos\\number\\apos\\ 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=\\apos\\number\\apos\\ 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=\\apos\\number\\apos\\ 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=\\apos\\number\\apos\\ 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=\\apos\\number\\apos\\ 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=\\apos\\number\\apos\\ 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=\\apos\\number\\apos\\ 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=\\apos\\number\\apos\\ 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="10-20-2020 13:27:10" 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=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'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=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=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=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 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=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 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=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=888901|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=375238|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='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=151|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=151|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=151|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=151|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=151|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=151|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//<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=151|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=151|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//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=151|Y=33|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=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\\apos\\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\\)\\plus\\\\quot\\employee.bin\\quot\\))}//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\gfs(getStoreDir(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\jobcode.bin\\quot\\))}//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\gfs(getStoreDir(\\quot\\__StoreID__\\quot\\)\\plus\\\\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\\)\\plus\\\\quot\\LABORDETAILADD.__Date__.BIN\\quot\\\\comma\\\\quot\\\\quot\\)}//crlf////tab//{\\pound\\if(defined(\\quot\\__StoreID__\\quot\\)\\comma\\gfs(getStoreDir(\\quot\\__StoreID__\\quot\\)\\plus\\\\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//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\\))>//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(~~backslash~~\\quot\\\\quot\\\\plus\\TableID\\plus\\\\quot\\~~backslash~~\\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\\\\plus\\TableID\\plus\\\\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\\\\plus\\TableID\\plus\\\\quot\\<br><br>\\amp\\fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//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\\\\plus\\TableID\\plus\\\\quot\\<br><br>\\amp\\fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//var sUrl=getServer()\\plus\\\\quot\\/?Network=Greenlight\\amp\\ID=execAgentAction\\quot\\;//crlf////tab////tab////tab////tab//sUrl \\plus\\=\\quot\\\\amp\\Action=importDailyLabor\\amp\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\\\amp\\Date=\\quot\\\\plus\\sDate;//crlf////crlf////tab////tab////tab////tab//showDialog(\\quot\\icon=true\\amp\\msg=Importing...\\quot\\);//crlf////tab////tab////tab////tab//var sFunc=\\quot\\importLaborDetail(~~backslash~~\\quot\\\\quot\\\\plus\\TableID\\plus\\\\quot\\~~backslash~~\\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\\apos\\t show a message.  The \\apos\\loading\\apos\\ 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\\\\plus\\result\\plus\\\\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(~~backslash~~\\quot\\\\quot\\\\plus\\TableID\\plus\\\\quot\\~~backslash~~\\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\\\\plus\\TableID\\plus\\\\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\\\\plus\\TableID\\plus\\\\quot\\<br><br>\\amp\\fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//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\\\\plus\\TableID\\plus\\\\quot\\<br><br>\\amp\\fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//var sUrl=getServer()\\plus\\\\quot\\/?Network=Greenlight\\amp\\ID=execAgentAction\\quot\\;//crlf////tab////tab////tab////tab//sUrl \\plus\\=\\quot\\\\amp\\Action=updateDailyLaborSalesAndTips\\amp\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\\\amp\\Date=\\quot\\\\plus\\sDate\\plus\\\\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(~~backslash~~\\quot\\\\quot\\\\plus\\TableID\\plus\\\\quot\\~~backslash~~\\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\\apos\\t show a message.  The \\apos\\loading\\apos\\ 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\\\\plus\\result\\plus\\\\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(\\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////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=151|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=151|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=151|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=151|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\\10202020\\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\\Es134hBQNJBUojYEL0ZGpNLO\\quot\\)>//crlf//< _include type:expression; expression:htmlConstant(\\quot\\From\\quot\\\\comma\\\\quot\\__From__\\quot\\\\comma\\\\quot\\02-13-2017\\quot\\)>//crlf//< _include type:expression; expression:htmlConstant(\\quot\\To\\quot\\\\comma\\\\quot\\__To__\\quot\\\\comma\\\\quot\\02-19-2017\\quot\\)>//crlf//--------------------------------------------------------------------------]//crlf////crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\TableControls\\quot\\\\comma\\\\quot\\__TableControls__\\quot\\\\comma\\\\quot\\true\\quot\\)>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Default Display//crlf//--------------------------------------------------------------------------]//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//Include the Labor Detail dimensional view//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\))>//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=151|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="04-10-2019 01:16:12" 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=63|toolboxy=211|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=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\\'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=126|W=972|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=972|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=972|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=126|W=972|H=664|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__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_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\\5637\\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////=================================================================================//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=126|W=972|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=126|W=972|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=151|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=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=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_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=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;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=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=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=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>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>
</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="01-30-2021 23:48:34" 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=138|toolboxy=92|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=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\\'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=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_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=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=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_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//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////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\\))//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////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////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////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\\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 inn the first record and remove it from the remainder//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\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) and (bIsFirst))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\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//bIsFirst=false//crlf////tab////tab////tab////tab////tab////tab////tab////tab//else//tab////tab////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\\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//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=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=151|Y=40|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=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=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_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=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;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=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=151|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=151|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>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=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=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=|
</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="10-02-2020 01:39:46" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false 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=81|toolboxy=107|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=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|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\\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\\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//arMergeDef=\\quot\\PT2jIS52\\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\\false\\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//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////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////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////convert to fixed-width file//crlf////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//s1=s1\\plus\\padLeft(getElement(sLine\\comma\\1)\\comma\\9\\comma\\\\quot\\ \\quot\\)//crlf////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//s1=s1\\plus\\padLeft(getElement(sLine\\comma\\3)\\comma\\15\\comma\\\\quot\\ \\quot\\)//crlf////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//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//s1=s1\\plus\\padRight(getElement(sLine\\comma\\6)\\comma\\1\\comma\\\\quot\\ \\quot\\)//crlf////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//s1=s1\\plus\\padLeft(getElement(sLine\\comma\\8)\\comma\\12\\comma\\\\quot\\ \\quot\\)//crlf////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//s1=s1\\plus\\replaceSubstring(getElement(sLine\\comma\\10)\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\ \\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//sNewOutput=sNewOutput\\plus\\s1\\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////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////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////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//sAPIData=sAPIData\\plus\\TimeWorksFormatPunch(sJob\\comma\\sDepartment\\comma\\dtIn\\comma\\dtOut\\comma\\dCashTip\\comma\\dChargeTip) //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////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=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='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=183|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=183|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=183|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=183|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=183|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=183|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=183|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=183|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=|
</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="08-31-2020 22:38:59" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=true ContainsAgentSensors=true ContainsAgentActions=false TaskInitialStartTime=07-01-2020 12:07:14: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=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\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=126|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=126|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=126|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\\)\\plus\\\\quot\\cache~~backslash~~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\\)\\plus\\\\quot\\TimeworksTimecard.csv\\quot\\//crlf////tab////tab////tab//sParams=\\quot\\Site=2105\\amp\\Token=\\quot\\\\plus\\sToken\\plus\\\\quot\\\\amp\\PeriodDate=__PeriodDate__\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\Filename=\\quot\\\\plus\\sFilename//crlf////tab////tab////tab//if(defined(\\quot\\__IDs__\\quot\\))//crlf////tab////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\IDs=__IDs__\\quot\\//crlf////tab////tab////tab////tab//sParams=sParams\\plus\\\\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\\\\plus\\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\\)\\plus\\\\quot\\TimeworksEmployee.csv\\quot\\//crlf////tab////tab////tab//s1=getSensorValue(\\quot\\getTimeWorksEmployees\\quot\\\\comma\\\\quot\\StoreID=__StoreID__\\amp\\Filename=\\quot\\\\plus\\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\\\\plus\\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\\\\plus\\sCompanyCode)//crlf//appendToLog(\\quot\\sKey=\\quot\\\\plus\\sKey)//crlf////tab////tab////tab////sToken=getTimeWorksToken(\\quot\\client=\\quot\\\\plus\\sCompanyCode\\plus\\\\quot\\\\amp\\key=\\quot\\\\plus\\sKey)//crlf////crlf////tab////tab////tab//sUrl=\\quot\\http://\\quot\\\\plus\\getToken(\\quot\\AspectServerIP2\\quot\\)//crlf////tab////tab////tab//sUrl=sUrl\\plus\\\\quot\\/?network=aspect_support\\amp\\id=getTimeworksToken\\quot\\//crlf////tab////tab////tab//sUrl=sUrl\\plus\\\\quot\\\\amp\\client=\\quot\\\\plus\\sCompanyCode\\plus\\\\quot\\\\amp\\key=\\quot\\\\plus\\sKey//crlf////tab////tab////tab//appendToLog(\\quot\\gettoken: \\quot\\\\plus\\sUrl)//crlf////tab////tab////tab//sToken=fileGetContent(sUrl)//crlf////tab////tab////tab//appendToLog(\\quot\\sToken=\\quot\\\\plus\\sToken)//crlf//appendToLog(\\quot\\sToken=\\quot\\\\plus\\sToken)//crlf////tab////tab////tab//s=TimeWorksGetEmployees(sCompanyCode\\comma\\sToken)//crlf////tab////tab////tab////s=fileGetContent(\\quot\\C:~~backslash~~temp~~backslash~~2020-07~~backslash~~timeworks~~backslash~~employees.txt\\quot\\)//crlf////crlf////tab////tab////tab////parse the output//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)\\plus\\\\quot\\RecordNumber\\quot\\\\comma\\char(13)\\plus\\char(10)\\plus\\char(0x22)\\plus\\\\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:~~backslash~~temp~~backslash~~2020-07~~backslash~~timeworks~~backslash~~employees.txt\\quot\\)//crlf////crlf////tab////tab////tab////parse the output//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)\\plus\\\\quot\\RecordNumber\\quot\\\\comma\\char(13)\\plus\\char(10)\\plus\\char(0x22)\\plus\\\\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=126|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=126|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=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=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=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_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=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;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=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>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=126|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\\08312020\\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\\kW93uxC8uFEf8xUlzPg1u5b1\\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('$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\\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=126|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=126|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>