Library Server: The requested document cannot be located: file:///c:/aspect7/Library/Store/m4xXeWSya3ihs7YQQoSPxqU94qJZ6QR<widget name="Inventory Dialogs" group="Drivers / Dialogs" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Inventory Dialogs" modified="05-29-2024 21:52:34" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=04-21-2024 02:18:30:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=52|toolboxy=324|aspectfuncx=191|aspectfuncy=100|aspectfuncw=834|aspectfunch=868|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Inventory 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=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=383789|X=931|Y=41|W=673|H=602|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=3|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h1>Notes</h1>//crlf////crlf//<hr>//crlf//<p><b>//crlf//<ul>//crlf////tab//<li>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.</li>//crlf////tab//<li>DO NOT use !!include for driver include tags.  This will cause htmlSelect expressions//crlf////tab//to be processed with missing arguments if a dialog includes a driver that includes another dialog.</li>//crlf////tab//<li>Use condiitonals to avoid creating garbage entries in the dependencies table.  For example\\comma\\//crlf////tab//use a conditional to disable an htmlSelect that uses a dependent driver when the arguments//crlf////tab//for the driver are not available in the dialog while editing.</li>//crlf//</ul>//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=266415|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=\\quot\\0\\quot\\>=========Inventory Items===========</option>//crlf////tab//<option value='538288'>Inventory Item Group</option>//crlf////tab//<option value='525433~~pipe~~65230'>Inventory Item / Recipe Combined</option>//crlf////tab//<option value='158371'>Inventory Item</option>//crlf////tab//<option value='207174'>Recipe</option>//crlf////tab//<option value='383031'>Convesions</option>//crlf////tab//<option value='394329'>Convesions For Item</option>//crlf////tab//<option value='120863'>Size</option>//crlf////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab//<option value=\\quot\\0\\quot\\>=========Menu Items===========</option>//crlf////tab//<option value='185543'>Menu Item Group</option>//crlf////tab//<option value='832831'>Menu Item From POS System</option>//crlf////tab//<option value='53136'>Menu Item Detail</option>//crlf////tab//<option value='669146'>Menu Item Sales</option>//crlf////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab//<option value=\\quot\\0\\quot\\>=========Inventory Count===========</option>//crlf////tab//<option value='370502'>Count Groups (No longer used)</option>//crlf////tab//<option value='116968'>Physical Count List</option>//crlf////tab//<option value='90182'>Physical Inventory Count</option>//crlf////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab//<option value=\\quot\\0\\quot\\>=========Waste Count===========</option>//crlf////tab//<option value='786737'>Waste Count List</option>//crlf////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab//<option value=\\quot\\0\\quot\\>=========Prep Log===========</option>//crlf////tab//<option value='509786'>Prep Groups</option>//crlf////tab//<option value='686346'>Prep List</option>//crlf////tab//<option value='759192'>Prep Log</option>//crlf////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab//<option value=\\quot\\0\\quot\\>=========Vendors===========</option>//crlf////tab//<option value='85430'>Vendor</option>//crlf////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab//<option value=\\quot\\0\\quot\\>=========Invoices===========</option>//crlf////tab//<option value='785764'>Invoice 2018</option>//crlf////tab//<option value='597458'>Invoice Detail 2018</option>//crlf////tab//<option value='177416'>Invoice (OLD)</option>//crlf////tab//<option value='778581'>Invoice Detail</option>//crlf////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab//<option value=\\quot\\0\\quot\\>=========Dependent Drivers===========</option>//crlf////tab//<option value='959087'>Inventory Extensions</option>//crlf////tab//<option value='111904'>Daily Inventory Summary</option>//crlf////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab//<option value=\\quot\\0\\quot\\>=========Unused Drivers===========</option>//crlf//</select>//crlf////crlf////crlf//^
ID=525433|X=183|Y=32|W=700|H=615|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=266415|AttachLeft=|AlignLeft=266415|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<script ID=\\quot\\EditInventoryItem\\quot\\>//crlf////tab//function initializeItemDialog(d) {//crlf////tab////tab//var Dialog=document.getElementById(d);//crlf////tab////tab//var ID=Dialog.getAttribute(\\quot\\DialogID\\quot\\);//crlf////tab////tab////alert(\\quot\\ID=\\quot\\+ID);//crlf////tab////tab//var RecordType=document.getElementById(ID+\\quot\\RecordType\\quot\\).value;//crlf////crlf////tab////tab//setVisible(\\quot\\__tabrandom__newitem_tabs\\quot\\\\comma\\(RecordType==\\quot\\0\\quot\\));//crlf////tab////tab//setVisible(\\quot\\__tabrandom__new_record\\quot\\\\comma\\(RecordType==\\quot\\0\\quot\\));//crlf////tab////tab//setVisible(\\quot\\__tabrandom__new_record_wrapper\\quot\\\\comma\\(RecordType==\\quot\\0\\quot\\));//crlf////crlf////tab////tab//setVisible(\\quot\\__tabrandom__inventoryitem_tabs\\quot\\\\comma\\(RecordType==\\quot\\1\\quot\\));//crlf////tab////tab//setVisible(\\quot\\__tabrandom__InventoryItemSetup_wrapper\\quot\\\\comma\\(RecordType==\\quot\\1\\quot\\));//crlf////tab////tab////setVisible(\\quot\\__tabrandom__InventoryItemSetup\\quot\\\\comma\\(RecordType==\\quot\\1\\quot\\));//crlf////tab////tab////setVisible(\\quot\\__tabrandom__Vendors\\quot\\\\comma\\(RecordType==\\quot\\1\\quot\\));//crlf////tab////tab////setVisible(\\quot\\__tabrandom__Conversions\\quot\\\\comma\\(RecordType==\\quot\\1\\quot\\));//crlf////crlf////tab////tab//setVisible(\\quot\\__tabrandom__menuitem_tabs\\quot\\\\comma\\(RecordType==\\quot\\2\\quot\\));//crlf////tab////tab//setVisible(\\quot\\__tabrandom__Ingredients_wrapper\\quot\\\\comma\\(RecordType==\\quot\\2\\quot\\));//crlf////tab////tab////setVisible(\\quot\\__tabrandom__Ingredients\\quot\\\\comma\\(RecordType==\\quot\\2\\quot\\));//crlf////tab////tab////setVisible(\\quot\\__tabrandom__CalcLegit\\quot\\\\comma\\(RecordType==\\quot\\2\\quot\\));//crlf////tab//};//crlf////crlf////tab//function calcPrice(DialogID\\comma\\StoreID\\comma\\s)//crlf////tab//{//crlf////tab////tab//if(s) {//crlf////tab////tab////tab//showDialog();//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//var Url=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//Url +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Dialogs\\quot\\;//crlf////tab////tab//Url +=\\quot\\//amp//ContainerItemID=AspectScript//amp//query=calcPrice\\quot\\;//crlf////tab////tab//Url +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//Url +=\\quot\\//amp//ItemID=\\quot\\+document.getElementById(\\quot\\Inventory_Item_ID\\quot\\+DialogID).value;//crlf////tab////tab//Url +=\\quot\\//amp//Date=\\quot\\+document.getElementById(\\quot\\calc_price_date\\quot\\+DialogID).value;//crlf////tab////tab//Url +=\\quot\\//amp//Qty=\\quot\\+document.getElementById(\\quot\\calc_price_qty\\quot\\+DialogID).value;//crlf////tab////tab//Url +=\\quot\\//amp//Prefix=\\quot\\+document.getElementById(\\quot\\count_size1_prefix\\quot\\+DialogID).value;//crlf////tab////tab//Url +=\\quot\\//amp//SizeID=\\quot\\+document.getElementById(\\quot\\count_size1_unit\\quot\\+DialogID).value;//crlf////tab////tab//alert(\\quot\\url=\\quot\\+Url);//crlf////crlf////tab////tab//showDialog(\\quot\\icon=true//amp//msg=Calculating price...\\quot\\);//crlf////tab////tab//var e=document.getElementById(\\quot\\calc_price_result\\quot\\+DialogID);//crlf////tab////tab//var sFunc=\\quot\\calcPrice('\\quot\\+DialogID+\\quot\\'\\comma\\'\\quot\\+StoreID+\\quot\\'\\comma\\s)\\quot\\;//crlf////tab////tab//asynchInclude(e\\comma\\Url\\comma\\sFunc\\comma\\sFunc);//crlf////tab//};//crlf////crlf////tab//function convertSize(DialogID\\comma\\StoreID\\comma\\s)//crlf////tab//{//crlf////tab////tab//if(s) {//crlf////tab////tab////tab////showDialog();//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//var Url=getServer()+\\quot\\/?Network=Greenlight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//Url +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Dialogs\\quot\\;//crlf////tab////tab//Url +=\\quot\\//amp//ContainerItemID=AspectScript//amp//query=convertSize\\quot\\;//crlf////tab////tab//Url +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//Url +=\\quot\\//amp//ItemID=\\quot\\+document.getElementById(\\quot\\Inventory_Item_ID\\quot\\+DialogID).value;//crlf////tab////tab//Url +=\\quot\\//amp//FromAmount=\\quot\\+document.getElementById(\\quot\\convert_from_amount\\quot\\+DialogID).value;//crlf////tab////tab//Url +=\\quot\\//amp//FromPrefix=\\quot\\+document.getElementById(\\quot\\convert_from_prefix\\quot\\+DialogID).value;//crlf////tab////tab//Url +=\\quot\\//amp//FromSizeID=\\quot\\+document.getElementById(\\quot\\convert_from_unit\\quot\\+DialogID).value;//crlf////tab////tab//Url +=\\quot\\//amp//ToPrefix=\\quot\\+document.getElementById(\\quot\\convert_to_prefix\\quot\\+DialogID).value;//crlf////tab////tab//Url +=\\quot\\//amp//ToSizeID=\\quot\\+document.getElementById(\\quot\\convert_to_unit\\quot\\+DialogID).value;//crlf////crlf////tab////tab////showDialog(\\quot\\icon=true//amp//msg=Converting size...\\quot\\);//crlf////crlf////tab////tab//var e=document.getElementById(\\quot\\convert_size_result\\quot\\+DialogID);//crlf////tab////tab//e.innerHTML=\\quot\\\\quot\\;//crlf////tab////tab//var img=document.createElement(\\quot\\img\\quot\\);//crlf////tab////tab//img.src=imageStatusActive.src;//crlf////tab////tab//e.appendChild(img);//crlf////crlf////tab////tab//var sFunc=\\quot\\convertSize('\\quot\\+DialogID+\\quot\\'\\comma\\'\\quot\\+StoreID+\\quot\\'\\comma\\s)\\quot\\;//crlf////tab////tab//asynchInclude(e\\comma\\Url\\comma\\sFunc\\comma\\sFunc);//crlf////tab//};//crlf////crlf////tab//function calcLegit(DialogID\\comma\\StoreID)//crlf////tab//{//crlf////tab////tab//var d=document.getElementById(\\quot\\calc_legit_table\\quot\\+DialogID);//crlf////tab////tab//var Url=d.getAttribute(\\quot\\baseurl\\quot\\);//crlf////tab////tab//Url +=\\quot\\//amp//ItemID=\\quot\\+document.getElementById(\\quot\\Inventory_Item_ID\\quot\\+DialogID).value;//crlf////tab////tab//Url +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//Url +=\\quot\\//amp//Qty=\\quot\\+document.getElementById(\\quot\\calc_legit_qty\\quot\\+DialogID).value;//crlf////tab////tab//Url +=\\quot\\//amp//Prefix=\\quot\\+document.getElementById(\\quot\\Gross_Yield_Prefix\\quot\\+DialogID).value;//crlf////tab////tab//Url +=\\quot\\//amp//SizeID=\\quot\\+document.getElementById(\\quot\\Gross_Yield_Unit\\quot\\+DialogID).value;//crlf////tab////tab//d.setAttribute(\\quot\\url\\quot\\\\comma\\Url);//crlf////tab////tab//setInterval(d\\comma\\0\\comma\\true);//crlf////tab//};//crlf////crlf//</script>//crlf////crlf//<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\Aspect_Back_Office_Inventory_Item__DialogID__\\quot\\ aspectinit=\\quot\\initializeItemDialog\\quot\\ DialogID=\\quot\\__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:auto; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>\\quot\\>//crlf////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab//<img onclick=\\quot\\closeTableEditDialog(this)\\quot\\ style=\\quot\\float:right;display:block\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getImage//amp//filename=close20x20.png\\quot\\>//crlf// //crlf////tab////tab//<!--//tab//Note:  If a a Javascript function named initializeDialogxxx where xxx is the dialog ID is defined\\comma\\ //crlf////tab////tab////tab//it will be called//tab//after the dialog values have been set and before the dialog is made visible.//crlf////tab////tab////tab////crlf////tab////tab////tab//An initialization function may also be specified by including it in an attribute named 'aspectinit'//crlf////tab////tab////tab//in the dialog div above.  Only include the function name with no parentheses or arguments.  //crlf////tab////tab////tab//Arguments can be made//tab//available to the function by including them as attributes or by embedding //crlf////tab////tab////tab//them in this div.  Use this method when the dialog ID is randomized to allow for multiple instances//crlf////tab////tab////tab//in one document.//crlf////crlf////tab////tab////tab//If an Aspect script is defined with the ID xxx_DataSubmitted where xxx is the driver ID\\comma\\ it will//crlf////tab////tab////tab//be called whenever data is submitted due to an edit in either the table or the dialog.//crlf////tab////tab////tab//Arguments passed to the script are in the form://crlf////crlf////tab////tab////tab////tab//driver=xxx//amp//r=n//amp//fields=//amp//values=//crlf////crlf////tab////tab////tab//where driver is the name of a system driver\\comma\\ r is the absolute record number\\comma\\//crlf////tab////tab////tab//fields is a pipe-delimited list of field ID's and values is a pipe-delimited list of//crlf////tab////tab////tab//values.  Ampersands and pipes in the values are tokenized by surrounding//crlf////tab////tab////tab//them with two forward slashes.//crlf////tab////tab//-->//crlf////crlf////tab////tab//<!-- Used as an external filter and driver param in the conversions table -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\Inventory_Item_ID__DialogID__\\quot\\ name=\\quot\\ID\\quot\\ expression=\\quot\\Inventory_Item_ID='$value$'\\quot\\ param=\\quot\\Inventory_Item_ID=$value$\\quot\\>//crlf////crlf////tab////tab//<!-- Used as an external filter and driver param in the menu item details table -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\Menu_Item_ID__DialogID__\\quot\\ name=\\quot\\ID\\quot\\ expression=\\quot\\ItemID_Of_MenuItem='$value$'\\quot\\ param=\\quot\\Menu_Item_ID=$value$\\quot\\>//crlf////crlf////tab////tab//<!-- Create a random ID used in the tab ID's below.  This is necessary when the table is included several times in one container.  //crlf////tab////tab////tab//If the tabs and associated divs do not have unique ID's\\comma\\ they will not be shown/hidden properly. -->//crlf////tab////tab//<!!include type:expression; expression:htmlConstant(\\quot\\tabrandom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////tab////tab//<!!include type:expression; expression:htmlConstant(\\quot\\tabheight\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\400px\\quot\\)>//crlf////tab////tab//<!!include type:expression; expression:htmlConstant(\\quot\\tabwidth\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\670px\\quot\\)>//crlf////tab////tab////crlf////tab////tab//<!-- Dialog Tabs -->//crlf////tab////tab//<div style=\\quot\\width:100\\percent\\; border-bottom:solid 1px //pound//c9c9c9\\quot\\>//crlf////tab////tab////tab//<!-- Tabs for new record -->//crlf////tab////tab////tab//<table ID=\\quot\\__tabrandom__newitem_tabs\\quot\\ class='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__tabrandom__new_record')\\quot\\>New Item</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab////tab//<!-- Tabs for inventory item -->//crlf////tab////tab////tab//<table ID=\\quot\\__tabrandom__inventoryitem_tabs\\quot\\ class='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__tabrandom__InventoryItemSetup')\\quot\\>Item</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__tabrandom__Conversions')\\quot\\>Conversions</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab////tab//<!-- Tabs for menu item -->//crlf////tab////tab////tab//<table ID=\\quot\\__tabrandom__menuitem_tabs\\quot\\ class='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__tabrandom__Ingredients')\\quot\\>Ingredients</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__tabrandom__Conversions')\\quot\\>Conversions</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__tabrandom__CalcLegit')\\quot\\>Calc Legit</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- new record -->//crlf////tab////tab//<div ID=\\quot\\__tabrandom__new_record_wrapper\\quot\\>//crlf////tab////tab////tab//<div ID=\\quot\\__tabrandom__new_record\\quot\\ style=\\quot\\width:__tabwidth__;height:__tabheight__;\\quot\\>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Record Type</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Lookup_Inventory_Items_Record_Type\\quot\\\\comma\\\\quot\\Record_Type\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=__DialogID__RecordType style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\+char(0x3b)+\\quot\\initializeItemDialog(\\quot\\+quote(\\quot\\Aspect_Back_Office_Inventory_Item__DialogID__\\quot\\\\comma\\char(0x27))+\\quot\\)\\quot\\))></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//<!-- Inventory Item Setup -->//crlf////tab////tab//<div ID=\\quot\\__tabrandom__InventoryItemSetup_wrapper\\quot\\>//crlf////tab////tab////tab//<div ID=\\quot\\__tabrandom__InventoryItemSetup\\quot\\ style=\\quot\\width:__tabwidth__;height:__tabheight__;\\quot\\>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Name</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Name\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<th align='left'>Count Size</th>//crlf////tab////tab////tab////tab////tab////tab//<th align='left'>Alt Count Size</th>//crlf////tab////tab////tab////tab////tab////tab//<th align='left'>Alt Count Size</th>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<span><input ID=\\quot\\count_size1_prefix__DialogID__\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Count_Size1_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input></span>//crlf////tab////tab////tab////tab////tab////tab////tab//<span><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Count_Size1_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\'count_size1_unit__DialogID__\' style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></span>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Count_Size2_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input></span>//crlf////tab////tab////tab////tab////tab////tab////tab//<span><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Count_Size2_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></span>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Count_Size3_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input></span>//crlf////tab////tab////tab////tab////tab////tab////tab//<span><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Count_Size3_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></span>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Include_in_Waste_Count\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Include in Waste log</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab//<br>//crlf////crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<th>Vendor</th>//crlf////tab////tab////tab////tab////tab////tab//<th colspan='2'>Size</th>//crlf////tab////tab////tab////tab////tab////tab//<th>Code</th>//crlf////tab////tab////tab////tab////tab////tab//<th>Price</th>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Vendor_Names_By_ID_With_Select\\quot\\\\comma\\\\quot\\Vendor1\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\'Vendor1Select\' style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Vendor1_Size_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Vendor1_Size_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Vendor1_Code\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Vendor1_Price\\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><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Vendor_Names_By_ID_With_Select\\quot\\\\comma\\\\quot\\Vendor2\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\'Vendor1Select\' style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Vendor2_Size_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Vendor2_Size_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Vendor2_Code\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Vendor2_Price\\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><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Vendor_Names_By_ID_With_Select\\quot\\\\comma\\\\quot\\Vendor3\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\'Vendor1Select\' style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Vendor3_Size_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Vendor3_Size_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Vendor3_Code\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Vendor3_Price\\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//<br>//crlf////crlf////tab////tab////tab////tab//Date <input type=\\quot\\text\\quot\\ style=\\quot\\width:75px\\quot\\ ID=\\quot\\calc_price_date__DialogID__\\quot\\ value=\\quot\\<!!include type:expression; expression:formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)>\\quot\\> //crlf////tab////tab////tab////tab//Quantity <input type=\\quot\\text\\quot\\ style=\\quot\\width:50px\\quot\\ ID=\\quot\\calc_price_qty__DialogID__\\quot\\ value=\\quot\\1\\quot\\> //crlf////tab////tab////tab////tab//Price=<span ID=\\quot\\calc_price_result__DialogID__\\quot\\>?</span> //crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Calc Price\\quot\\ onClick=\\quot\\calcPrice('__DialogID__'\\comma\\'__StoreID__')\\quot\\>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Conversions -->//crlf////tab////tab//<div ID=\\quot\\__tabrandom__Conversions_wrapper\\quot\\>//crlf////tab////tab////tab//<div ID=\\quot\\__tabrandom__Conversions\\quot\\ style=\\quot\\width:__tabwidth__;height:__tabheight__;\\quot\\>//crlf////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<table style=\\quot\\border-collapse:collapse\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<th style=\\quot\\border:solid 1px black;\\quot\\>Volume</th>//crlf////tab////tab////tab////tab////tab////tab//<th style=\\quot\\border:solid 1px black;\\quot\\>Weight</th>//crlf////tab////tab////tab////tab////tab////tab//<th style=\\quot\\border:solid 1px black;\\quot\\>Each</th>//crlf////tab////tab////tab////tab////tab////tab//<th style=\\quot\\border:solid 1px black;\\quot\\>Serving</th>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td style=\\quot\\padding:10px;border:solid 1px black;\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Conversion_Fluid_Ounce_Setup_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_Volume\\quot\\\\comma\\\\quot\\Conversion_Fluid_Ounce_Setup_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab////tab//<td style=\\quot\\padding:10px;border:solid 1px black;\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Conversion_Weight_Ounce_Setup_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_Weight\\quot\\\\comma\\\\quot\\Conversion_Weogjt_Ounce_Setup_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab////tab//<td style=\\quot\\padding:10px;border:solid 1px black;\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Conversion_Each\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab////tab//Each//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab////tab//<td style=\\quot\\padding:10px;border:solid 1px black;\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Conversion_Serving\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab////tab//Serving//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab//<br>//crlf////crlf////tab////tab////tab////tab//<div style=\\quot\\position:relative;top:0px;left:0px;\\quot\\>//crlf////tab////tab////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_CONVERSIONS\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//state: \\quot\\getFilespecState(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__'))+'CONVERSIONS.bin')\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//params: \\quot\\Inventory_Item_ID=Undefined~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=Aspect_Back_Office_Conversions\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//display: \\quot\\none\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//fields: \\quot\\Size_ID\\comma\\Amount\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//filter: \\quot\\(not(//pound//Inventory_Item_ID='undefined'))\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~394329~~pipe~~Aspect_Back_Office_Conversions~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ExternalParams: \\quot\\Inventory_Item_ID__DialogID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ExternalFilters: \\quot\\Inventory_Item_ID__DialogID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//EditDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//>//crlf////crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab////tab//<table class=\\quot\\form\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<td>Amount</td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td colspan='2'>Size</td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td>//amp//nbsp;</td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td colspan='2'>Size</td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td>Amount</td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td>//amp//nbsp;</td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<td><input type=\\quot\\text\\quot\\ ID=\\quot\\convert_from_amount__DialogID__\\quot\\ value=\\quot\\1.00\\quot\\ style=\\quot\\width:50px;text-align:right\\quot\\></td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td><input type=\\quot\\text\\quot\\ ID=\\quot\\convert_from_prefix__DialogID__\\quot\\ value=\\quot\\1.00\\quot\\ style=\\quot\\width:50px;text-align:right\\quot\\></td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\convert_from_unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\'convert_from_unit__DialogID__\'\\quot\\\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td>To</td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td><input type=\\quot\\text\\quot\\ ID=\\quot\\convert_to_prefix__DialogID__\\quot\\ value=\\quot\\1.00\\quot\\ style=\\quot\\width:50px;text-align:right\\quot\\></td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\convert_to_unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\'convert_to_unit__DialogID__\'\\quot\\\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td><div style=\\quot\\border:none;width:50px;text-align:right;padding:0px;margin:0px\\quot\\ ID=\\quot\\convert_size_result__DialogID__\\quot\\>0.00</div></td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td><input type=\\quot\\button\\quot\\ value=\\quot\\Convert\\quot\\ onClick=\\quot\\convertSize('__DialogID__'\\comma\\'__StoreID__')\\quot\\</td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab//</div>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Ingredients -->//crlf////tab////tab//<div ID=\\quot\\__tabrandom__Ingredients_wrapper\\quot\\>//crlf////tab////tab////tab//<div ID=\\quot\\__tabrandom__Ingredients\\quot\\ style=\\quot\\height:__tabheight__;width:__tabwidth__\\quot\\>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<td>Name</td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<td colspan='2'><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Name\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<td>Group</td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\htmlSelect(\\quot\\POS_Generic_Menu_Category_By_Category_ID_with_Batch\\quot\\\\comma\\\\quot\\Menu_Item_Group_ID_Override\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\))></td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<td>Gross Yield</td>//crlf////tab////tab////tab////tab////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\\Gross_Yield_Prefix\\quot\\ ID=\\quot\\Gross_Yield_Prefix__DialogID__\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Gross_Yield_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\'Gross_Yield_Unit__DialogID__\' style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<td>Serve Size</td>//crlf////tab////tab////tab////tab////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\\Serve_Size_Prefix\\quot\\ ID=\\quot\\Serve_Size_Prefix__DialogID__\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Serve_Size_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\'Serve_Size_Unit__DialogID__\' style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Include_in_Waste_Count\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Include in Waste Count</td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Include_In_Inventory_Count\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Include In Inventory Count</td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Include_In_Prep_Log\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Include In Prep Log</td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab////tab//<!-- count sizes -->//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<th align='left'>Count Size</th>//crlf////tab////tab////tab////tab////tab////tab//<th align='left'>Alt Count Size</th>//crlf////tab////tab////tab////tab////tab////tab//<th align='left'>Alt Count Size</th>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<span><input ID=\\quot\\count_size1_prefix__DialogID__\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Count_Size1_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input></span>//crlf////tab////tab////tab////tab////tab////tab////tab//<span><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Count_Size1_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\'count_size1_unit__DialogID__\' style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></span>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Count_Size2_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input></span>//crlf////tab////tab////tab////tab////tab////tab////tab//<span><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Count_Size2_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></span>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Count_Size3_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input></span>//crlf////tab////tab////tab////tab////tab////tab////tab//<span><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Count_Size3_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></span>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab////tab//<!-- include in waste log -->//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Include_in_Waste_Count\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Include in Waste log</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab////tab//<!-- Setting the position for this div is necessary so the edit dialog is displayed in the correct location -->//crlf////tab////tab////tab////tab//<div style=\\quot\\position:relative;width:auto;height:240px;overflow:auto;border:none\\quot\\>//crlf////tab////tab////tab////tab////tab//<!include type:driver;//crlf////tab////tab////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//driver: \\quot\\Aspect_Back_Office_Menu_Item_Detail\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//state: \\quot\\gfs(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__')+'menuitemdetail.bin')\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//params: \\quot\\Menu_Item_ID=Undefined~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=Aspect_Back_Office_Menu_Item_Detail\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//filter: \\quot\\(not(//pound//Menu_Item_ID='undefined'))\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~53136~~pipe~~Aspect_Back_Office_Menu_Item_Detail~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ExternalParams: \\quot\\Menu_Item_ID__DialogID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ExternalFilters: \\quot\\Menu_Item_ID__DialogID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab//</div>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Calc Legit -->//crlf////tab////tab//<div ID=\\quot\\__tabrandom__CalcLegit_wrapper\\quot\\>//crlf////tab////tab////tab//<div ID=\\quot\\__tabrandom__CalcLegit\\quot\\ style=\\quot\\height:__tabheight__;width:__tabwidth__\\quot\\>//crlf////tab////tab////tab////tab//<table class='form'>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Number Sold</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input type=\\quot\\text\\quot\\ ID=\\quot\\calc_legit_qty__DialogID__\\quot\\ style=\\quot\\width:50px\\quot\\></td>//crlf////tab////tab////tab////tab////tab////tab//<td><input type=\\quot\\button\\quot\\ value=\\quot\\Calculate\\quot\\ onClick=\\quot\\calcLegit('__DialogID__'\\comma\\'__StoreID__')\\quot\\></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<div ID=\\quot\\calc_legit_table__DialogID__\\quot\\ style=\\quot\\width:auto;height:auto;overflow:auto\\quot\\ //crlf////tab////tab////tab////tab////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp////crlf////tab////tab////tab////tab////tab//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp////crlf////tab////tab////tab////tab////tab//Widget=Inventory Drivers//amp////crlf////tab////tab////tab////tab////tab//ContainerItemID=454688\\quot\\></div>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</div>//crlf////crlf//^
ID=832831|X=183|Y=32|W=692|H=514|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=266415|AttachLeft=|AlignLeft=266415|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_Menu_Item_Dta__DialogID__\\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\\Inventory 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__Main')\\quot\\>Menu Item</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__main'>Menu Item</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Main -->//crlf////tab////tab//<div ID=\\quot\\__salt__Main\\quot\\ style=\\quot\\width:100\\percent\\;height:auto;\\quot\\>//crlf////tab////tab////tab//<table style=\\quot\\width:auto\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Menu Item POS ID</td>//crlf////tab////tab////tab////tab////tab//<td><span name=\\quot\\MenuItemID\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Menu Item Name</td>//crlf////tab////tab////tab////tab////tab//<td><span name=\\quot\\Name1\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Department ID</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Department_ID\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Department Name</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Department_Name\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Category POS ID</td>//crlf////tab////tab////tab////tab////tab//<td><span name=\\quot\\CategoryID\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Category Name</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Category_Name\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Sale Price</td>//crlf////tab////tab////tab////tab////tab//<td><span name=\\quot\\Sale_Price\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab//<br>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf//^
ID=120863|X=183|Y=32|W=673|H=773|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=266415|AttachLeft=|AlignLeft=266415|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<script ID=\\quot\\JS_EditSize\\quot\\>//crlf////tab//function initEditSizeDialog(d) {//crlf////tab////tab//var e=document.getElementById(d);//crlf////tab////tab//var DialogID=e.getAttribute(\\quot\\DialogID\\quot\\);//crlf////tab////tab//var isPredefined=document.getElementById(DialogID+\\quot\\IsPredefined\\quot\\).value;//crlf////tab////tab//var Type=document.getElementById(DialogID+\\quot\\Type\\quot\\).value;//crlf////tab////tab//if(isPredefined.equalsIgnoreCase(\\quot\\true\\quot\\)) {//crlf////tab////tab////tab//document.getElementById(DialogID+\\quot\\PredefinedSize\\quot\\).innerHTML=\\quot\\This is a predefined size that cannot be modified.\\quot\\;//crlf////tab////tab////tab//document.getElementById(DialogID+\\quot\\Name\\quot\\).setAttribute(\\quot\\disabled\\quot\\\\comma\\\\quot\\\\quot\\);//crlf////tab////tab////tab//document.getElementById(DialogID+\\quot\\Type\\quot\\).setAttribute(\\quot\\disabled\\quot\\\\comma\\\\quot\\\\quot\\);//crlf////tab////tab////tab//document.getElementById(DialogID+\\quot\\Factor\\quot\\).setAttribute(\\quot\\disabled\\quot\\\\comma\\\\quot\\\\quot\\);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//if(Type==\\quot\\4\\quot\\) {//crlf////tab////tab////tab////tab////hide factor for custom type.  It is always 1//crlf////tab////tab////tab////tab//setVisible(\\quot\\__DialogID__FactorRow\\quot\\\\comma\\false);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//document.getElementById(DialogID+\\quot\\PredefinedSize\\quot\\).innerHTML=\\quot\\\\quot\\;//crlf////tab////tab//};//crlf////tab//};//crlf//</script>//crlf////crlf//<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\Aspect_Back_Office_Size__DialogID__\\quot\\ aspectinit=\\quot\\initEditSizeDialog\\quot\\ DialogID=\\quot\\__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:auto; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory 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 style=\\quot\\width:100\\percent\\; border-bottom:solid 1px //pound//c9c9c9\\quot\\>//crlf////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__DialogID__Main')\\quot\\>Size</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__DialogID__IsPredefined\\quot\\ name=\\quot\\IsPredefined\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__DialogID__Type\\quot\\ name=\\quot\\Type\\quot\\>//crlf////crlf////tab////tab//<!-- Main -->//crlf////tab////tab//<div ID=\\quot\\__DialogID__Main\\quot\\ style=\\quot\\height:auto;padding:10px 20px 20px 10px\\quot\\>//crlf////tab////tab////tab//<span ID=\\quot\\__DialogID__PredefinedSize\\quot\\></span>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Name</td>//crlf////tab////tab////tab////tab////tab//<td><input ID=\\quot\\__DialogID__Name\\quot\\ ONCHANGE=\\quot\\submitDialogCell(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////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Type</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<span name=\\quot\\Type_Name\\quot\\></span>//crlf////tab////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab////tab////tab//< !!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Size_Type\\quot\\\\comma\\\\quot\\Type\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\\quot\\+quote(\\quot\\__DialogID__Type\\quot\\)+\\quot\\ style=\\quot\\+quote(\\quot\\width:100px\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\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 ID=\\quot\\__DialogID__FactorRow\\quot\\ <!!!include type:expression; expression:htmlTooltip(\\quot\\__tooltip_factor__\\quot\\)>>//crlf////tab////tab////tab////tab////tab//<td>Factor</td>//crlf////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlConstant(\\quot\\tooltip_factor\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\The factor is used to convert from one //crlf////tab////tab////tab////tab////tab////tab//size to another.  //crlf////tab////tab////tab////tab////tab////tab//<br><br>//crlf////tab////tab////tab////tab////tab////tab//The factor entered depends on the type.  //crlf////tab////tab////tab////tab////tab////tab//<br><br>//crlf////tab////tab////tab////tab////tab////tab//For sizes representing volume\\comma\\ enter the number of fluid ounces contained in //crlf////tab////tab////tab////tab////tab////tab//one unit of the size.  //crlf////tab////tab////tab////tab////tab////tab//<br><br>//crlf////tab////tab////tab////tab////tab////tab//For sizes representing weight\\comma\\ enter the number of weighted ounces contained //crlf////tab////tab////tab////tab////tab////tab//in one unit of the size.  //crlf////tab////tab////tab////tab////tab////tab//<br><br>//crlf////tab////tab////tab////tab////tab////tab//For sizes representing \\quot\\each\\quot\\\\comma\\ enter the number of \\quot\\each\\quot\\ in one //crlf////tab////tab////tab////tab////tab////tab//unit of the size.  //crlf////tab////tab////tab////tab////tab////tab//<br><br>//crlf////tab////tab////tab////tab////tab////tab//A factor is not required for other size types.\\quot\\)>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<span>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ID=\\quot\\__DialogID__Factor\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\text-align:right;width:100px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Factor\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab//</span>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab//<span ID=\\quot\\__DialogID__FactorExplanation\\quot\\></span>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf////crlf//^
ID=370502|X=183|Y=32|W=673|H=773|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=266415|AttachLeft=|AlignLeft=266415|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\\ASPECT_BACK_OFFICE_COUNT_GROUP__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:350px; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory 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\\250px\\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__Main')\\quot\\>Count Group</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab//<select onChange=\\quot\\showTab(this)\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab//<option value='__salt__main'>Count Group</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\\ STYLE=\\quot\\width:__TextFieldWidth__\\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////tab//<br><br>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf////crlf//^
ID=85430|X=183|Y=32|W=673|H=773|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=266415|AttachLeft=|AlignLeft=266415|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=//tab//<script ID=\\quot\\JS85430A\\quot\\>//crlf////tab////tab///* Called when the dialog is opened *///crlf////tab////tab//function editVendorDialogInit(DialogID) {//crlf////tab////tab////tab//var d=document.getElementById(DialogID);//crlf////tab////tab////tab//var salt=d.getAttribute(\\quot\\salt\\quot\\);//crlf////tab////tab////tab//var eEDIVendorSelection=document.getElementById(salt\\plus\\\\quot\\EDIVendor\\quot\\);//crlf////tab////tab////tab//showEDIInputs(eEDIVendorSelection\\comma\\salt);//crlf////tab////tab//};//crlf////crlf////tab////tab///* Called when the EDI vendor selection is changed to show the appropriate inputs *///crlf////tab////tab//function EDISelectionChanged(e\\comma\\salt) {//crlf////tab////tab////tab////submit the data//crlf////tab////tab////tab//submitDialogCell(e);//crlf////crlf////tab////tab////tab////show the appropriate inputs for the selected EDI vendor//crlf////tab////tab////tab//showEDIInputs(e\\comma\\salt);//crlf////tab////tab//};//crlf////tab////crlf////tab////tab//function showEDIInputs(e\\comma\\salt) {//crlf////tab////tab////tab////hide all inputs//crlf////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDICustomerNo\\quot\\\\comma\\false);//crlf////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPHost\\quot\\\\comma\\false);//crlf////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPUser\\quot\\\\comma\\false);//crlf////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPPass\\quot\\\\comma\\false);//crlf////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPDelete\\quot\\\\comma\\false);//crlf////tab////tab////tab////crlf////tab////tab////tab////show the inputs for the selected vendor//crlf////tab////tab////tab//if(e.value.equalsIgnoreCase(\\quot\\McLane\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDICustomerNo\\quot\\\\comma\\true);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else if(e.value.equalsIgnoreCase(\\quot\\PFG\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDICustomerNo\\quot\\\\comma\\true);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else if(e.value.equalsIgnoreCase(\\quot\\Sysco\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPHost\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPUser\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPPass\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPDelete\\quot\\\\comma\\true);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else if(e.value.equalsIgnoreCase(\\quot\\Gordon\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPHost\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPUser\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPPass\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDICustomerNo\\quot\\\\comma\\true);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else if(e.value.equalsIgnoreCase(\\quot\\HFM\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPHost\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPUser\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPPass\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPDelete\\quot\\\\comma\\true);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else if(e.value.equalsIgnoreCase(\\quot\\Reinhart\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDICustomerNo\\quot\\\\comma\\true);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else if(e.value.equalsIgnoreCase(\\quot\\Labatt\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPHost\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPUser\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPPass\\quot\\\\comma\\true);//crlf////crlf////tab////tab////tab////tab////set the ftp host information//crlf////tab////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\FtpHost\\quot\\);//crlf////tab////tab////tab////tab//if(e.value.trim().length==0) {//crlf////tab////tab////tab////tab////tab//e.value=\\quot\\lfsftp.labattfood.com\\quot\\;//crlf////tab////tab////tab////tab////tab//submitDialogCell(e);//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else if(e.value.equalsIgnoreCase(\\quot\\Curtze\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDICustomerNo\\quot\\\\comma\\true);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else if(e.value.equalsIgnoreCase(\\quot\\Hardies\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDICustomerNo\\quot\\\\comma\\true);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else if(e.value.equalsIgnoreCase(\\quot\\Fintech\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPHost\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPUser\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPPass\\quot\\\\comma\\true);//crlf////crlf////tab////tab////tab////tab////set the ftp host information//crlf////tab////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\FtpHost\\quot\\);//crlf////tab////tab////tab////tab//if(e.value.trim().length==0) {//crlf////tab////tab////tab////tab////tab//e.value=\\quot\\ftp.fintech.net\\quot\\;//crlf////tab////tab////tab////tab////tab//submitDialogCell(e);//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else if(e.value.equalsIgnoreCase(\\quot\\Katsiroubas\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPHost\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPUser\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPPass\\quot\\\\comma\\true);//crlf////crlf////tab////tab////tab////tab////set the ftp host information//crlf////tab////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\FtpHost\\quot\\);//crlf////tab////tab////tab////tab//if(e.value.trim().length==0) {//crlf////tab////tab////tab////tab////tab//e.value=\\quot\\Kbftp.katsiroubasproduce.com\\quot\\;//crlf////tab////tab////tab////tab////tab//submitDialogCell(e);//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else if(e.value.equalsIgnoreCase(\\quot\\Yhata\\quot\\)) {//crlf////tab////tab////tab////tab////no inputs are required since this is downloaded from Earthlink.  However\\comma\\ if //crlf////tab////tab////tab////tab////a second store is added (other than Tikis) then a directory will have to be //crlf////tab////tab////tab////tab////specified.//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDICustomerNo\\quot\\\\comma\\true);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else if(e.value.equalsIgnoreCase(\\quot\\Sygma\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPHost\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPUser\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPPass\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDICustomerNo\\quot\\\\comma\\true);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else if(e.value.equalsIgnoreCase(\\quot\\VanEerden\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPHost\\quot\\\\comma\\false);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPUser\\quot\\\\comma\\false);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPPass\\quot\\\\comma\\false);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDICustomerNo\\quot\\\\comma\\true);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else if(e.value.equalsIgnoreCase(\\quot\\Harbor\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDICustomerNo\\quot\\\\comma\\true);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else if(e.value.equalsIgnoreCase(\\quot\\Kuna\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDICustomerNo\\quot\\\\comma\\true);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else if(e.value.equalsIgnoreCase(\\quot\\BenEKeith\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDICustomerNo\\quot\\\\comma\\true);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else if(e.value.equalsIgnoreCase(\\quot\\ULFood\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDICustomerNo\\quot\\\\comma\\true);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else if(e.value.equalsIgnoreCase(\\quot\\Cheney\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDICustomerNo\\quot\\\\comma\\true);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else if(e.value.equalsIgnoreCase(\\quot\\CashWa\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPHost\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPUser\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\EDIFTPPass\\quot\\\\comma\\true);//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf//<!-- Dialog used to edit a record -->//crlf//<!conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div ID=\\quot\\Aspect_Back_Office_Vendor__DialogID__\\quot\\ salt=\\quot\\__DialogID__\\quot\\ aspectinit=\\quot\\editVendorDialogInit\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:500px; border:none; display:block;\\quot\\>//crlf//</conditional>//crlf//<!conditional expression:not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div ID=\\quot\\Aspect_Back_Office_Vendor__DialogID__\\quot\\ salt=\\quot\\__DialogID__\\quot\\ aspectinit=\\quot\\editVendorDialogInit\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:500px; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>;\\quot\\>//crlf//</conditional>//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//<!conditional expression:not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this)\\quot\\></div>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<!-- The TableEditDialogTabsContainerExclusive and TableEditDialogSelectContainerExclusive//crlf////tab////tab////tab//classes are used to make either the tabs or the select box visible\\comma\\ depending on the//crlf////tab////tab////tab//size of the browser.  If only one or two tabs are to be included\\comma\\ the //crlf////tab////tab////tab//TableEditDialogTabsContainer class can be used for the tabs and the select box can//crlf////tab////tab////tab//be ommitted.//crlf////tab////tab//-->//crlf////tab////tab//<div class=\\quot\\TableEditDialogTabsContainerExclusive\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\tabdialog\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\__salt__main\\apos\\)\\quot\\>Vendor</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\__salt__EDI\\apos\\)\\quot\\>EDI</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\__salt__export_to_ap\\apos\\)\\quot\\>A/P Export</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\__salt__notes\\apos\\)\\quot\\>Notes</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab//<select onChange=\\quot\\showTab(this)\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab//<option value=\\apos\\__salt__main\\apos\\>Vendor</option>//crlf////tab////tab////tab////tab//<option value=\\apos\\__salt__EDI\\apos\\>EDI</option>//crlf////tab////tab////tab////tab//<option value=\\apos\\__salt__export_to_ap\\apos\\>A/P Export</option>//crlf////tab////tab////tab////tab//<option value=\\apos\\__salt__notes\\apos\\>Notes</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Main -->//crlf////tab////tab//<div ID=\\quot\\__salt__main\\quot\\ style=\\quot\\width:100\\percent\\;height:auto;\\quot\\>//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//<table style=\\quot\\width:100\\percent\\;max-width:350px\\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\\ 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////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Phone</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ style=\\quot\\width:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Phone\\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>Email</td>//crlf////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//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Contact Name</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ style=\\quot\\width:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Contact_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>Website</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ style=\\quot\\width:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Website\\quot\\ TYPE=\\quot\\text\\quot\\ autocomplete=\\quot\\off\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Net Due</td>//crlf////tab////tab////tab////tab////tab//<constant name:__tooltip__netdue; value:\\quot\\Default number of days between the invoice date and due date\\quot\\;>//crlf////tab////tab////tab////tab////tab//<td {@htmlTooltip(\\quot\\__tooltip__netdue\\quot\\)}><input ID=\\quot\\PPSt\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ CLASS=\\quot\\DefaultNumberInput\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Net_Due_Days\\quot\\ TYPE=\\quot\\number\\quot\\ step=\\quot\\1\\quot\\></input> days</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- EDI -->//crlf////tab////tab//<div ID=\\quot\\__salt__EDI\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab////tab//<table style=\\quot\\width:auto\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Vendor</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<!include type:Collection;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//ID:\\quot\\__DialogID__EDIVendor\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//Name:\\quot\\EDI_Vendor\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Vendor_EDI_Name_Selections\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//SubmitDialogCell:\\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\style=\\apos\\width:250px\\apos\\ onChange=EDISelectionChanged(this\\comma\\\\apos\\__DialogID__\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\coll=EDIVendorNames\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab////tab//</td>//tab////crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr ID=\\quot\\__DialogID__EDICustomerNo\\quot\\ style=\\quot\\display:none\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<td>Customer No</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:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\EDI_Customer_Number\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr ID=\\quot\\__DialogID__EDIFTPHost\\quot\\ style=\\quot\\display:none\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<td>Ftp Site</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ID=\\quot\\__DialogID__FtpHost\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\EDI_Ftp_Site\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr ID=\\quot\\__DialogID__EDIFTPUser\\quot\\ style=\\quot\\display:none\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<td>User Name</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\EDI_UserName\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr ID=\\quot\\__DialogID__EDIFTPPass\\quot\\ style=\\quot\\display:none\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<td>Password</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\EDI_Password\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr ID=\\quot\\__DialogID__EDIFTPDelete\\quot\\ style=\\quot\\display:none\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\EDI_Delete_After_Download\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Delete invoices after download</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</form>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Export To A/P -->//crlf////tab////tab//<div ID=\\quot\\__salt__export_to_ap\\quot\\ style=\\quot\\width:100\\percent\\;height:auto;\\quot\\>//crlf////tab////tab////tab//<table style=\\quot\\width:auto\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Export_to_AP\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Export to AP</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<constant name:\\quot\\__tooltip_vendor_code__\\quot\\; value:\\quot\\This is the code or ID used to identify the vendor in your accounting package.\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Vendor Code</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:__TextFieldWidth__;max-width:__TextFieldWidth__\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Code\\quot\\ TYPE=\\quot\\text\\quot\\ {@htmlTooltip(\\quot\\__tooltip_vendor_code__\\quot\\)}></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<constant name:\\quot\\__tooltip_account_number__\\quot\\; value:\\quot\\This is the vendor\\apos\\s account number for your account.  It is exported to some accounting packages to include a memo for the invoice.\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Account Number</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\\Customer Account\\quot\\ TYPE=\\quot\\text\\quot\\ {@htmlTooltip(\\quot\\__tooltip_account_number__\\quot\\)}></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Notes -->//crlf////tab////tab//<div ID=\\quot\\__salt__notes\\quot\\ style=\\quot\\width:100\\percent\\;height:auto;\\quot\\>//crlf////tab////tab////tab//<textarea ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:100\\percent\\;height:250px;\\quot\\ NAME=\\quot\\Notes\\quot\\></textarea>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf////crlf////crlf//^
ID=538288|X=183|Y=32|W=673|H=773|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=266415|AttachLeft=|AlignLeft=266415|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(8)))>//crlf////crlf//<script ID=\\quot\\JSAspect7StoreGroup\\quot\\>//crlf////tab//function Aspect7InventoryGroupDialogInit(DialogID) {//crlf////tab////tab//var eDialog=document.getElementById(DialogID);//crlf////tab////tab//var Salt=eDialog.getAttribute(\\quot\\Salt\\quot\\);//crlf////tab////tab//var eSelect=document.getElementById(\\quot\\SubOf\\quot\\+Salt);//crlf////tab////tab//eSelect.disabled=true;//crlf////tab////tab//var GroupID=document.getElementById(\\quot\\GroupID\\quot\\+Salt).value;//crlf////tab////tab//var StoreID=document.getElementById(\\quot\\StoreID\\quot\\+Salt).value;//crlf////tab////tab//eSelect.setAttribute(\\quot\\Filter\\quot\\\\comma\\\\quot\\not(IsSubOfParent)\\quot\\);//crlf////tab////tab//eSelect.setAttribute(\\quot\\params\\quot\\\\comma\\\\quot\\StoreID=\\quot\\+StoreID+\\quot\\//amp//ParentID=\\quot\\+GroupID);//crlf////tab////tab//updateOptions(\\quot\\SubOf\\quot\\+Salt\\comma\\eSelect.value\\comma\\true);//crlf////tab//};//crlf//</script>//crlf////crlf//<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\Aspect_Back_Office_Inventory_Item_Group__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ salt=\\quot\\__salt__\\quot\\ aspectinit=\\quot\\Aspect7InventoryGroupDialogInit\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:375px; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory 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//<!-- Create a random ID used in the tab ID's below.  This is necessary when the table is included several times in one container.  //crlf////tab////tab////tab//If the tabs and associated divs do not have unique ID's\\comma\\ they will not be shown/hidden properly. -->//crlf////tab////tab//<!!include type:expression; expression:htmlConstant(\\quot\\tabrandom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////tab////tab////crlf////tab////tab//<!conditional expression:false>//crlf////tab////tab//========================================================================//crlf////tab////tab//The ID is used to update the filter in the sub-of select box when the//crlf////tab////tab//dialog is opened.  Groups may not be a sub of themselves either directly//crlf////tab////tab//or indirectly.//crlf////tab////tab//========================================================================//crlf////tab////tab//</conditional>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\GroupID__Salt__\\quot\\ name=\\quot\\ID\\quot\\></input>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\StoreID__Salt__\\quot\\ value=\\quot\\__StoreID__\\quot\\>//crlf////tab////tab////crlf////tab////tab//<div style=\\quot\\width:100\\percent\\; border-bottom:solid 1px //pound//c9c9c9\\quot\\>//crlf////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'__tabrandom__Main')\\quot\\>Inventory Group</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Main -->//crlf////tab////tab//<div ID=\\quot\\__tabrandom__Main\\quot\\ 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>Group Name</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class='long' 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>Parent//amp//nbsp;Group</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Inventory_Item_Group_Names_By_ID_With_None\\quot\\\\comma\\\\quot\\Sub_Of_ID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\\quot\\+quote(\\quot\\SubOf__Salt__\\quot\\)+\\quot\\ class='long' 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//<constant name:\\quot\\__tooltip_saleslink__\\quot\\; value:\\quot\\//crlf////tab////tab////tab////tab////tab////tab//The sales link determines the sales figure that will be used when calculating //crlf////tab////tab////tab////tab////tab////tab//the cost percent for the group in the cost of sales report.//crlf////tab////tab////tab////tab////tab//\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Sales Link</td>//crlf////tab////tab////tab////tab////tab//<td {@htmlTooltip(\\quot\\__tooltip_saleslink__\\quot\\)}><!!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\\class='long' 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//<constant name:\\quot\\__tooltip_glaccount__\\quot\\; value:\\quot\\//crlf////tab////tab////tab////tab////tab////tab//This code is used when exporting invoices to an accounting package.  This code //crlf////tab////tab////tab////tab////tab////tab//comes from your accounting package.\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>G/L Account</td>//crlf////tab////tab////tab////tab////tab//<td {@htmlTooltip(\\quot\\__tooltip_glaccount__\\quot\\)}>//crlf////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\POS_Generic_External_Chart_Of_Account_Name_by_Key\\quot\\\\comma\\\\quot\\GL_Account_Code\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:250px;\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class='long' VALUE=\\quot\\\\quot\\ NAME=\\quot\\GL_Account_Code\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//<constant name:\\quot\\__tooltip_Include_In_Enterprise_Reporting\\quot\\; value:\\quot\\//crlf////tab////tab////tab////tab//If enabled\\comma\\ all inventory items in this group will be included in enterprise reporting.  Totals //crlf////tab////tab////tab////tab//for this group will be included regardless of this setting.//crlf////tab////tab////tab//\\quot\\>//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//<span {@htmlTooltip(\\quot\\__tooltip_Include_In_Enterprise_Reporting\\quot\\)}>//crlf////tab////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Include_In_Enterprise_Reporting\\quot\\ TYPE=\\quot\\checkbox\\quot\\></span>//crlf////tab////tab////tab////tab//Include All Inventory Items In Enterprise Reporting//crlf////tab////tab////tab//</span>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf//^
ID=185543|X=183|Y=32|W=673|H=773|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=266415|AttachLeft=|AlignLeft=266415|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\Aspect_Back_Office_Menu_Item_Group__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:350px; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory 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__Recipe_Group')\\quot\\>Menu 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'>Menu Category</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Recipe Group -->//crlf////tab////tab//<div ID=\\quot\\__salt__Recipe_Group\\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>Name</td>//crlf////tab////tab////tab////tab////tab//<td><input class=\\quot\\long\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\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>POS Department</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\POS_Generic_Department_Names_By_Id\\quot\\\\comma\\\\quot\\Department\\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\\)\\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>Override Department</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\POS_Generic_Department_Names_By_Id\\quot\\\\comma\\\\quot\\Override_Department\\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\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>POS ID</td>//crlf////tab////tab////tab////tab////tab//<td><input class=\\quot\\short\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Number\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf//--------------------------------------------------------------------------]//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//<constant name:\\quot\\__tooltip_Include_In_Enterprise_Reporting\\quot\\; value:\\quot\\//crlf////tab////tab////tab////tab//If enabled\\comma\\ all menu items in this group will be included in enterprise reporting.  Totals //crlf////tab////tab////tab////tab//for this group will be included regardless of this setting.//crlf////tab////tab////tab//\\quot\\>//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//<span {@htmlTooltip(\\quot\\__tooltip_Include_In_Enterprise_Reporting\\quot\\)}>//crlf////tab////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Include_In_Enterprise_Reporting\\quot\\ TYPE=\\quot\\checkbox\\quot\\></span>//crlf////tab////tab////tab////tab//Include All Menu Items In Enterprise Reporting//crlf////tab////tab////tab//</span>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf////crlf//^
ID=177416|X=183|Y=32|W=569|H=536|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=266415|AttachLeft=|AlignLeft=266415|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//04-14-2016//crlf////crlf//To allow using DialogOnly=true to display this dialog in an inspect window\\comma\\ the//crlf//following steps have been taken://crlf////crlf//1.  The value of ItemID has been set in the hidden input with the ID of Menu_Item_ID__DialogID__//crlf//2.  A javascript statement has been included using a script element to refresh the table//crlf////tab////tab//when after it is loaded.  Otherwise\\comma\\ items in the table do not appear until the table//crlf////tab////tab//is manually refreshed.//crlf////crlf//See if these steps can be avoided through improvements in the standard javascript functions.//crlf//--------------------------------------------------------------------------]//crlf////crlf//<!include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//03-09-2017: Added salt to the javascript ID to resolve a problem discovered at Ted's BBQ.//crlf//It seemed that the tableDataSubmitted__salt__ function was not defined when the invoice//crlf//table was refreshed.  The symptom was that refreshing the table of invoices caused the //crlf//update of the logged amount in the invoice detail dialog to stop being updated because//crlf//the tableDataSubmitted__salt__ function was not found.//crlf//--------------------------------------------------------------------------]//crlf//<script ID=\\quot\\JSEditInvoice__salt__\\quot\\>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when a dialog is opened to edit an invoice//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function invoiceDialogOpened(DialogID\\comma\\bInitialized) {//crlf////tab////tab//appendToLog(\\quot\\invoiceDialogOpened Modified 02-28-2017\\quot\\);//crlf////tab////tab//var d=document.getElementById(DialogID);//crlf////tab////tab//var salt=d.getAttribute(\\quot\\salt\\quot\\);//crlf////tab////tab//var DialogIDSalt=d.getAttribute(\\quot\\DialogIDSalt\\quot\\);//crlf////crlf////tab////tab//if(bInitialized) {//crlf////tab////tab////tab//setInvoiceTDWidths(DialogIDSalt);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////hide invoice details until a vendor is selected//crlf////tab////tab//vendorSelected(salt\\comma\\true);//crlf////crlf////tab////tab//if(!document.getElementById(salt+\\quot\\InvoiceID\\quot\\)) {//crlf////tab////tab////tab//alert(\\quot\\cannot find \\quot\\+salt+\\quot\\InvoiceID\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//if(!document.getElementById(salt+\\quot\\StoreID\\quot\\)) {//crlf////tab////tab////tab//alert(\\quot\\cannot find StoreID\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////clear the field showing the amount logged.  It will be updated when the table is loaded.//crlf////tab////tab//var e=document.getElementById(salt+\\quot\\TotalExtendedPrice\\quot\\);//crlf////tab////tab//e.value=\\quot\\\\quot\\;//crlf////tab////tab//setPendingSubmissionStyle(e\\comma\\false\\comma\\true);//crlf////crlf////tab////tab//var InvoiceID=document.getElementById(salt+\\quot\\InvoiceID\\quot\\).value;//crlf////tab////tab//var StoreID=document.getElementById(salt+\\quot\\StoreID\\quot\\).value;//crlf////crlf////tab////tab////Update the Edit_Count and Date_Last_Edited values for the invoice record.  These//crlf////tab////tab////are used to determine if an imported invoice has been edited.  These are used to //crlf////tab////tab////let users know when an invoice has been imported but not edited or reviewed.//crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=L4HxWEciR8sT7E30IKVZXD70//amp//Widget=Import Vendor Invoice\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=action_list//amp//action=setInvoiceEditedFlag//amp//ActionExec=true\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID+\\quot\\//amp//InvoiceID=\\quot\\+InvoiceID;//crlf////tab////tab//sUrl +=\\quot\\//amp//Source={AspectHashID}\\quot\\;//crlf////tab////tab//asynchInclude(null\\comma\\sUrl);//crlf////crlf////tab////tab//return(true);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Sets the width of the first td cell in each row to the maximum width of any //crlf////tab//of the first td cells in a row.  This is used to standardize the width of the //crlf////tab//first td cell in each row when the table is displayed inline//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function setInvoiceTDWidths(DialogID) {//crlf////tab////tab//var arTable=new Array();//crlf////tab////tab//arTable[0]=document.getElementById(DialogID+\\quot\\InvoiceDialogTable1\\quot\\);//crlf////tab////tab//arTable[1]=document.getElementById(DialogID+\\quot\\InvoiceDialogTable2\\quot\\);//crlf////tab////tab//arTable[2]=document.getElementById(DialogID+\\quot\\InvoiceDialogTable3\\quot\\);//crlf////crlf////tab////tab//if(arTable[0].getAttribute(\\quot\\TDWidthInitialized\\quot\\)) return;//crlf////tab////tab//arTable[0].setAttribute(\\quot\\TDWidthInitialized\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////crlf////tab////tab//var iMaxWidth=0;//crlf////tab////tab//for(i=0;i<arTable.length;i++) {//crlf////tab////tab////tab//for(var j=0;j<arTable[i].rows.length;j++) {//crlf////tab////tab////tab////tab//iMaxWidth=Math.max(iMaxWidth\\comma\\arTable[i].rows[j].cells[0].offsetWidth);//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab////add some more padding//crlf////tab////tab////iMaxWidth+=10;//crlf////crlf////tab////tab//for(i=0;i<arTable.length;i++) {//crlf////tab////tab////tab//for(var j=0;j<arTable[i].rows.length;j++) {//crlf////tab////tab////tab////tab//arTable[i].rows[j].cells[0].style.width=iMaxWidth+\\quot\\px\\quot\\;//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//This function is called by refreshTable() when the invoice detail table is refreshed.//crlf////tab//This function updates the datalist used to select an item in the edit invoice detail//crlf////tab//dialog so the list includes item codes for the currently selected vendor.  //crlf////tab//The vendorSelected() function refreshes the table whenever a vendor is selected.//crlf////tab//This function gets called by refreshTable() after the table is refreshed.//crlf////crlf////tab//The collections refreshed by this function are both located in the edit invoice detail //crlf////tab//dialog.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function tableRefreshed__salt__(TableID) {//crlf////tab////tab//appendToLog(\\quot\\tableRefreshed: \\quot\\+TableID);//crlf////tab////tab////set the vendor ID in the datalist used for the item select box in the invoice detail//crlf////tab////tab////dialog and refresh the collection//crlf////tab////tab//var sVendorID=document.getElementById(TableID+\\quot\\VendorID\\quot\\).value;//crlf////tab////tab//var e=document.getElementById(TableID+\\quot\\InvoiceDetailSelectItem\\quot\\);//crlf////tab////tab//if(e) {//crlf////tab////tab////tab//var sParams=e.getAttribute(\\quot\\params\\quot\\);//crlf////tab////tab////tab//var s=getElementValue(sParams\\comma\\\\quot\\VendorID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab//if(!s.equalsIgnoreCase(sVendorID)) {//crlf////tab////tab////tab////tab//var sStoreID=getElementValue(sParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\+sStoreID+\\quot\\~~pipe~~VendorID=\\quot\\+sVendorID;//crlf////tab////tab////tab////tab//e.setAttribute(\\quot\\params\\quot\\\\comma\\sParams);//crlf////tab////tab////tab////tab//updateOptions(e.id);//crlf////tab////tab////tab//};//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//alert(\\quot\\Cannot locate \\quot\\+TableID+\\quot\\InvoiceDetailSelectItem\\quot\\);//crlf////tab////tab//};//crlf////crlf////tab////tab//var e=document.getElementById(TableID+\\quot\\InvoiceDetailSelectItemAlt\\quot\\);//crlf////tab////tab//if(e) {//crlf////tab////tab////tab//var sParams=e.getAttribute(\\quot\\params\\quot\\);//crlf////tab////tab////tab//var s=getElementValue(sParams\\comma\\\\quot\\VendorID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab//if(!s.equalsIgnoreCase(sVendorID)) {//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Updating list of items supplied by selected vendor.  VendorID=\\quot\\+s);//crlf////tab////tab////tab////tab//var sStoreID=getElementValue(sParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\+sStoreID+\\quot\\~~pipe~~VendorID=\\quot\\+sVendorID;//crlf////tab////tab////tab////tab//e.setAttribute(\\quot\\params\\quot\\\\comma\\sParams);//crlf////tab////tab////tab////tab////e.setAttribute(\\quot\\filter\\quot\\\\comma\\\\quot\\(Record_Type=1) and (VendorID='\\quot\\+sVendorID+\\quot\\')\\quot\\);//crlf////tab////tab////tab////tab//updateOptions(e.id);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab//appendToLog(\\quot\\List of items supplied by selected vendor is already up to date.  VendorID=\\quot\\+s);//crlf////tab////tab////tab//};//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//alert(\\quot\\Cannot locate \\quot\\+TableID+\\quot\\InvoiceDetailSelectItem\\quot\\);//crlf////tab////tab//};//crlf////crlf////tab////tab////show the total amount entered on the invoice//crlf////tab////tab//getTotalAmountEntered(TableID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//This listener function is called by the refreshTableOnInterval() function //crlf////tab//when a table has been refreshed by merging and new or modified records into //crlf////tab//the table//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function tableRefreshedOnInterval__salt__(TableID) {//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when data is submitted for the invoice detail table//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function tableDataSubmitted__salt__(TableID) {//crlf////tab////tab//var e=document.getElementById(TableID+\\quot\\TotalExtendedPrice\\quot\\);//crlf////tab////tab//setPendingSubmissionStyle(e\\comma\\false\\comma\\true);//crlf////crlf////tab////tab////update the total logged field in the invoice header.  A timeout is used so//crlf////tab////tab////processing of the data submission will not be interrupted if an error occurs//crlf////tab////tab//setTimeout(\\quot\\getTotalAmountEnteredFromTable('\\quot\\+TableID+\\quot\\')\\quot\\\\comma\\100);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when data has been submitted to the table and all submissions are complete.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function tableDataSubmissionComplete__salt__(TableID) {//crlf////tab////tab////alert(\\quot\\tableDataSubmissionComplete__salt__\\quot\\);//crlf////crlf////tab////tab////Set the submission style to indicate that the total needs to be updated.//crlf////tab////tab////However\\comma\\ only update the field when there are no outstanding submissions for the table.//crlf////tab////tab////This function is called whenever a data submission has been completed\\comma\\ not just when//crlf////tab////tab////all submissions are complete.  Calling the getTotalAmountEntered() function creates//crlf////tab////tab////a burden when editing invoices on a remote computer.//crlf////tab////tab//var e=document.getElementById(TableID+\\quot\\TotalExtendedPrice\\quot\\);//crlf////tab////tab//setPendingSubmissionStyle(e\\comma\\false\\comma\\true);//crlf////tab////tab//if(countPendingSubmissions(TableID)==0)//tab//getTotalAmountEntered(TableID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Calculates the total extended price for all items entered on the invoice.//crlf////tab//This function is called by the tableDataSubmitted listener.//crlf////tab//This function updates the logged amount more quickly than making a call to the//crlf////tab//source computer.  It will abort if the extended_price (amount) field is not //crlf////tab//included in the table.  The call is still made to getTotalAmountEntered() //crlf////tab//when all submissions are complete so the amount will be updated even if this//crlf////tab//function fails.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function getTotalAmountEnteredFromTable(TableID) {//crlf////tab////tab//appendToLog(\\quot\\getTotalAmountEnteredFromTable: \\quot\\+TableID);//crlf////tab////tab//var table=document.getElementById(TableID);//crlf////tab////tab//if(!table) return;//crlf////crlf////tab////tab//var arFieldID=getSubStringArray(table.getAttribute(\\quot\\aspectFields\\quot\\)\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\true);//crlf////crlf////tab////tab////get first row in table not including template//crlf////tab////tab//var row=null;//crlf////tab////tab//for (var i=0;(!row) //amp////amp// (i<table.rows.length);i++) {//crlf////tab////tab////tab//if(table.rows[i].getAttribute(\\quot\\keyvalue\\quot\\)) {//crlf////tab////tab////tab////tab//row=table.rows[i];//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab////tab////crlf////tab////tab////abort if row not found//crlf////tab////tab//if(!row) {//crlf////tab////tab////tab//appendToLog(\\quot\\Could not locate first row in table\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////determine the cell containing the amount//crlf////tab////tab//var iCellIndex=-1;//crlf////tab////tab//for (var i=0;i<row.cells.length;i++) {//crlf////tab////tab////tab//var sCellIndex=row.cells[i].getAttribute(\\quot\\CellIndex\\quot\\);//crlf////tab////tab////tab//if(sCellIndex) {//crlf////tab////tab////tab////tab//var iCellIndex=parseInt(sCellIndex);//crlf////tab////tab////tab////tab//var sFieldID=arFieldID[iCellIndex];//crlf////tab////tab////tab////tab//if(sFieldID) {//crlf////tab////tab////tab////tab////tab//if(sFieldID.equalsIgnoreCase(\\quot\\Extended_Price\\quot\\)) {//crlf////tab////tab////tab////tab////tab////tab//iCellIndex=i;//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab//if(iCellIndex<0) {//crlf////tab////tab////tab//appendToLog(\\quot\\Could not determine cell containing amount\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////adjust the index to allow for the edit icon and inspect menu//crlf////tab////tab//iCellIndex+=2;//crlf////tab////tab//appendToLog(\\quot\\getTotalAmountEnteredFromTable iCellIndex=\\quot\\+iCellIndex)//crlf////crlf////tab////tab//var dAmount=0;//crlf////tab////tab//for(var i=0;i<table.rows.length;i++) {//crlf////tab////tab////tab//if(table.rows[i].getAttribute(\\quot\\keyvalue\\quot\\)) {//crlf////tab////tab////tab////tab//var eNode=table.rows[i].cells[iCellIndex].childNodes[0];//crlf////tab////tab////tab////tab//var s=replaceAllSubstrings(eNode.innerHTML\\comma\\\\quot\\//amp//nbsp;\\quot\\\\comma\\\\quot\\\\quot\\).trim();//crlf////tab////tab////tab////tab////appendToLog(\\quot\\eNode.type=\\quot\\+eNode.type+\\quot\\ innerHTML=\\quot\\+eNode.innerHTML+\\quot\\ s=\\quot\\+s);//crlf////tab////tab////tab////tab//if(s.length>0) {//crlf////tab////tab////tab////tab////tab//dAmount+=parseFloat(s);//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Adding extended price: [\\quot\\+s+\\quot\\] dAmount=\\quot\\+dAmount);//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab////appendToLog(\\quot\\dAmount=\\quot\\+dAmount);//crlf////tab////tab//var e=document.getElementById(TableID+\\quot\\TotalExtendedPrice\\quot\\);//crlf////tab////tab//e.value=formatNumber(dAmount\\comma\\\\quot\\//pound////pound////pound//\\comma\\//pound////pound////pound//.00\\quot\\);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Calculates the total extended price for all items entered on the invoice.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function getTotalAmountEntered(TableID\\comma\\LastInvoiceID\\comma\\s) {//crlf////tab////tab////appendToLog(\\quot\\getTotalAmountEntered s=\\quot\\+s);//crlf////tab////tab//var e=document.getElementById(TableID+\\quot\\TotalExtendedPrice\\quot\\);//crlf////crlf////tab////tab//var table=document.getElementById(TableID);//crlf////tab////tab//var sParamsActive=table.getAttribute(\\quot\\paramsactive\\quot\\);//crlf////tab////tab//var sStoreID=getElementValue(sParamsActive\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sInvoiceID=getElementValue(sParamsActive\\comma\\\\quot\\InvoiceID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sDate=getElementValue(sParamsActive\\comma\\\\quot\\Date\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sSource=table.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab//if(s) {//crlf////tab////tab////tab////don't update the amount if the dialog has been opened for a different invoice//crlf////tab////tab////tab//if(sInvoiceID==LastInvoiceID) {//crlf////tab////tab////tab////tab//setPendingSubmissionStyle(e\\comma\\false\\comma\\false);//crlf////tab////tab////tab////tab//var d=parseFloat(s);//crlf////tab////tab////tab////tab//if(isNaN(d)) d=0;//crlf////tab////tab////tab////tab//e.value=formatNumber(d\\comma\\\\quot\\//pound////pound////pound////pound////pound////pound//.00\\quot\\);//crlf////tab////tab////tab//};//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//setPendingSubmissionStyle(e\\comma\\false\\comma\\true);//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?network=greenlight//amp//id=getWidget\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Invoice Detail Summary\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//ContainerItemID=sensor_list//amp//sensor=getTotalExtendedPrice//amp//SensorExec=true\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//StoreID=\\quot\\+sStoreID+\\quot\\//amp//InvoiceID=\\quot\\+sInvoiceID+\\quot\\//amp//Date=\\quot\\+sDate+\\quot\\//amp//Source=\\quot\\+sSource;//crlf////tab////tab////alert(\\quot\\sUrl=\\quot\\+sUrl);//crlf////crlf////tab////tab//var sFunc=\\quot\\getTotalAmountEntered(\\\quot\\\\quot\\+TableID+\\quot\\\\\quot\\\\comma\\\\\quot\\\\quot\\+sInvoiceID+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////appendToLog(\\quot\\getTotalAmountEntered url=\\quot\\+sUrl);//crlf////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when a vendor is selected in the edit invoice dialog//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function vendorSelected(salt\\comma\\DialogOpening) {//crlf////tab////tab////hide invoice details until a vendor is selected//crlf////tab////tab//var sVendorID=document.getElementById(salt+\\quot\\VendorID\\quot\\).value;//crlf////tab////tab//var sHasDetails=document.getElementById(salt+\\quot\\HasDetails\\quot\\).value;//crlf////crlf////tab////tab////if the invoice has details\\comma\\ then show the table//crlf////tab////tab//if(sHasDetails.equalsIgnoreCase(\\quot\\true\\quot\\)) {//crlf////tab////tab////tab////hide the table body so a table populated for a prior dialog will not be displayed when//crlf////tab////tab////tab////inserting a new record//crlf////tab////tab////tab//var ePriorTable=document.getElementById(salt);//crlf////tab////tab////tab//if(ePriorTable) {//crlf////tab////tab////tab////tab//if(ePriorTable.tBodies[0]) {//crlf////tab////tab////tab////tab////tab//setVisible(ePriorTable.tBodies[0]\\comma\\false);//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//setVisible(salt+\\quot\\InvoiceDetailTableContainer\\quot\\\\comma\\true);//crlf////tab////tab////tab//setVisible(salt+\\quot\\SelectVendor\\quot\\\\comma\\false);//crlf////crlf////tab////tab////tab////set the value of the external driver param used to pass the Vendor ID to the details table//crlf////tab////tab////tab////and refresh the table//crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\VendorIDParam\\quot\\);//crlf////tab////tab////tab//if(e.value!=sVendorID) {//crlf////tab////tab////tab////tab//document.getElementById(salt+\\quot\\VendorIDParam\\quot\\).value=sVendorID;//crlf////tab////tab////tab////tab//refreshTable(salt);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab//refreshTable(salt);//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////if a vendor is not selected\\comma\\ hide the table//crlf////tab////tab//if((sVendorID==\\quot\\0\\quot\\) ~~pipe~~~~pipe~~ (sVendorID.length==0)) {//crlf////tab////tab////tab//setVisible(salt+\\quot\\InvoiceDetailTableContainer\\quot\\\\comma\\false);//crlf////tab////tab////tab//setVisible(salt+\\quot\\SelectVendor\\quot\\\\comma\\true);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab////hide the table body so a table populated for a prior dialog will not be displayed when//crlf////tab////tab////tab////inserting a new record//crlf////tab////tab////tab//setVisible(document.getElementById(salt).tBodies[0]\\comma\\false);//crlf////crlf////tab////tab////tab//setVisible(salt+\\quot\\InvoiceDetailTableContainer\\quot\\\\comma\\true);//crlf////tab////tab////tab//setVisible(salt+\\quot\\SelectVendor\\quot\\\\comma\\false);//crlf////crlf////tab////tab////tab////refresh the table so the dialog is refreshed.  The datalist used to select items from //crlf////tab////tab////tab////the selected vendor is contained in the invoice detail dialog and updating the table //crlf////tab////tab////tab////causes the dialog and datalist to be updated.//crlf////tab////tab////tab////This function is also called when the invoice dialog opens.  Do not refresh the table//crlf////tab////tab////tab////in this case since it will be refreshed anyway//crlf////tab////tab////tab////if(!DialogOpening) refreshTable(salt);//crlf////tab////tab////tab//refreshTable(salt);//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//This function is called after the alternate item list containing items supplied//crlf////tab//by the selected vendor is updated.  The update is initiated by vendorSelected() //crlf////tab//when the vendor selection changes.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function updatesInvoiceDetailSelectItemAlt(salt) {//crlf////tab////tab//alert(\\quot\\updatesInvoiceDetailSelectItemAlt: \\quot\\+salt);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Initializes an invoice by adding all items purchased from the selected //crlf////tab//vendor to the invoice details.  The items are determined by past invoices//crlf////tab//and are sorted in the order they appear on past invoices//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function initializeDefaultInvoice(TableID\\comma\\s) {//crlf////tab////tab//if(s) {//crlf////tab////tab////tab//refreshTable(TableID\\comma\\\\quot\\refresh\\quot\\);//crlf////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//var eTable=document.getElementById(TableID);//crlf////tab////tab//var sTableParams=eTable.getAttribute(\\quot\\AspectParamsActive\\quot\\);//crlf////tab////tab//var sStoreID=getElementValue(sTableParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sInvoiceID=getElementValue(sTableParams\\comma\\\\quot\\InvoiceID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////tab////tab////alert(\\quot\\initializeDefaultInvoice: \\quot\\+TableID+\\quot\\ StoreID=\\quot\\+sStoreID+\\quot\\ InvoiceID=\\quot\\+sInvoiceID);//crlf////crlf////tab////tab////call the agent action used to initialize the invoice details//crlf////tab////tab//showDialog(\\quot\\icon=true//amp//msg=Initializing invoice...\\quot\\);//crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=greenlight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Invoice Detail Summary\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//ContainerItemID=action_list\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//Action=initializeDefaultInvoice//amp//ActionExec=true\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//StoreID=\\quot\\+sStoreID+\\quot\\//amp//InvoiceID=\\quot\\+sInvoiceID;//crlf////tab////tab//sUrl+=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab////tab//sFunc=\\quot\\initializeDefaultInvoice(\\\quot\\\\quot\\+TableID+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab//};//crlf////crlf////tab//function updateDefaultPurchaseInfo() {//crlf////tab////tab//var ID=\\quot\\__salt__DefaultPurchaseInfo\\quot\\;//crlf////tab////tab//if(document.getElementById(ID)) {//crlf////tab////tab////tab//appendToLog(\\quot\\updateDefaultPurchaseInfo() calling updateOptions\\quot\\);//crlf////tab////tab////tab//updateOptions(ID);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//appendToLog(\\quot\\updateDefaultPurchaseInfo() cannot locate \\quot\\+ID);//crlf////tab////tab//};//crlf////tab//};//crlf////crlf//</script>//crlf////crlf//<style ID=\\quot\\CSSAspect_Back_Office_Invoice_Dialog\\quot\\>//crlf////tab//table.invoice_dialog1 tr {display:table-row;margin-right:0px;}//crlf////tab//@media only screen and (min-width:700px) {//crlf////tab////tab///* when the minimum width is 700px\\comma\\ display the table rows inline *///crlf////tab////tab//table.invoice_dialog1 tr {display:inline;margin-right:10px;}//crlf////tab//}//crlf//</style>//crlf////crlf//<!-- Dialog used to edit a record -->//crlf//<!conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div ID=\\quot\\Aspect_Back_Office_Invoice__DialogID__\\quot\\ DialogIDSalt=\\quot\\__DialogID__\\quot\\ salt=\\quot\\__salt__\\quot\\ aspectinit=\\quot\\invoiceDialogOpened\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:850px; border:none; display:block;\\quot\\>//crlf//</conditional>//crlf//<!conditional expression:not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div ID=\\quot\\Aspect_Back_Office_Invoice__DialogID__\\quot\\ DialogIDSalt=\\quot\\__DialogID__\\quot\\ salt=\\quot\\__salt__\\quot\\ aspectinit=\\quot\\invoiceDialogOpened\\quot\\ class=\\quot\\default_table_dialog\\quot\\ AdjustHeight=\\quot\\false\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:650px; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>;\\quot\\>//crlf//</conditional>//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//<!conditional expression:not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this);closeTableEditDialog(document.getElementById('Aspect_Back_Office_Invoice_Detail__salt__'))\\quot\\></div>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<!-- Used as an external filter in the details table -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\InvoiceID__DialogID__\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\__InvoiceID__\\quot\\ expression=\\quot\\InvoiceID='$value$'\\quot\\ param=\\quot\\InvoiceID=$value$\\quot\\>//crlf////crlf////tab////tab//<!-- //crlf////tab////tab////tab////tab//Used as an external driver param in the details table //crlf////tab////tab////tab////tab//Invoices are recorded in a dated file based on the date the invoice is ENTERED\\comma\\//crlf////tab////tab////tab////tab//not on the date the invoice is applied to for cost of sales calculations.//crlf////tab////tab////tab////tab//This avoids having to move details from one file to another if the date of the//crlf////tab////tab////tab////tab//invoice is changed.//crlf////tab////tab//-->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\DateEntered__DialogID__\\quot\\ name=\\quot\\Date_Entered\\quot\\ param=\\quot\\Date=$value$\\quot\\>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//These inputs are used by the invoiceDialogOpened() function to set the Edited flag in the //crlf////tab////tab//invoice record.  This flag is used to determine when an invoice has been imported//crlf////tab////tab//but not edited.//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__StoreID\\quot\\ value=\\quot\\__StoreID__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__InvoiceID\\quot\\ name=\\quot\\ID\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__HasDetails\\quot\\ name=\\quot\\Has_Details\\quot\\>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//These fields are used to determine if a prompt should be given when a price changes//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__PromptOnPriceChange\\quot\\ value=\\quot\\<!!include type:expression; expression:lookup(Aspect_BackOffice_Store_Prompt_On_Invoice_Price_Change\\comma\\\\quot\\__StoreID__\\quot\\)>\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__PromptOnPriceChangePcnt\\quot\\ value=\\quot\\<!!include type:expression; expression:lookup(Aspect_BackOffice_Store_Prompt_On_Invoice_Price_Change_Pcnt\\comma\\\\quot\\__StoreID__\\quot\\)>\\quot\\>//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//[!------------------------------------------------------------------------//crlf////tab////tab//This is a hidden collection used to get the default purchase size and price//crlf////tab////tab//when an item is selected in the invoice detal//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:Collection;//crlf////tab////tab////tab//ID:\\quot\\__salt__DefaultPurchaseInfo\\quot\\;//crlf////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Default_Purchase_Info\\quot\\;//crlf////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\style='display:none'\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\Record_Type=1\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab//>//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\\>Edit Invoice</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'>Edit Invoice</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//<div style=\\quot\\float:left\\quot\\>//crlf////tab////tab////tab////tab//<table ID=\\quot\\__DialogID__InvoiceDialogTable1\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Vendor</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Vendor_Names_By_ID_With_Select\\quot\\\\comma\\\\quot\\VendorID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID='__salt__VendorID' class=\\quot\\+quote(\\quot\\long\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\vendorSelected(\\quot\\+quote(\\quot\\__salt__\\quot\\\\comma\\char(0x27))+\\quot\\)\\quot\\+char(0x3B)+\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Number</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class=\\quot\\long\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Number\\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////tab//<div style=\\quot\\float:left\\quot\\>//crlf////tab////tab////tab////tab//<table ID=\\quot\\__DialogID__InvoiceDialogTable2\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Date</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONBLUR=\\quot\\submitDialogCell(this)\\quot\\ class=\\quot\\date\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Date\\quot\\ TYPE=\\quot\\date\\quot\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\yyyy-MM-dd\\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>Due</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONBLUR=\\quot\\submitDialogCell(this)\\quot\\ class=\\quot\\date\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Due_Date\\quot\\ TYPE=\\quot\\date\\quot\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\yyyy-MM-dd\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////tab////tab////tab//<div style=\\quot\\float:left\\quot\\>//crlf////tab////tab////tab////tab//<table ID=\\quot\\__DialogID__InvoiceDialogTable3\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Amount</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class=\\quot\\number\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Amount\\quot\\ TYPE=\\quot\\number\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Paid\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Paid//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Logged</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input type=\\quot\\number\\quot\\ class=\\quot\\number\\quot\\ style=\\quot\\text-align:right\\quot\\ readonly=\\quot\\readonly\\quot\\ ID=\\quot\\__salt__TotalExtendedPrice\\quot\\></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input CHECKED=\\quot\\checked\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\true\\quot\\ NAME=\\quot\\Is_Exported\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input>Exported</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab//<div style=\\quot\\clear:both\\quot\\></div>//crlf////tab////tab////tab//<hr>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//NOTE: When DialogOnly is true://crlf////crlf////tab////tab////tab//Lookup the date to be passed in the driver params.  Do this even//crlf////tab////tab////tab//if a date parameter is supplied because the date passed to the driver needs to be the //crlf////tab////tab////tab//date the invoice was ENTERED on\\comma\\ not the invoice date//crlf////crlf////tab////tab////tab//The table body for invoice details is hidden for some reason\\comma\\ possibly something to //crlf////tab////tab////tab//do with initializing the dialog.  A javascript statement is defined below to refresh//crlf////tab////tab////tab//the table after it is loaded.  Need to improve this. (04-13-2016)//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<!conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab////tab//<!!include type:expression; expression:htmlConstant(\\quot\\DateEntered\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lookup(Aspect_BackOffice_Lookup_Invoice_Date_Entered_By_ID\\comma\\\\quot\\__InvoiceID__\\quot\\\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\))>//crlf////tab////tab////tab////tab//<script ID=\\quot\\JSEditInvoiceDetail\\quot\\>//crlf////tab////tab////tab////tab//  refreshTable('__salt__'\\comma\\'refresh'); //crlf////tab////tab////tab////tab//</script>//crlf////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab//<div ID=\\quot\\__salt__SelectVendor\\quot\\ style=\\quot\\height:400px\\quot\\>//crlf////tab////tab////tab////tab//<p>Select a vendor...</p>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<div ID=\\quot\\__salt__InvoiceDetailTableContainer\\quot\\ style=\\quot\\display:none\\quot\\>//crlf////tab////tab////tab////tab//<div ID=\\quot\\__salt__InvoiceItems\\quot\\>//crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//This is an external driver param used to pass the selected Vendor ID to the table//crlf////tab////tab////tab////tab////tab//of invoice details.  This is used to add the vendor's item code to the item name//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__VendorIDParam\\quot\\ name=\\quot\\VendorID\\quot\\ param=\\quot\\VendorID=$value$\\quot\\>//crlf////crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//Don't limit the height of the table when DialogOnly is true.  Relative positioning//crlf////tab////tab////tab////tab////tab//is used to ensure the dialog used to edit a record is positioned properly.//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<!conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab//<div style=\\quot\\width:100\\percent\\;border:none;\\quot\\>//crlf////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab//<!conditional expression:(not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab////tab//Previously\\comma\\ the div below was used to limit the height of the div containing the //crlf////tab////tab////tab////tab////tab////tab//table.  Now\\comma\\ the height is set to auto and the scrollIntoView() function is called//crlf////tab////tab////tab////tab////tab////tab//when an invoice detail dialog is opened to scroll the dialog into view.//crlf////crlf////tab////tab////tab////tab////tab////tab//It still works properly if this div is enabled.  However\\comma\\ the table controls are//crlf////tab////tab////tab////tab////tab////tab//scrolled out of view and it is not as clean.//crlf////crlf////tab////tab////tab////tab////tab////tab//The AdjustHeight attribute has been added to the dialog.  This causes the //crlf////tab////tab////tab////tab////tab////tab//showTableEditDialog() function to skip setting the dialog's height to a fixed value //crlf////tab////tab////tab////tab////tab////tab//to accommodate the tabs.  This means that the height of the dialog will change if //crlf////tab////tab////tab////tab////tab////tab//it contains tabs and the heights of each tab are not identical (which they're not).//crlf////crlf////tab////tab////tab////tab////tab////tab//<div style=\\quot\\position:relative;width:100\\percent\\;height:400px;overflow:auto;border:none;\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab////tab//<div style=\\quot\\height:auto\\quot\\>//crlf////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//driver: \\quot\\Aspect_Back_Office_Invoice_Detail\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//_NoRefresh: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//state: \\quot\\getStoreDir('__StoreID__')+'invoice_detail.__DateEntered__.bin'\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//params: \\quot\\InvoiceID=__InvoiceID__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Date=__DateEntered__~~pipe~~Metadata=Aspect_Back_Office_Invoice_Detail_For_Dialog\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:defined(\\quot\\__InvoiceID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//_params: \\quot\\InvoiceID=__InvoiceID__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Date=__DateEntered__~~pipe~~Metadata=Aspect_Back_Office_Invoice_Detail_For_Dialog\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:not(defined(\\quot\\__InvoiceID__\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//_params: \\quot\\InvoiceID=Undefined~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Date={@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}~~pipe~~Metadata=Aspect_Back_Office_Invoice_Detail_For_Dialog\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//keyDescription: \\quot\\Item_Name\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//display: \\quot\\Invoice Details by Invoice Order\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//filter: \\quot\\(not(//pound//InvoiceID='undefined'))\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//basefilter: \\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//(true)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:defined(\\quot\\__InvoiceID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//and (InvoiceID='__InvoiceID__')//crlf////tab////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//InspectMenu: \\quot\\ulcZ3KBm\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//_style: \\quot\\width:100\\percent\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//_height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//_maxheight:\\quot\\400px\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//InsertPosition: \\quot\\bottom\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//EmbedValues: \\quot\\Item_Name\\comma\\Size_Prefix\\comma\\Size_Unit\\comma\\Size\\comma\\Quantity\\comma\\Extended_Price\\comma\\ItemID\\comma\\ID\\comma\\Sort_Index\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~778581~~pipe~~Aspect_Back_Office_Invoice_Detail~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:not(defined(\\quot\\__DialogOnly__\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//ExternalParams: \\quot\\__salt__VendorIDParam\\comma\\InvoiceID__DialogID__\\comma\\DateEntered__DialogID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//ExternalFilters: \\quot\\InvoiceID__DialogID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Timestamp: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Menu: \\quot\\Initialize Invoice~~pipe~~initializeDefaultInvoice\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:false>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//RefreshOnDataSubmit is set to true to provide a failsafe to make sure records are//crlf////tab////tab////tab////tab////tab////tab////tab////tab//refreshed after saving.  It appears that sometimes they are not.  The RefreshOnDataSubmit//crlf////tab////tab////tab////tab////tab////tab////tab////tab//causes the table to be refreshed after data has been submitted and there are //crlf////tab////tab////tab////tab////tab////tab////tab////tab//no pending submissions.  If the problem with records being refreshed is fixed\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//this can be disabled.//crlf////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshOnDataSubmit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshWhenHidden: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//<!-- Add space to display the edit dialog for the last record in the table -->//crlf////tab////tab////tab////tab////tab////tab//<div style=\\quot\\height:175px\\quot\\></div>//crlf////tab////tab////tab////tab////tab//</div>//crlf////tab////tab////tab////tab//</div>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</div>//crlf////crlf//^
ID=778581|X=183|Y=32|W=765|H=280|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=true|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=266415|AttachLeft=|AlignLeft=266415|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!--servertimer=false-->//crlf//[!------------------------------------------------------------------------//crlf//Notes://crlf//09-18-2016//crlf//- The salt in this item is inherited from the edit invoice dialog that uses it //crlf////tab//as an edit dialog for items included on the invoice.  This means that salt and //crlf////tab//DialogID are interchangeable.//crlf////crlf//- In the editInvoiceDetail() function which is called when the dialog is opened\\comma\\ the//crlf////tab//DialogID represents the FULL dialog ID - e.g. Aspect_Back_Office_Invoice_Detail<salt>.//crlf////tab//In other functions\\comma\\ the DialogID parameter indicates only the salt value.  This is why //crlf////tab//the sDialogIDSalt variable is used in the editInvoiceDetail() function.//crlf////crlf//- An attribute name AmountInitialized is set in the amount field to indicate that an amount//crlf////tab//has been entered in that field manually and should be kept.  When this attribute equals false\\comma\\//crlf////tab//the amount will change when the quantity changes.  If the amount is overridden by a manual input\\comma\\ //crlf////tab//the flag will be set to true and changes in the quantity will not affect the amount.//crlf////crlf//- The select item input uses the datalist with the ID __DialogID__InvoiceDetailSelectItem.  A second //crlf////tab//datalist is creates with the ID __DialogID__InvoiceDetailSelectItemAlt.  The second datalist contains //crlf////tab//only items supplied by the vendor selected in the invoice.  The showAllInvoiceDetailSelections() //crlf////tab//function is called when the \\quot\\show all items\\quot\\ checkbox is clicked to set the \\quot\\list\\quot\\ attribute in //crlf////tab//the element used to select an item to one list or the other.//crlf//--------------------------------------------------------------------------]//crlf////crlf//<!!include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__salt__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<script ID=\\quot\\JSInvoiceDetail\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////crlf////tab////tab//JAVASCRIPT FUNCTIONS//crlf////crlf////tab////tab//editInvoiceDetail - called when the invoice detail dialog is displayed.//crlf////tab////tab////tab//Displays the name of the imported inventory item name if the invoice was imported.//crlf////crlf////tab////tab//setInvoiceDetailTDWidths - Sets the width of the first td cell in each row to the maximum //crlf////tab////tab////tab//width of any of the first td cells in a row.  This is used to standardize the width of the //crlf////tab////tab////tab//first td cell in each row when the table is displayed inline//crlf////crlf////tab////tab//closeInvoiceDetailDialog - Called when the close icon is clicked to close the dialog.  //crlf////tab////tab////tab//Currently has no purpose except to override closing of the dialog.//crlf////crlf////tab////tab//addAnotherInvoiceDetail - Closes the current edit dialog and adds a new record//crlf////crlf////tab////tab//showAllInvoiceDetailSelections - Called when the checkbox is clicked to show all items//crlf////crlf////tab////tab//enableSizeEdit - Makes the purchase size editable or not by setting the visibility of the //crlf////tab////tab////tab//table rows containing the size and the inputs used to edit the size//crlf////crlf////tab////tab//getDisplayStyle - Returns the display style to be used when making a table row visible.  //crlf////tab////tab////tab//This will depend on whether the table is being displayed inline or not.//crlf////crlf////tab////tab//checkForPriceChange - Called when either the quantity or amount is changed.  Gives a //crlf////tab////tab////tab//prompt if the prices changes by more than a given percentage//crlf////crlf////tab////tab//invoiceDetailQuantityChanged - Called when the quantity is edited.  Sets the extended //crlf////tab////tab////tab//price if it does not already contain a value.//crlf////crlf////tab////tab//invoiceDetailAmountChanged - Called when the amount is edited.  Sets the AmountInitialized //crlf////tab////tab////tab//attribute in the input to True to indicate that an amount has been entered.  When this //crlf////tab////tab////tab//attribute is True\\comma\\ changes in the quantity will no longer cause adjustments to the amount.//crlf////crlf////tab////tab//invoiceDetailSizePrefixChanged - Called when the size prefix is modified//crlf////crlf////tab////tab//invoiceDetailSizeUnitChanged - Called when the size unit is modified//crlf////crlf////tab////tab//updateVendorInfo - [NOT USED] Called when the item\\comma\\ size prefix\\comma\\ size unit or price are changed.  //crlf////tab////tab////tab//Records the data in the inventory item record//crlf////crlf////tab////tab//invoiceDetailItemSelected - Called when an item is selected in the drop-down list.  Calls the //crlf////tab////tab////tab//default dataListInputChanged() Function to submit the data and then sets the purchase size //crlf////tab////tab////tab//and default price.//crlf////crlf////tab////tab//setDefaultPrice - Sets the default price for the currently selected item//crlf////crlf////tab////tab//setDefaultPurchaseSize - Sets the default purchase size for the currently selected item by looking //crlf////tab////tab////tab//up the purchase information in the hidden element containing data for all items. e is the visible //crlf////tab////tab////tab//element used to select the item.//crlf////tab//--------------------------------------------------------------------------]//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//This function is called when the invoice detail dialog is displayed.//crlf////tab//It displays the name of the imported inventory item name if the invoice was//crlf////tab//imported.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function editInvoiceDetail(DialogID\\comma\\bInitialized) {//crlf////tab////tab//var d=document.getElementById(DialogID);//crlf////tab////tab//var salt=d.getAttribute(\\quot\\salt\\quot\\);//crlf////tab////tab//var sDialogIDSalt=d.getAttribute(\\quot\\DialogIDSalt\\quot\\);//crlf////crlf////tab////tab//if(bInitialized) {//crlf////tab////tab////tab//setInvoiceDetailTDWidths(sDialogIDSalt);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////display the vendor's name for the item if the invoice was imported//crlf////tab////tab//var e=document.getElementById(salt+\\quot\\Imported_Item_Name\\quot\\);//crlf////tab////tab//var sItemName=e.value;//crlf////tab////tab//var bShow=(sItemName.trim().length>0);//crlf////tab////tab//setVisible(salt+\\quot\\VendorName\\quot\\\\comma\\bShow);//crlf////crlf////tab////tab////01-30-2017: for some reason\\comma\\ the table row containing the imported item name has the //crlf////tab////tab////display attribute set to table-row instead of inline.  This is a workaround.//crlf////tab////tab////It may need more work.//crlf////tab////tab//if(bShow) document.getElementById(\\quot\\__salt__VendorName\\quot\\).style.display=\\quot\\inline\\quot\\;//crlf////crlf////tab////tab////set the AmountInitialized attribute in the amount field.  //crlf////tab////tab//var eAmount=document.getElementById(sDialogIDSalt+\\quot\\Amount\\quot\\);//crlf////tab////tab//var dAmount=parseFloat(eAmount.value);//crlf////tab////tab//if((dAmount==0) ~~pipe~~~~pipe~~ (isNaN(dAmount))) {//crlf////tab////tab////tab//eAmount.setAttribute(\\quot\\AmountInitialized\\quot\\\\comma\\\\quot\\false\\quot\\);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//eAmount.setAttribute(\\quot\\AmountInitialized\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////tab////tab//};//crlf////crlf////tab////tab////disable editing of the size if the size is valid//crlf////tab////tab//if(!document.getElementById(sDialogIDSalt+\\quot\\SizePrefix\\quot\\)) {//crlf////tab////tab////tab//alert(\\quot\\Cannot locate ID=\\quot\\+sDialogIDSalt+\\quot\\SizePrefix\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//var dPrefix=parseFloat(document.getElementById(sDialogIDSalt+\\quot\\SizePrefix\\quot\\).value);//crlf////tab////tab//if(!document.getElementById(sDialogIDSalt+\\quot\\SizeUnit\\quot\\)) return;//crlf////tab////tab//var sUnit=document.getElementById(sDialogIDSalt+\\quot\\SizeUnit\\quot\\).value;//crlf////tab////tab//if((dPrefix==0) ~~pipe~~~~pipe~~ (isNaN(dPrefix)) ~~pipe~~~~pipe~~ (sUnit==\\quot\\0\\quot\\)) {//crlf////tab////tab////tab////the size is invalid\\comma\\ so make it editable//crlf////tab////tab////tab//enableSizeEdit(sDialogIDSalt\\comma\\true);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab////the size is valid\\comma\\ so don't make it editable//crlf////tab////tab////tab//enableSizeEdit(sDialogIDSalt\\comma\\false);//crlf////tab////tab//};//crlf////crlf////tab////tab////if an item is selected...//crlf////tab////tab//var sItemID=document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItem_input_submit\\quot\\).value;//crlf////tab////tab//appendToLog(\\quot\\editInvoiceDetail sItemID=\\quot\\+sItemID);//crlf////tab////tab//if(sItemID!=\\quot\\000\\quot\\) {//crlf////tab////tab////tab////if the size is invalid\\comma\\ set it to the default purchase size//crlf////tab////tab////tab//if((dPrefix==0) ~~pipe~~~~pipe~~ (sUnit==\\quot\\0\\quot\\)) {//crlf////tab////tab////tab////tab////call the function to set the default size and price as if the item has just been selected//crlf////tab////tab////tab////tab//setDefaultPurchaseSize(document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItem_input\\quot\\));//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////if the default price is invalid\\comma\\ initialize it//crlf////tab////tab////tab//var dPrice=parseFloat(document.getElementById(sDialogIDSalt+\\quot\\UnitPrice\\quot\\).value);//crlf////tab////tab////tab//if((dPrice==0) ~~pipe~~~~pipe~~ (isNaN(dPrice))) {//crlf////tab////tab////tab////tab////this sets the default price AND the last price paid//crlf////tab////tab////tab////tab//setDefaultPrice(sDialogIDSalt);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab////set the last price paid//crlf////tab////tab////tab////tab//setLastPricePaid(sDialogIDSalt);//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//checkForPriceChange(sDialogIDSalt);//crlf////tab////tab////tab////crlf////tab////tab////tab//var sName=document.getElementById(salt+\\quot\\HiddenItemName\\quot\\).value;//crlf////tab////tab////tab////appendToLog(\\quot\\sName:\\quot\\+sName);//crlf////crlf////tab////tab////tab////------------------------------------------------------------------------------------------------------------//crlf////tab////tab////tab////make sure the item exists in the datalist containing all items.  Deleted items will not be included in the datalists initially//crlf////tab////tab////tab////------------------------------------------------------------------------------------------------------------//crlf////tab////tab////tab//var eDataList=document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItem\\quot\\);//crlf////tab////tab////tab//var bExists=false;//crlf////tab////tab////tab//for(var i=0;(!bExists) //amp////amp// (i<eDataList.options.length);i++) {//crlf////tab////tab////tab////tab//var sValue=eDataList.options[i].value;//crlf////tab////tab////tab////tab//var sAspectID=eDataList.options[i].getAttribute(\\quot\\aspectid\\quot\\);//crlf////tab////tab////tab////tab//if(sAspectID.equalsIgnoreCase(sItemID)) {//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Found item in \\quot\\+eDataList.id+\\quot\\ sValue=\\quot\\+sValue+\\quot\\ sAspectID=\\quot\\+sAspectID);//crlf////tab////tab////tab////tab////tab//bExists=true;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//if(!bExists) {//crlf////tab////tab////tab////tab//var sOption=\\quot\\<option value=\\\quot\\\\quot\\+sName+\\quot\\\\\quot\\ aspectid=\\\quot\\\\quot\\+sItemID+\\quot\\\\\quot\\></option>\\quot\\//crlf////tab////tab////tab////tab//eDataList.innerHTML=sOption+eDataList.innerHTML;//crlf////tab////tab////tab////tab//document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItem_input\\quot\\).value=sName;//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Added option: \\quot\\+sOption+\\quot\\ to datalist: \\quot\\+eDataList.id);//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////------------------------------------------------------------------------------------------------------------//crlf////tab////tab////tab////make sure the item exists in the datalist containing items supplied by the selected vendor.  //crlf////tab////tab////tab////Deleted items will not be included in the datalists initially//crlf////tab////tab////tab////------------------------------------------------------------------------------------------------------------//crlf////tab////tab////tab//var eDataList=document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItemAlt\\quot\\);//crlf////tab////tab////tab//var bExists=false;//crlf////tab////tab////tab//for(var i=0;(!bExists) //amp////amp// (i<eDataList.options.length);i++) {//crlf////tab////tab////tab////tab//var sValue=eDataList.options[i].value;//crlf////tab////tab////tab////tab//var sAspectID=eDataList.options[i].getAttribute(\\quot\\aspectid\\quot\\);//crlf////tab////tab////tab////tab//if(sAspectID.equalsIgnoreCase(sItemID)) {//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Found item in \\quot\\+eDataList.id+\\quot\\ sValue=\\quot\\+sValue+\\quot\\ sAspectID=\\quot\\+sAspectID);//crlf////tab////tab////tab////tab////tab//bExists=true;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//if(!bExists) {//crlf////tab////tab////tab////tab//var sOption=\\quot\\<option value=\\\quot\\\\quot\\+sName+\\quot\\\\\quot\\ aspectid=\\\quot\\\\quot\\+sItemID+\\quot\\\\\quot\\></option>\\quot\\//crlf////tab////tab////tab////tab//eDataList.innerHTML=sOption+eDataList.innerHTML;//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Added option: \\quot\\+sOption+\\quot\\ to datalist: \\quot\\+eDataList.id);//crlf////tab////tab////tab//};//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItem_input\\quot\\).value=\\quot\\\\quot\\;//crlf////crlf////tab////tab////tab////clear the current price//crlf////tab////tab////tab//var eCurrentUnitPrice=document.getElementById(sDialogIDSalt+\\quot\\CurrentUnitPrice\\quot\\);//crlf////tab////tab////tab//eCurrentUnitPrice.disabled=true;//crlf////tab////tab////tab//eCurrentUnitPrice.value=\\quot\\\\quot\\;//crlf////tab////tab////tab////crlf////tab////tab////tab////clear the last price paid//crlf////tab////tab////tab//document.getElementById(sDialogIDSalt+\\quot\\LastUnitPrice\\quot\\).value=\\quot\\\\quot\\;//crlf////tab////tab//};//crlf////crlf////tab////tab////show the button to add another detail if no item is selected//crlf////tab////tab//var eAddAnotherDetailContainer=document.getElementById(sDialogIDSalt+\\quot\\AddAnotherInvoiceDetailContainer\\quot\\);//crlf////tab////tab//if(sItemID==\\quot\\000\\quot\\) {//crlf////tab////tab////tab//eAddAnotherDetailContainer.style.display=\\quot\\block\\quot\\;//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//eAddAnotherDetailContainer.style.display=\\quot\\none\\quot\\;//crlf////tab////tab//};//crlf////crlf////tab////tab//return(true);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Sets the width of the first td cell in each row to the maximum width of any //crlf////tab//of the first td cells in a row.  This is used to standardize the width of the //crlf////tab//first td cell in each row when the table is displayed inline//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function setInvoiceDetailTDWidths(DialogID) {//crlf////tab////tab//var table=document.getElementById(DialogID+\\quot\\InvoiceDetailDialogTable\\quot\\);//crlf////crlf////tab////tab//if(table.getAttribute(\\quot\\TDWidthInitialized\\quot\\)) return;//crlf////crlf////tab////tab//var iMaxWidth=0;//crlf////tab////tab//for(var i=1;i<table.rows.length;i++) {//crlf////tab////tab////tab//iMaxWidth=Math.max(iMaxWidth\\comma\\table.rows[i].cells[0].offsetWidth);//crlf////tab////tab//};//crlf////crlf////tab////tab////add some more padding//crlf////tab////tab//iMaxWidth+=10;//crlf////crlf////tab////tab//for(var i=0;i<table.rows.length;i++) {//crlf////tab////tab////tab////table.rows[i].cells[0].style.paddingRight=(iMaxWidth-table.rows[i].cells[0].offsetWidth)+\\quot\\px\\quot\\;//crlf////tab////tab////tab//table.rows[i].cells[0].style.width=iMaxWidth+\\quot\\px\\quot\\;//crlf////tab////tab//};//crlf////crlf////tab////tab//table.setAttribute(\\quot\\TDWidthInitialized\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the close icon is clicked to close the dialog.  Currently has //crlf////tab//no purpose except to override closing of the dialog.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function closeInvoiceDetailDialog(e) {//crlf////tab////tab//closeTableEditDialog(e);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Closes the current edit dialog and adds a new record//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function addAnotherInvoiceDetail(DialogID) {//crlf////tab////tab//appendToLog(\\quot\\addAnotherInvoiceDetail started\\quot\\);//crlf////tab////tab////close the dialog//crlf////tab////tab//closeInvoiceDetailDialog(document.getElementById(DialogID+\\quot\\CloseIcon\\quot\\));//crlf////crlf////tab////tab////insert another record//crlf////tab////tab//insertTableRecord(DialogID);//crlf////crlf////tab////tab////it's not clear why this needs to be called since the editInvoiceDetail() function called //crlf////tab////tab////when the dialog is displayed should take care of it.  This function sets the TD widths of //crlf////tab////tab////the descriptions so they're all the same\\comma\\ even when the table is displayed inline on a //crlf////tab////tab////larger screen.//crlf////tab////tab//setInvoiceDetailTDWidths(DialogID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the checkbox is clicked to show all items//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function showAllInvoiceDetailSelections(e\\comma\\DialogID) {//crlf////tab////tab//var eInput=document.getElementById(DialogID+\\quot\\InvoiceDetailSelectItem_input\\quot\\);//crlf////tab////tab//if(e.checked) {//crlf////tab////tab////tab//setDatalist(eInput\\comma\\DialogID+\\quot\\InvoiceDetailSelectItem\\quot\\\\comma\\true);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//setDatalist(eInput\\comma\\DialogID+\\quot\\InvoiceDetailSelectItemAlt\\quot\\\\comma\\true);//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Makes the purchase size editable or not by setting the visibility of the //crlf////tab//table rows containing the size and the inputs used to edit the size//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function enableSizeEdit(DialogID\\comma\\b) {//crlf////tab////tab////Ensure that a size is displayed in the read-only span element.  Don't hide the inputs//crlf////tab////tab////if a size is not displayed.  Otherwise\\comma\\ there will be no hyperlink for the user to click //crlf////tab////tab////to edit the size//crlf////tab////tab//if(document.getElementById(DialogID+\\quot\\SizeReadOnly\\quot\\).innerHTML.trim().length==0) b=true;//crlf////crlf////tab////tab//if(b) {//crlf////tab////tab////tab//document.getElementById(DialogID+\\quot\\TRSizeReadOnly\\quot\\).style.display=\\quot\\none\\quot\\;//crlf////tab////tab////tab//document.getElementById(DialogID+\\quot\\TRSizeEditable\\quot\\).style.display=getDisplayStyle(DialogID);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//document.getElementById(DialogID+\\quot\\TRSizeReadOnly\\quot\\).style.display=getDisplayStyle(DialogID);//crlf////tab////tab////tab//document.getElementById(DialogID+\\quot\\TRSizeEditable\\quot\\).style.display=\\quot\\none\\quot\\;//crlf////tab////tab//};//crlf////tab////tab////setVisible(document.getElementById(DialogID+\\quot\\TRSizeReadOnly\\quot\\)\\comma\\!b);//crlf////tab////tab////setVisible(document.getElementById(DialogID+\\quot\\TRSizeEditable\\quot\\)\\comma\\b);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Returns the display style to be used when making a table row visible.  This will //crlf////tab//depend on whether the table is being displayed inline or not.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function getDisplayStyle(DialogID) {//crlf////tab////tab//return(document.getElementById(DialogID+\\quot\\UnitPriceContainer\\quot\\).style.display);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when either the quantity or amount is changed.  Gives a prompt if the //crlf////tab//prices changes by more than a given percentage//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function checkForPriceChange(DialogID) {//crlf////tab////tab////get the input used to display the current unit price//crlf////tab////tab//var eCurrentUnitPrice=document.getElementById(DialogID+\\quot\\CurrentUnitPrice\\quot\\);//crlf////tab////tab//eCurrentUnitPrice.disabled=true;//crlf////tab////tab//eCurrentUnitPrice.value=\\quot\\\\quot\\;//crlf////crlf////tab////tab////get the span tag used to display the price change percent.  Clear it initially//crlf////tab////tab//var ePriceChangePercent=document.getElementById(DialogID+\\quot\\PriceChangePercent\\quot\\);//crlf////tab////tab//ePriceChangePercent.innerHTML=\\quot\\\\quot\\;//crlf////crlf////tab////tab////get the input used to display the last unit price.  Hide it initially//crlf////tab////tab//var eLastUnitPrice=document.getElementById(DialogID+\\quot\\LastUnitPrice\\quot\\);//crlf////tab////tab//eLastUnitPrice.disabled=true;//crlf////tab////tab//document.getElementById(DialogID+\\quot\\LastUnitPriceContainer\\quot\\).style.display=\\quot\\none\\quot\\;//crlf////crlf////tab////tab//var dQty=parseFloat(document.getElementById(DialogID+\\quot\\Quantity\\quot\\).value);//crlf////tab////tab//var dAmount=parseFloat(document.getElementById(DialogID+\\quot\\Amount\\quot\\).value);//crlf////tab////tab//var dPrice=parseFloat(document.getElementById(DialogID+\\quot\\UnitPrice\\quot\\).value);//crlf////crlf////tab////tab////abort if the quantity or amount are 0//crlf////tab////tab//if((isNaN(dQty)) ~~pipe~~~~pipe~~ (dQty==0) ~~pipe~~~~pipe~~ (isNaN(dAmount)) ~~pipe~~~~pipe~~ (dAmount==0)) return;//crlf////crlf////tab////tab////calculate the new unit price and price change amount//tab////tab////crlf////tab////tab//var dNewPrice=dAmount/dQty;//crlf////tab////tab//var dPriceChange=dNewPrice-dPrice;//crlf////tab////tab//var dPcntChange=Math.abs(dPriceChange)/dPrice*100;//crlf////crlf////tab////tab////display the new unit price//crlf////tab////tab//eCurrentUnitPrice.value=formatNumber(dNewPrice\\comma\\\\quot\\//pound////pound////pound////pound////pound////pound//.00\\quot\\);//crlf////crlf////tab////tab////if the previous price is 0\\comma\\ abort//crlf////tab////tab//if(dPrice==0) return;//crlf////crlf////tab////tab////display the last unit price//crlf////tab////tab////eLastUnitPrice.value=formatNumber(dPrice\\comma\\\\quot\\//pound////pound////pound////pound////pound////pound//.00\\quot\\);//crlf////tab////tab//document.getElementById(DialogID+\\quot\\LastUnitPriceContainer\\quot\\).style.display=getDisplayStyle(DialogID);//crlf////tab////tab////tab////crlf////tab////tab////get the flag indicating whether notifications should be displayed for price changes//crlf////tab////tab//var bPromptOnPriceChange=document.getElementById(DialogID+\\quot\\PromptOnPriceChange\\quot\\).value.equalsIgnoreCase(\\quot\\true\\quot\\);//crlf////tab////tab//if(bPromptOnPriceChange) {//crlf////tab////tab////tab////get the percent change required to display a notification//crlf////tab////tab////tab//var PromptOnPcnt=parseFloat(document.getElementById(DialogID+\\quot\\PromptOnPriceChangePcnt\\quot\\).value);//crlf////tab////tab////tab//if(PromptOnPcnt>0) {//crlf////tab////tab////tab////tab//if(dPcntChange>=PromptOnPcnt) {//crlf////tab////tab////tab////tab////tab//var s=(dNewPrice>dPrice) ? \\quot\\+\\quot\\ : \\quot\\-\\quot\\;//crlf////tab////tab////tab////tab////tab//s+=formatNumber(dPcntChange\\comma\\\\quot\\//pound////pound////pound////pound////pound////pound//\\quot\\)+\\quot\\\\percent\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ePriceChangePercent.innerHTML=s;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the quantity is edited.  Sets the extended price if it does not //crlf////tab//already contain a value.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function invoiceDetailQuantityChanged(e\\comma\\DialogID) {//crlf////tab////tab////submit the data//crlf////tab////tab//submitDialogCell(e);//crlf////crlf////tab////tab////if the amount is zero\\comma\\ set the amount and submit the data.  The price is determined by //crlf////tab////tab////the invoiceDetailItemSelected() function when an item is selected//crlf////tab////tab//var dQuantity=parseFloat(e.value);//crlf////tab////tab//var dPrice=parseFloat(document.getElementById(DialogID+\\quot\\UnitPrice\\quot\\).value);//crlf////crlf////tab////tab//if(dPrice!=0) {//crlf////tab////tab////tab//var eAmount=document.getElementById(DialogID+\\quot\\Amount\\quot\\);//crlf////tab////tab////tab//var dAmount=(eAmount.value.trim().length==0) ? 0 : parseFloat(eAmount.value);//crlf////tab////tab////tab//var sAmountInitialized=eAmount.getAttribute(\\quot\\AmountInitialized\\quot\\);//crlf////tab////tab////tab////only update the amount if the AmountInitialized is false.  Do not update it if the amount //crlf////tab////tab////tab////is zero.  A zero amount may have been entered intentionally.//crlf////tab////tab////tab////if((dAmount==0) ~~pipe~~~~pipe~~ (isNaN(dAmount)) ~~pipe~~~~pipe~~ (sAmountInitialized.equalsIgnoreCase(\\quot\\false\\quot\\))) {//crlf////tab////tab////tab//if(sAmountInitialized.equalsIgnoreCase(\\quot\\false\\quot\\)) {//crlf////tab////tab////tab////tab//eAmount.value=dQuantity*dPrice;//crlf////tab////tab////tab////tab////call submitDialogCellSub instead of submitDialogCell to keep the text selected in the //crlf////tab////tab////tab////tab////amount field.  If submitDialogCell is called\\comma\\ the text will be unselected and difficult to edit//crlf////tab////tab////tab////tab//submitDialogCellSub(eAmount);//tab////tab////crlf////tab////tab////tab////tab//eAmount.select();//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//checkForPriceChange(DialogID);//crlf////tab////tab//};//crlf////crlf////tab////tab////update the vendor info//crlf////tab////tab//updateVendorInfo(DialogID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the amount is edited.  Sets the AmountInitialized attribute in the //crlf////tab//input to True to indicate that an amount has been entered.  When this attribute//crlf////tab//is True\\comma\\ changes in the quantity will no longer cause adjustments to the amount.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function invoiceDetailAmountChanged(e\\comma\\DialogID) {//crlf////tab////tab////submit the data//crlf////tab////tab//submitDialogCell(e);//crlf////crlf////tab////tab////setTimeout(function() {submitDialogCell(e);}\\comma\\1000);//crlf////crlf////tab////tab//e.setAttribute(\\quot\\AmountInitialized\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////tab////tab//checkForPriceChange(DialogID);//crlf////crlf////tab////tab////update the vendor info//crlf////tab////tab//updateVendorInfo(DialogID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the size prefix is modified//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function invoiceDetailSizePrefixChanged(e\\comma\\DialogID) {//crlf////tab////tab////submit the data//crlf////tab////tab//submitDialogCell(e);//crlf////crlf////tab////tab//setDefaultPrice(DialogID);//crlf////tab////tab////crlf////tab////tab////update the vendor info (no longer used.  A driver listener script is used to update the vendor info)//crlf////tab////tab////updateVendorInfo(DialogID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the size unit is modified//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function invoiceDetailSizeUnitChanged(e) {//crlf////tab////tab////submit the data//crlf////tab////tab//submitDialogCell(e);//crlf////crlf////tab////tab//var DialogID=e.getAttribute(\\quot\\DialogID\\quot\\);//crlf////tab////tab//setDefaultPrice(DialogID);//crlf////tab////tab////crlf////tab////tab////update the vendor info (no longer used.  A driver listener script is used to update the vendor info)//crlf////tab////tab////var DialogID=e.getAttribute(\\quot\\DialogID\\quot\\);//crlf////tab////tab////updateVendorInfo(DialogID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the item\\comma\\ size prefix\\comma\\ size unit or price are changed.  Records //crlf////tab//the data in the inventory item record//crlf////crlf////tab//2017-01: THIS FUNCTION IS NOT USED.  INSTEAD\\comma\\ VENDOR INFORMATION IS //crlf////tab//UPDATED IN THE INVENTORY ITEM RECORD USING A DRIVER LISTENER.  //crlf////tab//THE Aspect_Back_Office_Invoice_Detail_DataSubmitted SCRIPT IN THE ASPECT BACKOFFICE//crlf////tab//PACKAGE REPLACES THIS SCRIPT.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function updateVendorInfo(DialogID) {//crlf////tab////tab//return;//crlf////crlf////tab////tab//var d=document.getElementById(\\quot\\Aspect_Back_Office_Invoice_Detail\\quot\\+DialogID);//crlf////tab////tab//var sSalt=d.getAttribute(\\quot\\salt\\quot\\);//crlf////crlf////tab////tab//var sItemID=document.getElementById(DialogID+\\quot\\InvoiceDetailSelectItem_input_submit\\quot\\).value;//crlf////tab////tab//var sVendorID=document.getElementById(DialogID+\\quot\\VendorID\\quot\\).value;//crlf////tab////tab//var sVendorItemCode=document.getElementById(sSalt+\\quot\\Imported_Item_Code\\quot\\).value;//crlf////tab////tab//var sSizePrefix=document.getElementById(DialogID+\\quot\\SizePrefix\\quot\\).value;//crlf////tab////tab//var sSizeUnit=document.getElementById(DialogID+\\quot\\SizeUnit\\quot\\).value;//crlf////tab////tab//var dQuantity=parseFloat(document.getElementById(DialogID+\\quot\\Quantity\\quot\\).value);//crlf////tab////tab//var//tab//dAmount=parseFloat(document.getElementById(DialogID+\\quot\\Amount\\quot\\).value);//crlf////tab////tab//var dUnitPrice=(dQuantity==0) ? 0 : dAmount/dQuantity;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=greenlight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Dialogs//amp//ContainerItemID=AspectScript\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//Query=updateVendorInfo\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//Source={AspectHashID}\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//StoreID=__StoreID__\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//ItemID=\\quot\\+sItemID;//crlf////tab////tab//sUrl+=\\quot\\//amp//VendorID=\\quot\\+sVendorID;//crlf////tab////tab//sUrl+=\\quot\\//amp//VendorItemCode=\\quot\\+sVendorItemCode;//crlf////tab////tab//sUrl+=\\quot\\//amp//SizePrefix=\\quot\\+sSizePrefix;//crlf////tab////tab//sUrl+=\\quot\\//amp//SizeUnit=\\quot\\+sSizeUnit;//crlf////tab////tab//sUrl+=\\quot\\//amp//SizePrice=\\quot\\+dUnitPrice;//crlf////tab////tab//appendToLog(\\quot\\url=\\quot\\+sUrl);//crlf////tab////tab//asynchInclude(null\\comma\\sUrl);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when an item is selected in the drop-down list.  Calls the default //crlf////tab//dataListInputChanged() function to submit the data and then sets the purchase size//crlf////tab//and default price.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function invoiceDetailItemSelected(e) {//crlf////tab////tab////update the hidden input used to submit the data//crlf////tab////tab//dataListInputChanged(e);//crlf////crlf////tab////tab////set the default purchase size and price//crlf////tab////tab//setDefaultPurchaseSize(e);//crlf////crlf////tab////tab////record the vendor item code in the inventory item record//crlf////tab////tab//var DialogID=e.getAttribute(\\quot\\dialogid\\quot\\);//crlf////tab////tab//updateVendorInfo(DialogID);//crlf////tab//};//crlf////tab////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Sets the default price for the currently selected item.  Also updates the last //crlf////tab//price paid.  Called when the dialog is opened.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function setLastPricePaid(DialogID) {//crlf////tab////tab//var sItemID=document.getElementById(DialogID+\\quot\\InvoiceDetailSelectItem_input_submit\\quot\\).value;//crlf////tab////tab//var dPrefix=parseFloat(document.getElementById(DialogID+\\quot\\SizePrefix\\quot\\).value);//crlf////tab////tab//var sUnit=document.getElementById(DialogID+\\quot\\SizeUnit\\quot\\).value;//crlf////crlf////tab////tab////if the size is valid\\comma\\ set the default price //crlf////tab////tab//if((dPrefix!=0) //amp////amp// (sUnit!=\\quot\\0\\quot\\)) {//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//get the hidden elsement containing purchase sizes and price by vendor for each item//crlf////tab////tab////tab//This is a select element created in the invoice dialog using the Aspect_BackOffice_Default_Purchase_Info collection.//crlf////tab////tab////tab//The format of options is //crlf////tab////tab////tab////tab//<option value=\\quot\\[ItemID]\\quot\\>//crlf////tab////tab////tab////tab////tab//vendor1 code]vendor1 size prefix~~pipe~~vendor1 size unit~~pipe~~vendor1 price~~pipe~~vendor1 size\\comma\\//crlf////tab////tab////tab////tab////tab//vendor2 code]vendor2 size prefix~~pipe~~vendor2 size unit~~pipe~~vendor2 price~~pipe~~vendor2 size\\comma\\//crlf////tab////tab////tab////tab////tab//vendor3 code]vendor3 size prefix~~pipe~~vendor3 size unit~~pipe~~vendor3 price~~pipe~~vendor3 size//crlf////tab////tab////tab////tab//</option>//crlf////tab////tab////tab////crlf////tab////tab////tab////tab//e.g. <option value=\\quot\\1\\quot\\>1~~pipe~~1~~pipe~~5~~pipe~~23.74~~pipe~~ Litre\\comma\\0~~pipe~~1~~pipe~~20~~pipe~~0~~pipe~~ Bt750\\comma\\0~~pipe~~1~~pipe~~5~~pipe~~0~~pipe~~ Litre</option>//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab//var ePurchaseInfo=document.getElementById(DialogID+\\quot\\DefaultPurchaseInfo\\quot\\);//crlf////crlf////tab////tab////tab////get the input containing the vendor ID//crlf////tab////tab////tab//var eVendorID=document.getElementById(DialogID+\\quot\\VendorID\\quot\\);//crlf////tab////tab////tab//var sVendorID=eVendorID.value;//crlf////crlf////tab////tab////tab////locate the item in the list and update the size prefix and unit//crlf////tab////tab////tab//for(var i=0;i<ePurchaseInfo.options.length;i++) {//crlf////tab////tab////tab////tab//if(ePurchaseInfo.options[i].value.equalsIgnoreCase(sItemID)) {//crlf////tab////tab////tab////tab////tab////get the purchase size info.  This is a comma-delimited string containing three //crlf////tab////tab////tab////tab////tab////records.  Each record is a pipe-delimited string containing //crlf////tab////tab////tab////tab////tab////VendorID ~~pipe~~ Size Prefix ~~pipe~~ Size Unit ~~pipe~~ Price ~~pipe~~ Formatted Size//crlf////tab////tab////tab////tab////tab//var arVendorInfo=getSubStringArray(ePurchaseInfo.options[i].text\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab////tab////tab//var bDone=false;//crlf////tab////tab////tab////tab////tab//for(var j=0;((!bDone) //amp////amp// (j<arVendorInfo.length));j++) {//crlf////tab////tab////tab////tab////tab////tab//var a=getSubStringArray(arVendorInfo[j]\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab////tab////tab////tab//if((parseFloat(a[1])==dPrefix) //amp////amp// (a[2].equalsIgnoreCase(sUnit))) {//crlf////tab////tab////tab////tab////tab////tab////tab//document.getElementById(DialogID+\\quot\\LastUnitPrice\\quot\\).value=formatNumber(parseFloat(a[3])\\comma\\\\quot\\//pound////pound////pound////pound////pound////pound//.00\\quot\\);//crlf////tab////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab////tab//if(a[0].equalsIgnoreCase(sVendorID)) bDone=true;//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab////tab////alert(\\quot\\Could not find item: \\quot\\+sItemID);//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Sets the default price for the currently selected item.  Also updates the last //crlf////tab//price paid since these are the same.  Called when the dialog is opened and by //crlf////tab//setDefaultPurchaseSize().//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function setDefaultPrice(DialogID) {//crlf////tab////tab//var sItemID=document.getElementById(DialogID+\\quot\\InvoiceDetailSelectItem_input_submit\\quot\\).value;//crlf////tab////tab//var dPrefix=parseFloat(document.getElementById(DialogID+\\quot\\SizePrefix\\quot\\).value);//crlf////tab////tab//var sUnit=document.getElementById(DialogID+\\quot\\SizeUnit\\quot\\).value;//crlf////crlf////tab////tab////if the size is valid\\comma\\ set the default price //crlf////tab////tab//appendToLog(\\quot\\setDefaultPrice dPrefix=\\quot\\+dPrefix+\\quot\\ sUnit=\\quot\\+sUnit);//crlf////tab////tab//if((dPrefix!=0) //amp////amp// (sUnit!=\\quot\\0\\quot\\)) {//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//get the hidden elsement containing purchase sizes and price by vendor for each item//crlf////tab////tab////tab//This is a select element created in the invoice dialog using the Aspect_BackOffice_Default_Purchase_Info collection.//crlf////tab////tab////tab//The format of options is //crlf////tab////tab////tab////tab//<option value=\\quot\\[ItemID]\\quot\\>//crlf////tab////tab////tab////tab////tab//vendor1 code]vendor1 size prefix~~pipe~~vendor1 size unit~~pipe~~vendor1 price~~pipe~~vendor1 size\\comma\\//crlf////tab////tab////tab////tab////tab//vendor2 code]vendor2 size prefix~~pipe~~vendor2 size unit~~pipe~~vendor2 price~~pipe~~vendor2 size\\comma\\//crlf////tab////tab////tab////tab////tab//vendor3 code]vendor3 size prefix~~pipe~~vendor3 size unit~~pipe~~vendor3 price~~pipe~~vendor3 size//crlf////tab////tab////tab////tab//</option>//crlf////tab////tab////tab////crlf////tab////tab////tab////tab//e.g. <option value=\\quot\\1\\quot\\>1~~pipe~~1~~pipe~~5~~pipe~~23.74~~pipe~~ Litre\\comma\\0~~pipe~~1~~pipe~~20~~pipe~~0~~pipe~~ Bt750\\comma\\0~~pipe~~1~~pipe~~5~~pipe~~0~~pipe~~ Litre</option>//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab//var ePurchaseInfo=document.getElementById(DialogID+\\quot\\DefaultPurchaseInfo\\quot\\);//crlf////crlf////tab////tab////tab////get the input containing the vendor ID//crlf////tab////tab////tab//var eVendorID=document.getElementById(DialogID+\\quot\\VendorID\\quot\\);//crlf////tab////tab////tab//var sVendorID=eVendorID.value;//crlf////crlf////tab////tab////tab////locate the item in the list and update the size prefix and unit//crlf////tab////tab////tab//for(var i=0;i<ePurchaseInfo.options.length;i++) {//crlf////tab////tab////tab////tab//if(ePurchaseInfo.options[i].value.equalsIgnoreCase(sItemID)) {//crlf////tab////tab////tab////tab////tab////get the purchase size info.  This is a comma-delimited string containing three //crlf////tab////tab////tab////tab////tab////records.  Each record is a pipe-delimited string containing //crlf////tab////tab////tab////tab////tab////VendorID ~~pipe~~ Size Prefix ~~pipe~~ Size Unit ~~pipe~~ Price ~~pipe~~ Formatted Size//crlf////tab////tab////tab////tab////tab//var arVendorInfo=getSubStringArray(ePurchaseInfo.options[i].text\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab////tab////tab//var bDone=false;//crlf////tab////tab////tab////tab////tab//for(var j=0;((!bDone) //amp////amp// (j<arVendorInfo.length));j++) {//crlf////tab////tab////tab////tab////tab////tab//var a=getSubStringArray(arVendorInfo[j]\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab////tab////tab////tab//if((parseFloat(a[1])==dPrefix) //amp////amp// (a[2].equalsIgnoreCase(sUnit))) {//crlf////tab////tab////tab////tab////tab////tab////tab//document.getElementById(DialogID+\\quot\\UnitPrice\\quot\\).value=a[3];//crlf////tab////tab////tab////tab////tab////tab////tab//document.getElementById(DialogID+\\quot\\LastUnitPrice\\quot\\).value=formatNumber(parseFloat(a[3])\\comma\\\\quot\\//pound////pound////pound////pound////pound////pound//.00\\quot\\);//crlf////tab////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab////tab//if(a[0].equalsIgnoreCase(sVendorID)) bDone=true;//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab////tab////alert(\\quot\\Could not find item: \\quot\\+sItemID);//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Sets the default purchase size for the currently selected item by looking up //crlf////tab//the purchase information in the hidden element containing data for all items.//crlf////tab//e is the visible element used to select the item.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function setDefaultPurchaseSize(e) {//crlf////tab////tab////get the ID of the hidden input used to submit the data.  This input will contain the Item ID.//crlf////tab////tab//var eHiddenInput=document.getElementById(e.id+\\quot\\_submit\\quot\\);//crlf////tab////tab//var sItemID=eHiddenInput.value;//crlf////crlf////tab////tab////get the DialogID.  This is used to locate the hidden select box containing the default //crlf////tab////tab////purchase sises and prices//crlf////tab////tab//var sDialogID=e.getAttribute(\\quot\\DialogID\\quot\\);//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//get the hidden elsement containing purchase sizes and price by vendor for each item//crlf////tab////tab//This is a select element created in the invoice dialog using the Aspect_BackOffice_Default_Purchase_Info collection.//crlf////tab////tab//The format of options is //crlf////tab////tab////tab//<option value=\\quot\\[ItemID]\\quot\\>//crlf////tab////tab////tab////tab//vendor1 code]~~pipe~~vendor1 size prefix]~~pipe~~[vendor1 size unit]~~pipe~~[vendor1 price]~~pipe~~vendor1 size]\\comma\\//crlf////tab////tab////tab////tab//vendor2 code]~~pipe~~vendor2 size prefix]~~pipe~~[vendor2 size unit]~~pipe~~[vendor2 price]~~pipe~~vendor2 size]\\comma\\//crlf////tab////tab////tab////tab//vendor3 code]~~pipe~~vendor3 size prefix]~~pipe~~[vendor3 size unit]~~pipe~~[vendor3 price]~~pipe~~vendor3 size]//crlf////tab////tab////tab//</option>//crlf////tab////tab////crlf////tab////tab////tab//e.g. <option value=\\quot\\1\\quot\\>1~~pipe~~1~~pipe~~5~~pipe~~23.74~~pipe~~ Litre\\comma\\0~~pipe~~1~~pipe~~20~~pipe~~0~~pipe~~ Bt750\\comma\\0~~pipe~~1~~pipe~~5~~pipe~~0~~pipe~~ Litre</option>//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//var ePurchaseInfo=document.getElementById(sDialogID+\\quot\\DefaultPurchaseInfo\\quot\\);//crlf////crlf////tab////tab////get the input containing the vendor ID//crlf////tab////tab//var eVendorID=document.getElementById(sDialogID+\\quot\\VendorID\\quot\\);//crlf////tab////tab//var sVendorID=eVendorID.value;//crlf////crlf////tab////tab////locate the item in the list and update the size prefix and unit//crlf////tab////tab//for(var i=0;i<ePurchaseInfo.options.length;i++) {//crlf////tab////tab////tab//if(ePurchaseInfo.options[i].value.equalsIgnoreCase(sItemID)) {//crlf////tab////tab////tab////tab//var dPrefix=0;//crlf////tab////tab////tab////tab//var sUnitID=\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//var dPrice=0;//crlf////tab////tab////tab////tab//var sFormattedSize=\\quot\\\\quot\\;//crlf////crlf////tab////tab////tab////tab////get the purchase size info.  This is a comma-delimited string containing three //crlf////tab////tab////tab////tab////records.  Each record is a pipe-delimited string containing //crlf////tab////tab////tab////tab////VendorID ~~pipe~~ Size Prefix ~~pipe~~ Size Unit ~~pipe~~ Price ~~pipe~~ Formatted Size//crlf////tab////tab////tab////tab////appendToLog(\\quot\\sVendorID=\\quot\\+sVendorID);//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Getting default size from: \\quot\\+ePurchaseInfo.options[i].text);//crlf////tab////tab////tab////tab//var arVendorInfo=getSubStringArray(ePurchaseInfo.options[i].text\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab////tab//var bDone=false;//crlf////tab////tab////tab////tab//for(var j=0;((!bDone) //amp////amp// (j<arVendorInfo.length));j++) {//crlf////tab////tab////tab////tab////tab//var a=getSubStringArray(arVendorInfo[j]\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////crlf////tab////tab////tab////tab////tab////initialize the defaults using the first valid entry//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\a[1]=\\quot\\+a[1]);//crlf////tab////tab////tab////tab////tab//if(parseFloat(a[1])>0) {//crlf////tab////tab////tab////tab////tab////tab//dPrefix=parseFloat(a[1]);//crlf////tab////tab////tab////tab////tab////tab//sUnitID=a[2];//crlf////tab////tab////tab////tab////tab////tab//dPrice=parseFloat(a[3]);//crlf////tab////tab////tab////tab////tab////tab//sFormattedSize=a[4];//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\dPrefix=\\quot\\+dPrefix+\\quot\\ sUnitID=\\quot\\+sUnitID+\\quot\\ dPrice=\\quot\\+dPrice+\\quot\\ sFormattedSize=\\quot\\+sFormattedSize);//crlf////tab////tab////tab////tab////tab////tab//if(a[0].equalsIgnoreCase(sVendorID)) bDone=true;//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//if((dPrefix!=0) //amp////amp// (sUnitID!=\\quot\\0\\quot\\)) {//crlf////tab////tab////tab////tab////tab////set the size prefix and submit it//crlf////tab////tab////tab////tab////tab//var ePrefix=document.getElementById(sDialogID+\\quot\\SizePrefix\\quot\\);//crlf////tab////tab////tab////tab////tab//ePrefix.value=dPrefix;//crlf////tab////tab////tab////tab////tab//submitDialogCell(ePrefix);//crlf////crlf////tab////tab////tab////tab////tab////set the size unit and submit it//crlf////tab////tab////tab////tab////tab//var eUnit=document.getElementById(sDialogID+\\quot\\SizeUnit\\quot\\);//crlf////tab////tab////tab////tab////tab//eUnit.value=sUnitID;//crlf////tab////tab////tab////tab////tab//submitDialogCell(eUnit);//crlf////crlf////tab////tab////tab////tab////tab////record the default price in the hidden input//crlf////tab////tab////tab////tab////tab//document.getElementById(sDialogID+\\quot\\UnitPrice\\quot\\).value=dPrice;//crlf////crlf////tab////tab////tab////tab////tab////set the formatted size//crlf////tab////tab////tab////tab////tab//document.getElementById(sDialogID+\\quot\\SizeReadOnly\\quot\\).innerHTML=sFormattedSize;//crlf////crlf////tab////tab////tab////tab////tab////if the quantity is nonzero and the amount is zero\\comma\\ set the amount and submit it//crlf////tab////tab////tab////tab////tab//var eQuantity=document.getElementById(sDialogID+\\quot\\Quantity\\quot\\);//crlf////tab////tab////tab////tab////tab//var eAmount=document.getElementById(sDialogID+\\quot\\Amount\\quot\\);//crlf////tab////tab////tab////tab////tab//if(parseFloat(eQuantity.value)!=0) {//crlf////tab////tab////tab////tab////tab////tab//if(parseFloat(eAmount.value)==0) {//crlf////tab////tab////tab////tab////tab////tab////tab//eAmount.value=parseFloat(eQuantity.value)*dPrice;//crlf////tab////tab////tab////tab////tab////tab////tab//submitDialogCell(dAmount);//crlf////tab////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab////tab////disable editing of the size since a valid size has been found//crlf////tab////tab////tab////tab////tab//enableSizeEdit(sDialogID\\comma\\false);//crlf////crlf////tab////tab////tab////tab////tab////focus the quantity input//crlf////tab////tab////tab////tab////tab//document.getElementById(sDialogID+\\quot\\Quantity\\quot\\).focus();//crlf////crlf////tab////tab////tab////tab////tab//setDefaultPrice(sDialogID)//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else {//crlf////tab////tab////tab////tab////tab////enable editing of the size since a valid size was not found//crlf////tab////tab////tab////tab////tab//enableSizeEdit(sDialogID\\comma\\true)//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//function invoiceDetailNextButtonKeyDown(evt\\comma\\e) {//crlf////tab////tab//var key=evt.keyCode ? evt.keyCode : evt.which ? evt.which : evt.charCode;//crlf////tab////tab//if(key==27) {//crlf////tab////tab////tab//closeInvoiceDetailDialog(e);//crlf////tab////tab//};//crlf////tab//};//crlf//</script>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Dialog used to edit a record//crlf//--------------------------------------------------------------------------]//crlf//<div ID=\\quot\\Aspect_Back_Office_Invoice_Detail__DialogID__\\quot\\ DialogIDSalt=\\quot\\__DialogID__\\quot\\ salt=\\quot\\__salt__\\quot\\ aspectinit=\\quot\\editInvoiceDetail\\quot\\ class=\\quot\\default_table_dialog\\quot\\ AdjustHeight=\\quot\\false\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:350px; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory 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 ID=\\quot\\__DialogID__CloseIcon\\quot\\ class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeInvoiceDetailDialog(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__invoicedetail')\\quot\\>Invoice Item</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__invoicedetail'>Invoice Item</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__HiddenItemID\\quot\\ name=\\quot\\ItemID\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__HiddenItemName\\quot\\ name=\\quot\\Item_Name\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__Imported_Item_Name\\quot\\ name=\\quot\\Imported_Item_Name\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__Imported_Item_Code\\quot\\ name=\\quot\\Imported_Item_Code\\quot\\>//crlf////crlf////tab////tab//<!-- Main -->//crlf////tab////tab//<div ID=\\quot\\__salt__invoicedetail\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<table ID=\\quot\\__DialogID__InvoiceDetailDialogTable\\quot\\ class=\\quot\\inline\\quot\\ style=\\quot\\max-width:350px\\quot\\>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__salt__VendorName\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>//amp//nbsp;</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<span name=\\quot\\Imported_Item_Name\\quot\\></span>\\comma\\//amp//nbsp;//crlf////tab////tab////tab////tab////tab////tab//<span name=\\quot\\Imported_Pack_Size\\quot\\></span>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Item</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab////tab//< !!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Inventory_Items_by_ID_with_Select\\quot\\\\comma\\\\quot\\ItemID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\class=\\quot\\+quote(\\quot\\long\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)+\\quot\\ onkeydown=\\quot\\+quote(\\quot\\return keyDown(event\\comma\\this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\\\comma\\\\quot\\Record_Type=1\\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\\__DialogID__InvoiceDetailSelectItem\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Name:\\quot\\ItemID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Items_Vendor_Code_by_ID_with_Select\\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\\placeholder='Type an item name' DefaultFocus='true' class='long' Salt='__salt__' DialogID='__DialogID__' onChange='invoiceDetailItemSelected(this)'\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__~~pipe~~VendorID=__VendorID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Filter:\\quot\\(Record_Type=1) and (not(Deleted))\\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////tab//<input type=\\quot\\checkbox\\quot\\ ID=\\quot\\__DialogID__ShowAllItems\\quot\\ tabstop=\\quot\\false\\quot\\ checked=\\quot\\checked\\quot\\ onkeydown=\\quot\\return keyDown(event\\comma\\this);\\quot\\ onChange=\\quot\\showAllInvoiceDetailSelections(this\\comma\\'__DialogID__')\\quot\\> Select from all items//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__DialogID__TRSizeReadOnly\\quot\\>//crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//This row displays the size using a span.  The size can be edited by clicking on it//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<td>Size</td>//crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//Add width to the td tag so it appears on a row by itself\\comma\\ even when the table is//crlf////tab////tab////tab////tab////tab//displayed inline.//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<td style=\\quot\\width:200px\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<span ID=\\quot\\__DialogID__SizeReadOnly\\quot\\ name=\\quot\\Size\\quot\\ class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\enableSizeEdit('__DialogID__'\\comma\\true)\\quot\\></span>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__DialogID__TRSizeEditable\\quot\\>//crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//This row displays the size as an editable prefix and unit//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<td>Size</td>//crlf////tab////tab////tab////tab////tab//<td style=\\quot\\white-space:nowrap\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<input TYPE=\\quot\\number\\quot\\ ID=\\quot\\__DialogID__SizePrefix\\quot\\ ONCHANGE=\\quot\\invoiceDetailSizePrefixChanged(this\\comma\\'__DialogID__')\\quot\\ onkeydown=\\quot\\return keyDown(event\\comma\\this);\\quot\\ class=\\quot\\number\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Size_Prefix\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab// - //crlf////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Size_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\\quot\\+quote(\\quot\\__DialogID__SizeUnit\\quot\\)+\\quot\\ DialogID='__DialogID__' class=\\quot\\+quote(\\quot\\short\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\invoiceDetailSizeUnitChanged(this)\\quot\\)+\\quot\\ onkeydown=\\quot\\+quote(\\quot\\return keyDown(event\\comma\\this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Quantity</td>//crlf////tab////tab////tab////tab////tab//<td><input TYPE=\\quot\\number\\quot\\ ID=\\quot\\__DialogID__Quantity\\quot\\ ONCHANGE=\\quot\\invoiceDetailQuantityChanged(this\\comma\\'__DialogID__')\\quot\\ onkeydown=\\quot\\return keyDown(event\\comma\\this);\\quot\\ class=\\quot\\number\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Quantity\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Amount</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input TYPE=\\quot\\number\\quot\\ ID=\\quot\\__DialogID__Amount\\quot\\ ONCHANGE=\\quot\\invoiceDetailAmountChanged(this\\comma\\'__DialogID__')\\quot\\ onkeydown=\\quot\\return keyDown(event\\comma\\this);\\quot\\ class=\\quot\\number\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Extended_Price\\quot\\></input>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__DialogID__UnitPriceContainer\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Unit Price</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\number\\quot\\ class=\\quot\\number readonly=\\quot\\readonly\\quot\\ ID=\\quot\\__DialogID__CurrentUnitPrice\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<span ID=\\quot\\__DialogID__PriceChangeNotification\\quot\\></span>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__DialogID__LastUnitPriceContainer\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Last Price</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\number\\quot\\ class=\\quot\\number readonly=\\quot\\readonly\\quot\\ ID=\\quot\\__DialogID__LastUnitPrice\\quot\\> //crlf////tab////tab////tab////tab////tab////tab//<span ID=\\quot\\__DialogID__PriceChangePercent\\quot\\></span>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//<div ID=\\quot\\__DialogID__AddAnotherInvoiceDetailContainer\\quot\\ style=\\quot\\text-align:center;padding-top:10px\\quot\\>//crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ tabstop=\\quot\\true\\quot\\ style=\\quot\\width:80\\percent\\\\quot\\ value=\\quot\\Add Another Item\\quot\\ onkeydown=\\quot\\return invoiceDetailNextButtonKeyDown(event\\comma\\this);\\quot\\ onClick=\\quot\\addAnotherInvoiceDetail('__DialogID__')\\quot\\>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//This is a hidden input used to record the default price.  It is set initially when the dialog is open //crlf////tab////tab////tab//using a calculated field in the structure that divides the extended price by the quantity.  It is //crlf////tab////tab////tab//updated whenever an item is selected by the invoiceDetailItemSelected() function which looks up the //crlf////tab////tab////tab//associated size and price for an item using a collection included in the invoice dialog.//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__DialogID__UnitPrice\\quot\\ name=\\quot\\Unit_Price\\quot\\>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//This is a hidden datalist containing a list of items filtered to the selected vendor.//crlf////tab////tab////tab//This list can be used by the actual item select box by changing the \\quot\\list\\quot\\ attribute//crlf////tab////tab////tab//in the input.//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<!!include type:Collection;//crlf////tab////tab////tab////tab//ID:\\quot\\__DialogID__InvoiceDetailSelectItemAlt\\quot\\;//crlf////tab////tab////tab////tab//Name:\\quot\\ItemID\\quot\\;//crlf////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Items_Vendor_Code_by_ID_with_Select\\quot\\;//crlf////tab////tab////tab////tab//DataList:\\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\class='long' DialogID='__DialogID__' style='display:none' onChange='invoiceDetailItemSelected(this)'\\quot\\;//crlf////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__~~pipe~~VendorID=__VendorID__\\quot\\;//crlf////tab////tab////tab////tab//Filter:\\quot\\(Record_Type=1) and (IS_Vendor_Defined)\\quot\\;//crlf////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////tab//__servertimerresults__//crlf//</div>^
ID=53136|X=183|Y=32|W=799|H=773|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=266415|AttachLeft=|AlignLeft=266415|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<script ID=\\quot\\JS53136\\quot\\>//crlf////tab//function editMenuItemDetail(DialogID\\comma\\bInitialized) {//crlf////tab////tab//var d=document.getElementById(DialogID);//crlf////tab////tab//var salt=d.getAttribute(\\quot\\salt\\quot\\);//crlf////tab////tab//console.log(\\quot\\editMenuItemDetail bInitialized=\\quot\\+bInitialized+\\quot\\ salt=\\quot\\+salt);//crlf////crlf////tab////tab//var sItemID=document.getElementById(salt+\\quot\\ItemID\\quot\\).value;//crlf////tab////tab//var sItemName=document.getElementById(salt+\\quot\\Inventory_Item_Name\\quot\\).value;//crlf////crlf////tab////tab//var eInput=document.getElementById(salt+\\quot\\ItemID_Of_Ingredient_input\\quot\\);//crlf////tab////tab//if((eInput.value.length==0) //amp////amp// (sItemID.length>0)) {//crlf////tab////tab////tab//eDataList=document.getElementById(salt+\\quot\\ItemID_Of_Ingredient\\quot\\);//crlf////tab////tab////tab//var sOption=\\quot\\<option value=\\\quot\\\\quot\\+sItemName+\\quot\\\\\quot\\ aspectid=\\\quot\\\\quot\\+sItemID+\\quot\\\\\quot\\></option>\\quot\\//crlf////tab////tab////tab//eDataList.innerHTML=sOption+eDataList.innerHTML;//crlf////tab////tab////tab//eInput.value=sItemName;//crlf////tab////tab//};//crlf////tab//};//crlf////crlf//</script>//crlf////crlf//<!-- Dialog used to edit a record -->//crlf//<!-- NOTE: Enabling block display causes the dialog to appear when working on the Recipe dialog -->//crlf//<div ID=\\quot\\Aspect_Back_Office_Menu_Item_Detail__DialogID__\\quot\\ salt=\\quot\\__salt__\\quot\\ aspectinit=\\quot\\editMenuItemDetail\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:350px; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory Dialogs\\quot\\\\comma\\\\quot\\noene\\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//<!include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//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__main')\\quot\\>Ingredient</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__notes')\\quot\\>Notes</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab//<select onChange=\\quot\\showTab(this)\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab//<option value='__salt__main'>Ingredient</option>//crlf////tab////tab////tab////tab//<option value='__salt__notes'>Notes</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<input ID=\\quot\\__salt__ItemID\\quot\\ type=\\quot\\hidden\\quot\\ name=\\quot\\ItemID\\quot\\>//crlf////tab////tab//<input ID=\\quot\\__salt__Inventory_Item_Name\\quot\\ type=\\quot\\hidden\\quot\\ name=\\quot\\Inventory_Item_Name\\quot\\>//crlf////crlf////tab////tab//<!-- main -->//crlf////tab////tab//<div ID=\\quot\\__salt__main\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Ingredient</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<conditional expression:defined(\\quot\\__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab////tab////tab//< include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Inventory_Item_Name_For_Menu_Item_Detail\\quot\\\\comma\\\\quot\\ItemID_Of_Ingredient\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:250px\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\\\comma\\\\quot\\(Record_Type=1) or (Allow_as_Batch_Recipe)\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab////tab////tab//<!include type:Collection;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//ID:\\quot\\__salt__ItemID_Of_Ingredient\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//Name:\\quot\\ItemID_Of_Ingredient\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Item_Name_For_Menu_Item_Detail\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//DataList:\\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//SubmitDialogCell:\\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\style='width:275px'\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//Filter:\\quot\\((Record_Type=1) or (Allow_as_Batch_Recipe)) and (not(Deleted))\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//>//crlf////crlf////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab//<conditional expression:not(defined(\\quot\\__StoreID__\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab////tab//<select style=\\quot\\width:250px\\quot\\></select>//crlf////tab////tab////tab////tab////tab////tab//</conditional>//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>Quantity</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Quantity\\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>Size</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Size_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Size_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Notes -->//crlf////tab////tab//<div ID=\\quot\\__salt__notes\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<textarea ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:100\\percent\\;\\quot\\ rows=\\quot\\10\\quot\\ NAME=\\quot\\Notes\\quot\\></textarea>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</div>//crlf////crlf//^
ID=669146|X=183|Y=32|W=675|H=774|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=266415|AttachLeft=|AlignLeft=266415|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\Aspect_Back_Office_Menu_Item_Sales__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:420px; width:auto; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>\\quot\\>//crlf////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab//<img onclick=\\quot\\closeTableEditDialog(this)\\quot\\ style=\\quot\\float:right;display:block\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getImage//amp//filename=close20x20.png\\quot\\>//crlf////crlf////tab////tab//<!-- Create a random ID used in the tab ID's below.  This is necessary when the table is included several times in one container.  //crlf////tab////tab////tab//If the tabs and associated divs do not have unique ID's\\comma\\ they will not be shown/hidden properly. -->//crlf////tab////tab//<include type:expression; expression:htmlConstant(\\quot\\tabrandom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////tab////tab////crlf////tab////tab//<div style=\\quot\\width:100\\percent\\; border-bottom:solid 1px //pound//c9c9c9\\quot\\>//crlf////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'__tabrandom__Main')\\quot\\>Main</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Main -->//crlf////tab////tab//<div ID=\\quot\\__tabrandom__Main\\quot\\ style=\\quot\\height:350px;\\quot\\>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Menu Item ID</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Menu_Items_by_ID_with_Select\\quot\\\\comma\\\\quot\\Menu_Item_ID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\Store=__Store__\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Quantity</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\\Quantity\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Sales</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Sales\\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>Comps</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\\Comps\\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//^
ID=90182|X=183|Y=32|W=645|H=197|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=266415|AttachLeft=|AlignLeft=266415|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\ASPECT_BACK_OFFICE_PHYSICAL_COUNT__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:350px; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory 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__Main')\\quot\\>Edit Physical Count</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'>Edit Physical Count</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>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td style=\\quot\\padding:0px 0px 10px 0px\\quot\\>Item Name</td>//crlf////tab////tab////tab////tab////tab//<td style=\\quot\\padding:0px 0px 10px 0px\\quot\\><span name=\\quot\\Inventory_Item_Name\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Count Size</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Size_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input> //crlf////tab////tab////tab////tab////tab////tab//- //crlf////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Size_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Physical Count</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Physical_Count\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab//`//tab////tab//<br><br>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf//^
ID=383031|X=183|Y=32|W=523|H=406|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=266415|AttachLeft=|AlignLeft=266415|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 in the full conversions table -->//crlf//<div ID=\\quot\\Aspect_Back_Office_Conversions__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:350px; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory 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//<!-- Create a random ID used in the tab ID's below.  This is necessary when the table is included several times in one container.  //crlf////tab////tab////tab//If the tabs and associated divs do not have unique ID's\\comma\\ they will not be shown/hidden properly. -->//crlf////tab////tab//<include type:expression; expression:htmlConstant(\\quot\\convtabrandom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////tab////tab////crlf////tab////tab//<div style=\\quot\\width:100\\percent\\; border-bottom:solid 1px //pound//c9c9c9\\quot\\>//crlf////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'__convtabrandom__Main')\\quot\\>Edit Conversion</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Main -->//crlf////tab////tab//<div ID=\\quot\\__convtabrandom__Main\\quot\\ style=\\quot\\height:auto;width:100\\percent\\;margin:10px 10px 10px 0px\\quot\\>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Item</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Inventory_Items_by_ID_with_Select\\quot\\\\comma\\\\quot\\Inventory_Item_ID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:200px\\quot\\)+\\quot\\ 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>Size</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Size_ID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:200px\\quot\\)+\\quot\\ 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>Amount</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Amount\\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//^
ID=394329|X=183|Y=32|W=680|H=645|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=266415|AttachLeft=|AlignLeft=266415|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 for a specific item in the edit inventory item dialog -->//crlf//<div ID=\\quot\\Aspect_Back_Office_Conversions__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:275px;display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory 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//<!-- Create a random ID used in the tab ID's below.  This is necessary when the table is included several times in one container.  //crlf////tab////tab////tab//If the tabs and associated divs do not have unique ID's\\comma\\ they will not be shown/hidden properly. -->//crlf////tab////tab//<include type:expression; expression:htmlConstant(\\quot\\tabrandom394329\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////tab////tab////crlf////tab////tab//<div style=\\quot\\width:100\\percent\\; border-bottom:solid 1px //pound//c9c9c9\\quot\\>//crlf////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__tabrandom394329__Main')\\quot\\>Edit Conversion</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Main -->//crlf////tab////tab//<div ID=\\quot\\__tabrandom394329__Main\\quot\\ style=\\quot\\height:auto;width:100\\percent\\;margin:10px 10px 10px 0px;\\quot\\>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Size</td>//crlf////tab////tab////tab////tab////tab//<td><!!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Size_ID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:200px\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\\\comma\\\\quot\\Type=4\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Amount</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Amount\\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//^
ID=116968|X=183|Y=32|W=616|H=605|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=266415|AttachLeft=|AlignLeft=266415|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__salt__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<script ID=\\quot\\JSASPECT_BACK_OFFICE_PHYSICAL_COUNT_LIST_DIALOG\\quot\\>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Updates the default size when the item selection changes//crlf////tab//--------------------------------------------------------------------------]//crlf////tab////function countListItemSelected(e) {//crlf////tab//function dataSubmittedListenerItemID(HashID\\comma\\TableID\\comma\\DriverID\\comma\\Key\\comma\\Value) {//crlf////tab////tab//var salt=replaceAllSubstrings(TableID\\comma\\\\quot\\physicalcountlist\\quot\\\\comma\\\\quot\\\\quot\\);//crlf////tab////tab//appendToLog(\\quot\\dataSubmittedListenerItemID salt=\\quot\\+salt);//crlf////tab////tab//var eDefaultSize=document.getElementById(\\quot\\DefaultSize\\quot\\+salt);//crlf////tab////tab//var sStoreID=document.getElementById(\\quot\\StoreID\\quot\\+salt).value;//crlf////tab////tab//var sItemID=document.getElementById(\\quot\\ItemID\\quot\\+salt).value;//crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Items\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=sensor_list//amp//sensor=getDefaultSize//amp//SensorExec=true\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+sStoreID+\\quot\\//amp//ItemID=\\quot\\+sItemID+\\quot\\//amp//Return=Size\\quot\\;//crlf////tab////tab//showStatusIcon(eDefaultSize);//crlf////tab////tab//asynchInclude(eDefaultSize\\comma\\sUrl);//crlf////tab//};//crlf//</script>//crlf////crlf//<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\ASPECT_BACK_OFFICE_PHYSICAL_COUNT_LIST__DialogID__\\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\\Inventory 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//<!--//tab//Note:  If a a Javascript function named initializeDialogxxx where xxx is the dialog ID is defined\\comma\\ //crlf////tab////tab////tab//it will be called//tab//after the dialog values have been set and before the dialog is made visible.//crlf////tab////tab////tab////crlf////tab////tab////tab//An initialization function may also be specified by including it in an attribute named 'aspectinit'//crlf////tab////tab////tab//in the dialog div above.  Only include the function name with no parentheses or arguments.  //crlf////tab////tab////tab//Arguments can be made//tab//available to the function by including them as attributes or by embedding //crlf////tab////tab////tab//them in this div.  Use this method when the dialog ID is randomized to allow for multiple instances//crlf////tab////tab////tab//in one document.//crlf////crlf////tab////tab////tab//If an Aspect script is defined with the ID xxx_DataSubmitted where xxx is the driver ID\\comma\\ it will//crlf////tab////tab////tab//be called whenever data is submitted due to an edit in either the table or the dialog.//crlf////tab////tab////tab//Arguments passed to the script are in the form://crlf////crlf////tab////tab////tab////tab//driver=xxx//amp//r=n//amp//fields=//amp//values=//crlf////crlf////tab////tab////tab//where driver is the name of a system driver\\comma\\ r is the absolute record number\\comma\\//crlf////tab////tab////tab//fields is a pipe-delimited list of field ID's and values is a pipe-delimited list of//crlf////tab////tab////tab//values.  Ampersands and pipes in the values are tokenized by surrounding//crlf////tab////tab////tab//them with two forward slashes.//crlf////tab////tab//-->//crlf// //crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\TextFieldWidth\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\300px\\quot\\)>//crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\NumberFieldWidth\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\150px\\quot\\)>//crlf////crlf////tab////tab//<!-- used to lookup the default size for an item when the item selection changes -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\StoreID__salt__\\quot\\ value=\\quot\\__StoreID__\\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__main')\\quot\\>Edit Item</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__main'>Edit Item</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>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Item Name</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//Comment: \\quot\\Use ~0x3B~ for semicolon in htmlparams to separate multiple javascript commands\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Comment: \\quot\\Single or double quotes are ok in filter.  If the filter is modified using javascript\\comma\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Comment: \\quot\\use single quotes in the javascript.  The getHtmlSelectOptions query in the notificaiton container\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Comment: \\quot\\converts single quotes to double quotes before calling getCollection.\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ID:\\quot\\ItemID__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Name:\\quot\\ItemID\\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//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Items_by_ID_with_Select\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//_HtmlParams:\\quot\\onChange=\\quot\\submitDialogCell(this)~0x3B~countListItemSelected(this)\\quot\\ style=\\quot\\width:250px\\quot\\ Salt=\\quot\\__Salt__\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\style=\\quot\\width:250px\\quot\\ Salt=\\quot\\__Salt__\\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\\(Record_Type=1) or (Include_In_Inventory_Count)\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab//</tr>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//This can be deleted//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Count Group</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Count_Group_Name_By_ID_With_Select\\quot\\\\comma\\\\quot\\GroupID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:250px\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Default Size</td>//crlf////tab////tab////tab////tab////tab//<td><span ID=\\quot\\DefaultSize__Salt__\\quot\\ name=\\quot\\Default_Size\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//<div style=\\quot\\padding-top:10px\\quot\\>//crlf////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Override_Count_Size\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input>//crlf////tab////tab////tab////tab//Change count size to //crlf////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Override_Size_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Override_Size_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf//^
ID=65230|X=422|Y=15|W=256|H=23|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=266415|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=Inventory Item Type://crlf//<select ID=\\quot\\testRecordType\\quot\\ DialogID=\\quot\\test\\quot\\ onChange=\\quot\\initializeItemDialog(this.id)\\quot\\>//crlf////tab//<option value=\\quot\\-1\\quot\\>-- Select Record Type --</option>//crlf////tab//<option value=\\quot\\0\\quot\\>New Record</option>//crlf////tab//<option value=\\quot\\1\\quot\\>Inventory Item</option>//crlf////tab//<option value=\\quot\\2\\quot\\>Recipe</option>//crlf//</select>^
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\\'517459')\\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\\'263049')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=517459|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=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=[!------------------------------------------------------------------------//crlf//NOTE: 2017-01: THIS SCRIPT IS NOT USED.  INSTEAD\\comma\\ VENDOR INFORMATION IS //crlf//UPDATED IN THE INVENTORY ITEM RECORD USING A DRIVER LISTENER.  //crlf//THE Aspect_Back_Office_Invoice_Detail_DataSubmitted SCRIPT IN THE ASPECT BACKOFFICE//crlf//PACKAGE REPLACES THIS SCRIPT.//crlf////crlf//Update the vendor code for an item.  Called when an item is selected in the //crlf//edit invoice detail dialog.//crlf////crlf//Params://crlf////tab//StoreID - Store ID//crlf////tab//ItemID - Item ID//crlf////tab//VendorID - Vendor ID//crlf////tab//VendorItemCode - Vendor item code//crlf////tab//SizePrefix - Size prefix//crlf////tab//SizeUnit - Size unit//crlf////tab//SizePrice - Size price//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\updateVendorInfo\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//return()//crlf////crlf////tab////tab//appendToLog(\\quot\\updateVendorInfo\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\ItemID=__ItemID__\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\VendorID=__VendorID__\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\VendorItemCode=__VendorItemCode__\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\SizePrefix=__SizePrefix__\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\SizeUnit=__SizeUnit__\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\SizePrice=__SizePrice__\\quot\\)//crlf////crlf////tab////tab////open the driver//crlf////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Item\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////crlf////tab////tab////remove the vendor item code from any records in which it already exists.  This is done so //crlf////tab////tab////there will not be two items with the same vendor item code//crlf////tab////tab//if(defined(\\quot\\__VendorItemCode__\\quot\\))//crlf////tab////tab////tab//nIndex=1//crlf////tab////tab////tab//while(nIndex<4)//crlf////tab////tab////tab////tab//sFilter=\\quot\\(not(ID=\\quot\\+quote(\\quot\\__ItemID__\\quot\\)+\\quot\\))\\quot\\//crlf////tab////tab////tab////tab//sFilter=sFilter+\\quot\\ and (Vendor\\quot\\+nIndex+\\quot\\=\\quot\\+quote(\\quot\\__VendorID__\\quot\\)+\\quot\\) and (Vendor\\quot\\+nIndex+\\quot\\_Code=\\quot\\+quote(\\quot\\__VendorItemCode__\\quot\\)+\\quot\\)\\quot\\//crlf////tab////tab////tab////tab//appendToLog(\\quot\\sFilter=\\quot\\+sFilter)//crlf////tab////tab////tab////tab//driverSetFilter(d\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab////tab//c=driverGetRecordCount(d)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\Vendor\\quot\\+nIndex+\\quot\\_Code\\quot\\\\comma\\n\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Removing vendor code __VendorItemCode__ from item with ID=\\quot\\+driverGetField(d\\comma\\\\quot\\ID\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//n++//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//nIndex++//crlf////tab////tab////tab//endwhile//crlf////tab////tab//endif//crlf////crlf////tab////tab////record the vendor info in the current item//crlf////tab////tab//sFilter=\\quot\\ID=\\quot\\+quote(\\quot\\__ItemID__\\quot\\)//crlf////tab////tab//r=driverFindRecordAbsolute(d\\comma\\0\\comma\\sFilter)//crlf////tab////tab//if(r>=0)//crlf////tab////tab////tab//sVendorID1=driverGetFieldAbsolute(d\\comma\\\\quot\\Vendor1\\quot\\\\comma\\r)//crlf////tab////tab////tab//sVendorID2=driverGetFieldAbsolute(d\\comma\\\\quot\\Vendor2\\quot\\\\comma\\r)//crlf////tab////tab////tab//sVendorID3=driverGetFieldAbsolute(d\\comma\\\\quot\\Vendor3\\quot\\\\comma\\r)//crlf////tab////tab////tab//Index=-1//crlf////tab////tab////tab//if(sVendorID1=\\quot\\__VendorID__\\quot\\)//crlf////tab////tab////tab////tab//Index=1//crlf////tab////tab////tab//elseif(sVendorID2=\\quot\\__VendorID__\\quot\\)//crlf////tab////tab////tab////tab//Index=2//crlf////tab////tab////tab//elseif(sVendorID3=\\quot\\__VendorID__\\quot\\)//crlf////tab////tab////tab////tab//Index=3//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Shifting vendors to open record 1\\quot\\)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Vendor3\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(d\\comma\\\\quot\\Vendor2\\quot\\\\comma\\r))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Vendor3_Size_Prefix\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(d\\comma\\\\quot\\Vendor2_Size_Prefix\\quot\\\\comma\\r))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Vendor3_Size_Unit\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(d\\comma\\\\quot\\Vendor2_Size_Unit\\quot\\\\comma\\r))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Vendor3_Code\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(d\\comma\\\\quot\\Vendor2_Code\\quot\\\\comma\\r))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Vendor3_Price\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(d\\comma\\\\quot\\Vendor2_Price\\quot\\\\comma\\r))//crlf////crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Vendor2\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(d\\comma\\\\quot\\Vendor1\\quot\\\\comma\\r))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Vendor2_Size_Prefix\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(d\\comma\\\\quot\\Vendor1_Size_Prefix\\quot\\\\comma\\r))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Vendor2_Size_Unit\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(d\\comma\\\\quot\\Vendor1_Size_Unit\\quot\\\\comma\\r))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Vendor2_Code\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(d\\comma\\\\quot\\Vendor1_Code\\quot\\\\comma\\r))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Vendor2_Price\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(d\\comma\\\\quot\\Vendor1_Price\\quot\\\\comma\\r))//crlf////crlf////tab////tab////tab////tab//Index=1//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\sVendorID1=\\quot\\+sVendorID1+\\quot\\ sVendorID2=\\quot\\+sVendorID2+\\quot\\ sVendorID3=\\quot\\+sVendorID3+\\quot\\ Index=\\quot\\+Index)//crlf////crlf////tab////tab////tab//if(defined(\\quot\\__VendorID__\\quot\\))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Vendor\\quot\\+Index\\comma\\r\\comma\\\\quot\\__VendorID__\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Set Vendor\\quot\\+Index+\\quot\\=__VendorID__\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//if(defined(\\quot\\__VendorItemCode__\\quot\\))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Vendor\\quot\\+Index+\\quot\\_Code\\quot\\\\comma\\r\\comma\\\\quot\\__VendorItemCode__\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Set Vendor\\quot\\+Index+\\quot\\_Code=__VendorItemCode__\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//if(defined(\\quot\\__SizePrefix__\\quot\\))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Vendor\\quot\\+Index+\\quot\\_Size_Prefix\\quot\\\\comma\\r\\comma\\\\quot\\__SizePrefix__\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Set Vendor\\quot\\+Index+\\quot\\_Size_Prefix=__SizePrefix__\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//if(defined(\\quot\\__SizeUnit__\\quot\\))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Vendor\\quot\\+Index+\\quot\\_Size_Unit\\quot\\\\comma\\r\\comma\\\\quot\\__SizeUnit__\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Set Vendor\\quot\\+Index+\\quot\\_Size_Unit=__SizeUnit__\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//if(defined(\\quot\\__SizePrice__\\quot\\))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Vendor\\quot\\+Index+\\quot\\_Price\\quot\\\\comma\\r\\comma\\\\quot\\__SizePrice__\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Set Vendor\\quot\\+Index+\\quot\\_Price=__SizePrice__\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//else//crlf////tab////tab////tab//appendToLog(\\quot\\Error: Cannot locate item with ID=__ItemID__\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab//driverClose(d)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Gets the price of an item//crlf////crlf//Params://crlf////tab//StoreID - ID of the store//crlf////tab//ItemID - ID of the inventory item for which sizes are to be converted//crlf////tab//Date - Date for which the price will be calculated in MM-dd-yyyy format//crlf////tab//Qty - Quantity on hand for which a price will be calculated//crlf////tab//Prefix - Prefix of the size for which the price will be calculated//crlf////tab//SizeID - ID of the size for which the price will be calculated//crlf////crlf//Returns://crlf////tab//The price of the given quantity of the given item on the given date//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\calcPrice\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\calcPrice Store=__StoreID__ Item=__ItemID__ Date=__Date__ Qty=__Qty__ Prefix=__Prefix__ Size=__SizeID__\\quot\\)//crlf////tab////tab//P=calcPrice(\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\__Date__\\quot\\\\comma\\__Qty__\\comma\\__Prefix__\\comma\\\\quot\\__SizeID__\\quot\\)//crlf////tab////tab//scriptSetResult(formatNumber(P\\comma\\\\quot\\0.00\\quot\\))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Converts a quantity from one size the quantity for a second size//crlf////crlf//Params://crlf////tab//ItemID - ID of the inventory item for which sizes are to be converted//crlf////tab//Aspect7StoreID - ID of the store//crlf////tab//FromAmount - Amount of the first size//crlf////tab//FromPrefix - Prefix of the first size//crlf////tab//FromSizeID - ID of the unit of the first size//crlf////tab//ToPrefix - Prefix of the second size//crlf////tab//ToSizeID - ID of the unit of the second size//crlf////crlf//Returns://crlf////tab//A numeric value for the amount of the second size//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\convertSize\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\convertSize(__ItemID__\\comma\\__StoreID__\\comma\\__FromAmount__\\comma\\__FromPrefix__\\comma\\__FromSizeID__\\comma\\__ToPrefix__\\comma\\__ToSizeID__)\\quot\\)//crlf////tab////tab//d=convertSize(\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\__FromAmount__\\comma\\__FromPrefix__\\comma\\\\quot\\__FromSizeID__\\quot\\\\comma\\__ToPrefix__\\comma\\\\quot\\__ToSizeID__\\quot\\)//crlf////tab////tab//scriptSetResult(formatNumber(d\\comma\\\\quot\\0.//pound////pound////pound////pound//\\quot\\))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf//^
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_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Dialogs.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Dialogs.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=263049|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=759192|X=183|Y=32|W=683|H=591|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=266415|AttachLeft=|AlignLeft=266415|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\ASPECT_BACK_OFFICE_PREP_LOG__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:auto; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>;\\quot\\>//crlf////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab//<img onclick=\\quot\\closeTableEditDialog(this)\\quot\\ style=\\quot\\float:right;display:block\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getImage//amp//filename=close20x20.png\\quot\\>//crlf////crlf////tab////tab//<!-- Create a random ID used in the tab ID's below.  This is necessary when the table is included several times in one container.  //crlf////tab////tab////tab//If the tabs and associated divs do not have unique ID's\\comma\\ they will not be shown/hidden properly. -->//crlf////tab////tab//<include type:expression; expression:htmlConstant(\\quot\\tabrandom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////tab////tab////crlf////tab////tab//<span name=\\quot\\Inventory_Item_Name\\quot\\></span><br>//crlf////tab////tab//<br>//crlf////crlf////tab////tab//<table>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Time</td>//crlf////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:80px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Time\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Employee ID</td>//crlf////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\POS_Generic_Employee_Name_Last_First\\quot\\\\comma\\\\quot\\Employee_ID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\))></td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</table>//crlf////tab////tab//Quantity <input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Quantity\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Size_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input> //crlf////tab////tab//- //crlf////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Size_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:150px\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////crlf////tab//</div>//crlf//</div>//crlf////crlf//^
ID=786737|X=183|Y=32|W=686|H=524|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=266415|AttachLeft=|AlignLeft=266415|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\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\oX5pqyMTNSq2wSn4wufLg03l\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<script ID=\\quot\\ASPECT_BACK_OFFICE_WASTE_COUNT_LIST_DIALOG\\quot\\>//crlf////tab///*****************************************************//crlf////tab//Updates the default size when the item selection changes//crlf////tab//*****************************************************///crlf////tab//function countListItemSelected(e) {//crlf////tab////tab//var salt=e.getAttribute(\\quot\\salt\\quot\\);//crlf////tab////tab//var eDefaultSize=document.getElementById(\\quot\\DefaultSize\\quot\\+salt);//crlf////tab////tab//var sStoreID=document.getElementById(\\quot\\StoreID\\quot\\+salt).value;//crlf////tab////tab//var sItemID=document.getElementById(\\quot\\ItemID\\quot\\+salt).value;//crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Items\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=sensor_list//amp//sensor=getDefaultSize//amp//SensorExec=true\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+sStoreID+\\quot\\//amp//ItemID=\\quot\\+sItemID+\\quot\\//amp//Return=Size\\quot\\;//crlf////tab////tab//showStatusIcon(eDefaultSize);//crlf////tab////tab//asynchInclude(eDefaultSize\\comma\\sUrl);//crlf////tab//};//crlf//</script>//crlf////crlf//<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\ASPECT_BACK_OFFICE_WASTE_COUNT_LIST__DialogID__\\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\\Inventory 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//<!--//tab//Note:  If a a Javascript function named initializeDialogxxx where xxx is the dialog ID is defined\\comma\\ //crlf////tab////tab////tab//it will be called//tab//after the dialog values have been set and before the dialog is made visible.//crlf////tab////tab////tab////crlf////tab////tab////tab//An initialization function may also be specified by including it in an attribute named 'aspectinit'//crlf////tab////tab////tab//in the dialog div above.  Only include the function name with no parentheses or arguments.  //crlf////tab////tab////tab//Arguments can be made//tab//available to the function by including them as attributes or by embedding //crlf////tab////tab////tab//them in this div.  Use this method when the dialog ID is randomized to allow for multiple instances//crlf////tab////tab////tab//in one document.//crlf////crlf////tab////tab////tab//If an Aspect script is defined with the ID xxx_DataSubmitted where xxx is the driver ID\\comma\\ it will//crlf////tab////tab////tab//be called whenever data is submitted due to an edit in either the table or the dialog.//crlf////tab////tab////tab//Arguments passed to the script are in the form://crlf////crlf////tab////tab////tab////tab//driver=xxx//amp//r=n//amp//fields=//amp//values=//crlf////crlf////tab////tab////tab//where driver is the name of a system driver\\comma\\ r is the absolute record number\\comma\\//crlf////tab////tab////tab//fields is a pipe-delimited list of field ID's and values is a pipe-delimited list of//crlf////tab////tab////tab//values.  Ampersands and pipes in the values are tokenized by surrounding//crlf////tab////tab////tab//them with two forward slashes.//crlf////tab////tab//-->//crlf// //crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\TextFieldWidth\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\300px\\quot\\)>//crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\NumberFieldWidth\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\150px\\quot\\)>//crlf////crlf////tab////tab//<!-- used to lookup the default size for an item when the item selection changes -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\StoreID__salt__\\quot\\ value=\\quot\\__StoreID__\\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__main')\\quot\\>Edit Item</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__main'>Edit Item</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>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Item Name</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//Comment: \\quot\\Use ~0x3B~ for semicolon in htmlparams to separate multiple javascript commands\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Comment: \\quot\\Single or double quotes are ok in filter.  If the filter is modified using javascript\\comma\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Comment: \\quot\\use single quotes in the javascript.  The getHtmlSelectOptions query in the notificaiton container\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Comment: \\quot\\converts single quotes to double quotes before calling getCollection.\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ID:\\quot\\ItemID__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Name:\\quot\\ItemID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Items_by_ID_with_Select\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\submitDialogCell(this)~0x3B~countListItemSelected(this)\\quot\\ style=\\quot\\width:250px\\quot\\ Salt=\\quot\\__Salt__\\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\\(Record_Type=1) or (Include_In_Inventory_Count)\\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>Count Group</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Count_Group_Name_By_ID_With_Select\\quot\\\\comma\\\\quot\\GroupID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:250px\\quot\\)+\\quot\\ 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>Default Size</td>//crlf////tab////tab////tab////tab////tab//<td><span ID=\\quot\\DefaultSize__Salt__\\quot\\ name=\\quot\\Default_Size\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//<div style=\\quot\\padding-top:10px\\quot\\>//crlf////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Override_Count_Size\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input>//crlf////tab////tab////tab////tab//Change count size to //crlf////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Override_Size_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Override_Size_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf//^
ID=959087|X=183|Y=32|W=699|H=535|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=266415|AttachLeft=|AlignLeft=266415|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\ASPECT_BACK_OFFICE_INVENTORY_EXTENSIONS__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:auto; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>\\quot\\>//crlf////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab//<img onclick=\\quot\\closeTableEditDialog(this)\\quot\\ style=\\quot\\float:right;display:block\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getImage//amp//filename=close20x20.png\\quot\\>//crlf////crlf////tab////tab//<!--//tab//Note:  If a a Javascript function named initializeDialogxxx where xxx is the dialog ID is defined\\comma\\ //crlf////tab////tab////tab//it will be called//tab//after the dialog values have been set and before the dialog is made visible.//crlf////tab////tab////tab////crlf////tab////tab////tab//An initialization function may also be specified by including it in an attribute named 'aspectinit'//crlf////tab////tab////tab//in the dialog div above.  Only include the function name with no parentheses or arguments.  //crlf////tab////tab////tab//Arguments can be made//tab//available to the function by including them as attributes or by embedding //crlf////tab////tab////tab//them in this div.  Use this method when the dialog ID is randomized to allow for multiple instances//crlf////tab////tab////tab//in one document.//crlf////crlf////tab////tab////tab//If an Aspect script is defined with the ID xxx_DataSubmitted where xxx is the driver ID\\comma\\ it will//crlf////tab////tab////tab//be called whenever data is submitted due to an edit in either the table or the dialog.//crlf////tab////tab////tab//Arguments passed to the script are in the form://crlf////crlf////tab////tab////tab////tab//driver=xxx//amp//r=n//amp//fields=//amp//values=//crlf////crlf////tab////tab////tab//where driver is the name of a system driver\\comma\\ r is the absolute record number\\comma\\//crlf////tab////tab////tab//fields is a pipe-delimited list of field ID's and values is a pipe-delimited list of//crlf////tab////tab////tab//values.  Ampersands and pipes in the values are tokenized by surrounding//crlf////tab////tab////tab//them with two forward slashes.//crlf////tab////tab//-->//crlf// //crlf////tab////tab//<!-- Create a random ID used in the tab ID's below.  This is necessary when the table is included several times in one container.  //crlf////tab////tab////tab//If the tabs and associated divs do not have unique ID's\\comma\\ they will not be shown/hidden properly. -->//crlf////tab////tab//<include type:expression; expression:htmlConstant(\\quot\\tabrandom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////tab////tab////crlf////tab////tab//<div style=\\quot\\width:100\\percent\\; border-bottom:solid 1px //pound//c9c9c9\\quot\\>//crlf////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'__tabrandom__Main')\\quot\\>Main</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Main -->//crlf////tab////tab//<div ID=\\quot\\__tabrandom__Main\\quot\\ style=\\quot\\height:350px;\\quot\\>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Beginning Price</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Beginning_Price\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Beginning Physical Count</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Beginning_Physical_Count\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Beginning Physical Count Batch Detail</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Beginning_Physical_Count_Batch_Detail\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Ending Price</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Ending_Price\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Ending Physical Count</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Ending_Physical_Count\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Ending Physical Count Batch Detail</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Ending_Physical_Count_Batch_Detail\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Purchase Quantity</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Purchase_Quantity\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Purchase Dollar</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Purchase_Dollar\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Waste Count</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Waste_Count\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Waste Count Batch Detail</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Waste_Count_Batch_Detail\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Prep Count</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Prep_Count\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Prep Count Batch Detail</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Prep_Count_Batch_Detail\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Legit Usage</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Legit_Usage\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Inventory Item Name</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Inventory_Item_Name\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf//^
ID=111904|X=183|Y=32|W=675|H=639|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=266415|AttachLeft=|AlignLeft=266415|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<script ID=\\quot\\EditDailyInventorySummary\\quot\\>//crlf////tab//function inspectDailySummary(d) {//crlf////tab////tab//var Dialog=document.getElementById(d);//crlf////tab////tab//var ID=Dialog.getAttribute(\\quot\\DialogID\\quot\\);//crlf////tab////tab//var eInspectDiv=document.getElementById(\\quot\\InspectDailySummary\\quot\\+ID);//crlf////tab////tab//var ItemID=document.getElementById(\\quot\\Inventory_Item_ID\\quot\\+ID).value;//crlf////tab////tab//var url=eInspectDiv.getAttribute(\\quot\\_url\\quot\\);//crlf////tab////tab//eInspectDiv.setAttribute(\\quot\\url\\quot\\\\comma\\url+ItemID);//crlf////tab////tab////setVisible(eInspectDiv\\comma\\true\\comma\\0\\comma\\true);//crlf////tab////tab//setInterval(eInspectDiv\\comma\\0\\comma\\true);//crlf////tab//};//crlf//</script>//crlf////crlf//<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\ASPECT_BACK_OFFICE_DAILY_INVENTORY_SUMMARY__DialogID__\\quot\\ DialogID=\\quot\\__DialogID__\\quot\\ aspectinit=\\quot\\inspectDailySummary\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:420px; width:auto; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>\\quot\\>//crlf////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab//<img onclick=\\quot\\closeTableEditDialog(this)\\quot\\ style=\\quot\\float:right;display:block\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getImage//amp//filename=close20x20.png\\quot\\>//crlf////crlf////tab////tab//<!--//tab//Note:  If a a Javascript function named initializeDialogxxx where xxx is the dialog ID is defined\\comma\\ //crlf////tab////tab////tab//it will be called//tab//after the dialog values have been set and before the dialog is made visible.//crlf////tab////tab////tab////crlf////tab////tab////tab//An initialization function may also be specified by including it in an attribute named 'aspectinit'//crlf////tab////tab////tab//in the dialog div above.  Only include the function name with no parentheses or arguments.  //crlf////tab////tab////tab//Arguments can be made//tab//available to the function by including them as attributes or by embedding //crlf////tab////tab////tab//them in this div.  Use this method when the dialog ID is randomized to allow for multiple instances//crlf////tab////tab////tab//in one document.//crlf////crlf////tab////tab////tab//If an Aspect script is defined with the ID xxx_DataSubmitted where xxx is the driver ID\\comma\\ it will//crlf////tab////tab////tab//be called whenever data is submitted due to an edit in either the table or the dialog.//crlf////tab////tab////tab//Arguments passed to the script are in the form://crlf////crlf////tab////tab////tab////tab//driver=xxx//amp//r=n//amp//fields=//amp//values=//crlf////crlf////tab////tab////tab//where driver is the name of a system driver\\comma\\ r is the absolute record number\\comma\\//crlf////tab////tab////tab//fields is a pipe-delimited list of field ID's and values is a pipe-delimited list of//crlf////tab////tab////tab//values.  Ampersands and pipes in the values are tokenized by surrounding//crlf////tab////tab////tab//them with two forward slashes.//crlf////tab////tab//-->//crlf// //crlf////tab////tab//<!-- Create a random ID used in the tab ID's below.  This is necessary when the table is included several times in one container.  //crlf////tab////tab////tab//If the tabs and associated divs do not have unique ID's\\comma\\ they will not be shown/hidden properly. -->//crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\tabrandom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////crlf////tab////tab//<!-- Used to get the Item ID to update the url used in the inspect tab -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\Inventory_Item_ID__DialogID__\\quot\\ name=\\quot\\Inventory_Item_ID\\quot\\>//crlf////crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\tabwidth\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\950px\\quot\\)>//crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\tabheight\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\800px\\quot\\)>//crlf////crlf////tab////tab//<div style=\\quot\\width:100\\percent\\; border-bottom:solid 1px //pound//c9c9c9\\quot\\>//crlf////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__tabrandom__Main')\\quot\\>Main</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__tabrandom__Inspect')\\quot\\>Inspect</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Main -->//crlf////tab////tab//<div ID=\\quot\\__tabrandom__Main\\quot\\ style=\\quot\\width:__tabwidth__;height:__tabheight__;\\quot\\>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Inventory Item ID</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Inventory_Item_ID\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Size Prefix</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Size_Prefix\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Size Unit</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Size_Unit\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Out Of Stock</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Out_Of_Stock\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Physical Count</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Physical_Count\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Physical Count Batch Detail</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Physical_Count_Batch_Detail\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Waste Count</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Waste_Count\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Waste Count Batch Detail</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Waste_Count_Batch_Detail\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Prep Count</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Prep_Count\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Prep Count Batch Detail</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Prep_Count_Batch_Detail\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Purchase Quantity</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Purchase_Quantity\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Purchase Dollar</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Purchase_Dollar\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Legit Usage</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Legit_Usage\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Weighted Price</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Weighted_Price\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Previous Day Perpetual Quantity</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Previous_Day_Perpetual_Quantity\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Standard Size Unit</td>//crlf////tab////tab////tab////tab////tab//<td><span NAME=\\quot\\Standard_Size_Unit\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div ID=\\quot\\__tabrandom__Inspect\\quot\\ style=\\quot\\width:__tabwidth__;height:__tabheight__;\\quot\\>//crlf////tab////tab////tab//<!!include type:expression; expression:htmlConstant(\\quot\\DateFrom__DialogID__\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\if(defined(\\quot\\__DateFrom__\\quot\\)\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\if(defined(\\quot\\__DateTo__\\quot\\)\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\if(defined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\__Date__\\quot\\\\comma\\formatDate(firstDayOfMonth(now())\\comma\\\\quot\\MM-dd-yyyy\\quot\\)))))>//crlf////tab////tab////tab//<!!include type:expression; expression:htmlConstant(\\quot\\DateTo__DialogID__\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\if(defined(\\quot\\__DateTo__\\quot\\)\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\if(defined(\\quot\\__DateFrom__\\quot\\)\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\if(defined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\__Date__\\quot\\\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)))))>//crlf////crlf////tab////tab////tab//<div ID=\\quot\\InspectDailySummary__DialogID__\\quot\\ style='width:100\\percent\\;height:600px;overflow:auto' //crlf////tab////tab////tab////tab//_url='__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////tab////tab////amp//source=//crlf////tab////tab////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////tab////tab////amp//ContainerItemID=108500//crlf////tab////tab////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////tab////tab////amp//DateFrom=__DateFrom__DialogID____//crlf////tab////tab////tab////tab////tab////amp//DateTo=__DateTo__DialogID____//crlf////tab////tab////tab////tab////tab////amp//ItemID='>//crlf////tab////tab////tab////tab//<!--img src='http://127.0.0.1:4446/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'-->//crlf////tab////tab////tab//</div> //crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf//^
ID=158371|X=183|Y=32|W=802|H=666|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=266415|AttachLeft=|AlignLeft=266415|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//<!conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div ID=\\quot\\Aspect_Back_Office_Inventory_Item__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:550px; border:none; display:block;\\quot\\>//crlf//</conditional>//crlf//<!conditional expression:not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div ID=\\quot\\Aspect_Back_Office_Inventory_Item__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:550px; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>;\\quot\\>//crlf//</conditional>//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//<!conditional expression:not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this)\\quot\\></div>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//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//<script ID=\\quot\\JS158371\\quot\\>//crlf////tab////tab////tab//function submitDialogCell_ItemName(e) {//crlf////tab////tab////tab////tab//appendToLog(\\quot\\submitDialogCell_ItemName value=\\quot\\+e.value);//crlf////tab////tab////tab////tab//submitDialogCell(e);//crlf////crlf////tab////tab////tab////tab//if(eval(\\quot\\typeof updateDefaultPurchaseInfo\\quot\\)==\\quot\\function\\quot\\) { //crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\submitDialogCell_ItemName calling updateDefaultPurchaseInfo\\quot\\);//crlf////tab////tab////tab////tab////tab//updateDefaultPurchaseInfo(); //crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else {//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\submitDialogCell_ItemName cannot locate function updateDefaultPurchaseInfo\\quot\\);//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab//</script>//crlf////crlf////tab////tab//<!-- Used as an external filter and driver param in the conversions table -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\Inventory_Item_ID__DialogID__\\quot\\ name=\\quot\\ID\\quot\\ expression=\\quot\\Inventory_Item_ID='$value$'\\quot\\ param=\\quot\\Inventory_Item_ID=$value$\\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__InventoryItemSetup')\\quot\\>Item</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__Vendor')\\quot\\>Vendor</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__OtherConversions')\\quot\\>Conversions</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__itemnotes')\\quot\\>Notes</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab//<select onChange=\\quot\\showTab(this)\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab//<option value='__salt__InventoryItemSetup'>Item</option>//crlf////tab////tab////tab////tab//<option value='__salt__Vendor'>Vendor</option>//crlf////tab////tab////tab////tab//<option value='__salt__OtherConversions'>Conversions</option>//crlf////tab////tab////tab////tab//<option value='__salt__itemnotes'>Notes</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Inventory Item Setup//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__InventoryItemSetup\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Name</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell_ItemName(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////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Group</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Inventory_Item_Group_Names_By_ID_With_Select\\quot\\\\comma\\\\quot\\GroupID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:250px\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab////tab//<br>//crlf////crlf////tab////tab////tab//<div>//crlf////tab////tab////tab////tab//<b>Count Sizes</b>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Default</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<span><input ID=\\quot\\count_size1_prefix__DialogID__\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Count_Size1_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input></span>//crlf////tab////tab////tab////tab////tab////tab////tab//<span><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Count_Size1_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\'count_size1_unit__DialogID__\' style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></span>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Alternate</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Count_Size2_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input></span>//crlf////tab////tab////tab////tab////tab////tab////tab//<span><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Count_Size2_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></span>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Alternate</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Count_Size3_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input></span>//crlf////tab////tab////tab////tab////tab////tab////tab//<span><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Count_Size3_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></span>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Include_in_Waste_Count\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Include in Waste log//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Deleted\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> This item is inactive//crlf////tab////tab////tab//<br>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Vendor//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__Vendor\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<div style=\\quot\\float:left;margin:0px 10px 10px 0px;\\quot\\>//crlf////tab////tab////tab////tab//<b>Vendor 1</b><br>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Name</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Vendor_Names_By_ID_With_Select\\quot\\\\comma\\\\quot\\Vendor1\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\'Vendor1Select\' style=\\quot\\+quote(\\quot\\width:200px\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Size</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Vendor1_Size_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Vendor1_Size_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Code</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Vendor1_Code\\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>Price</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Vendor1_Price\\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:0px 10px 10px 0px;\\quot\\>//crlf////tab////tab////tab////tab//<b>Vendor 2</b><br>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Name</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Vendor_Names_By_ID_With_Select\\quot\\\\comma\\\\quot\\Vendor2\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\'Vendor1Select\' style=\\quot\\+quote(\\quot\\width:200px\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Size</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Vendor2_Size_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Vendor2_Size_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Code</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Vendor2_Code\\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>Price</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Vendor2_Price\\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:0px 10px 10px 0px;\\quot\\>//crlf////tab////tab////tab////tab//<b>Vendor 3</b><br>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Name</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Vendor_Names_By_ID_With_Select\\quot\\\\comma\\\\quot\\Vendor3\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\'Vendor1Select\' style=\\quot\\+quote(\\quot\\width:200px\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Size</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Vendor3_Size_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Vendor3_Size_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Code</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Vendor3_Code\\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>Price</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Vendor3_Price\\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////tab//<div style=\\quot\\clear:both;height:10px\\quot\\></div>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Other Conversions//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__OtherConversions\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////crlf////tab////tab////tab//<constant name:\\quot\\__tooltipStandardConversions__\\quot\\; value:\\quot\\//crlf////tab////tab////tab////tab//The sizes entered here are used to convert between weight\\comma\\ volume\\comma\\ each and serving.  //crlf////tab////tab////tab////tab//It does not matter what sizes are entered as long as they are equivalent.//crlf////tab////tab////tab//\\quot\\>//crlf////tab////tab////tab//<div style=\\quot\\padding:0px 10px 10px 0px\\quot\\ {@htmlTooltip(\\quot\\__tooltipStandardConversions__\\quot\\)}>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Volume</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Conversion_Fluid_Ounce_Setup_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_Volume\\quot\\\\comma\\\\quot\\Conversion_Fluid_Ounce_Setup_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Weight</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Conversion_Weight_Ounce_Setup_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_Weight\\quot\\\\comma\\\\quot\\Conversion_Weogjt_Ounce_Setup_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Each</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Conversion_Each\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Serving</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Conversion_Serving\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<div style=\\quot\\position:relative;top:0px;left:0px;\\quot\\>//crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Note: This driver must work when the dialog is opened by editing an inventory item//crlf////tab////tab////tab////tab//and when it is opened as a view to inspect an item.  The filter used below addresses//crlf////tab////tab////tab////tab//both of these cases by filtering the list if an ItemID is defined and by effectively //crlf////tab////tab////tab////tab//ignoring the ItemID if it is undefined.//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_CONVERSIONS\\quot\\;//crlf////tab////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//state: \\quot\\getFilespecState(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__'))+'CONVERSIONS.bin')\\quot\\;//crlf////tab////tab////tab////tab////tab//params: \\quot\\Inventory_Item_ID=__ItemID__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=Aspect_Back_Office_Conversions\\quot\\;//crlf////tab////tab////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//display: \\quot\\none\\quot\\;//crlf////tab////tab////tab////tab////tab//fields: \\quot\\Size_ID\\comma\\Amount\\quot\\;//crlf////tab////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab////tab//filter: \\quot\\(Inventory_Item_ID='__ItemID__') or (undefined('__ItemID__'))\\quot\\;//crlf////tab////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~394329~~pipe~~Aspect_Back_Office_Conversions~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//ExternalParams: \\quot\\Inventory_Item_ID__DialogID__\\quot\\;//crlf////tab////tab////tab////tab////tab//ExternalFilters: \\quot\\Inventory_Item_ID__DialogID__\\quot\\;//crlf////tab////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//RecordCount: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//Timestamp: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//EditDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Notes//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__itemnotes\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<span><textarea ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:100\\percent\\;\\quot\\ rows=\\quot\\15\\quot\\ NAME=\\quot\\Notes\\quot\\></textarea></span>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf////crlf//^
ID=207174|X=183|Y=32|W=720|H=646|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=266415|AttachLeft=|AlignLeft=266415|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//04-14-2016//crlf////crlf//To allow using DialogOnly=true to display this dialog in an inspect window\\comma\\ the//crlf//following steps have been taken://crlf////crlf//1.  The value of ItemID has been set in the hidden input with the ID of Menu_Item_ID__DialogID__//crlf//2.  A javascript statement has been included using a script element to refresh the table//crlf////tab////tab//when after it is loaded.  Otherwise\\comma\\ items in the table do not appear until the table//crlf////tab////tab//is manually refreshed.//crlf////crlf//See if these steps can be avoided through improvements in the standard javascript functions.//crlf//--------------------------------------------------------------------------]//crlf////crlf//<script ID=\\quot\\JSEditRecipe\\quot\\>//crlf////tab//function initEditRecipeDialog(DialogID) {//crlf////tab////tab//document.getElementById(\\quot\\calc_legit_table__DialogID__\\quot\\).innerHTML=\\quot\\\\quot\\;//crlf////tab//};//crlf////crlf////tab//function updateSizesForCalcLegit(DialogID) {//crlf////tab////tab////get the standard size//crlf////tab////tab//var sStandardSize=document.getElementById(\\quot\\count_size1_prefix\\quot\\+DialogID).value;//crlf////tab////tab//var e=document.getElementById(\\quot\\count_size1_unit\\quot\\+DialogID);//crlf////tab////tab//sStandardSize +=\\quot\\ - \\quot\\ + e.options[e.selectedIndex].text;//crlf////crlf////tab////tab////get the gross yield size//crlf////tab////tab//var sGrossYieldSize=document.getElementById(\\quot\\Gross_Yield_Prefix\\quot\\+DialogID).value;//crlf////tab////tab//var e=document.getElementById(\\quot\\Gross_Yield_Unit\\quot\\+DialogID);//crlf////tab////tab//sGrossYieldSize +=\\quot\\ - \\quot\\ + e.options[e.selectedIndex].text;//crlf////crlf////tab////tab////get the serving size size//crlf////tab////tab//var sServingSize=document.getElementById(\\quot\\Serve_Size_Prefix\\quot\\+DialogID).value;//crlf////tab////tab//var e=document.getElementById(\\quot\\Serve_Size_Unit\\quot\\+DialogID);//crlf////tab////tab//sServingSize +=\\quot\\ - \\quot\\ + e.options[e.selectedIndex].text;//crlf////crlf////tab////tab////set the options//crlf////tab////tab//var e=document.getElementById(\\quot\\SelectCalcLegitSize\\quot\\+DialogID);//crlf////tab////tab//e.options.length=0;//crlf////tab////tab//e.options[e.options.length]=new Option(sStandardSize\\comma\\\\quot\\0\\quot\\);//crlf////tab////tab//if(sGrossYieldSize!=sStandardSize) {//crlf////tab////tab////tab//e.options[e.options.length]=new Option(sGrossYieldSize\\comma\\\\quot\\1\\quot\\);//crlf////tab////tab//};//crlf////tab////tab//if((sServingSize!=sStandardSize) //amp////amp// (sServingSize!=sGrossYieldSize)) {//crlf////tab////tab////tab//e.options[e.options.length]=new Option(sServingSize\\comma\\\\quot\\2\\quot\\);//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//function calcLegit(DialogID\\comma\\StoreID)//crlf////tab//{//crlf////tab////tab//var sSelectedSize=document.getElementById(\\quot\\SelectCalcLegitSize\\quot\\+DialogID).value;//crlf////tab////tab//var Prefix=\\quot\\\\quot\\;//crlf////tab////tab//var SizeID=\\quot\\\\quot\\;//crlf////tab////tab//if(sSelectedSize==\\quot\\0\\quot\\) {//crlf////tab////tab////tab//Prefix=document.getElementById(\\quot\\count_size1_prefix\\quot\\+DialogID).value;//crlf////tab////tab////tab//SizeID=document.getElementById(\\quot\\count_size1_unit\\quot\\+DialogID).value;//crlf////tab////tab//}//crlf////tab////tab//else if(sSelectedSize==\\quot\\1\\quot\\) {//crlf////tab////tab////tab//Prefix=document.getElementById(\\quot\\Gross_Yield_Prefix\\quot\\+DialogID).value;//crlf////tab////tab////tab//SizeID=document.getElementById(\\quot\\Gross_Yield_Unit\\quot\\+DialogID).value;//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//Prefix=document.getElementById(\\quot\\Serve_Size_Prefix\\quot\\+DialogID).value;//crlf////tab////tab////tab//SizeID=document.getElementById(\\quot\\Serve_Size_Unit\\quot\\+DialogID).value;//crlf////tab////tab//};//crlf////crlf////tab////tab//var d=document.getElementById(\\quot\\calc_legit_table\\quot\\+DialogID);//crlf////tab////tab//var Url=getServer()+d.getAttribute(\\quot\\baseurl\\quot\\);//crlf////tab////tab//Url +=\\quot\\//amp//ItemID=\\quot\\+document.getElementById(\\quot\\Inventory_Item_ID\\quot\\+DialogID).value;//crlf////tab////tab//Url +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//Url +=\\quot\\//amp//Qty=\\quot\\+document.getElementById(\\quot\\calc_legit_qty\\quot\\+DialogID).value;//crlf////tab////tab//Url +=\\quot\\//amp//Prefix=\\quot\\+Prefix;//crlf////tab////tab//Url +=\\quot\\//amp//SizeID=\\quot\\+SizeID;//crlf////tab////tab//Url +=\\quot\\//amp//Source=<!!include type:expression; expression:getToken(\\quot\\AspectHashID\\quot\\)>\\quot\\;//crlf////tab////tab//showStatusIcon(d\\comma\\true);//crlf////tab////tab//asynchInclude(d\\comma\\Url);//crlf////tab////tab////d.setAttribute(\\quot\\url\\quot\\\\comma\\Url);//crlf////tab////tab////setInterval(d\\comma\\0\\comma\\true);//crlf////tab//};//crlf//</script>//crlf////crlf//<!-- Dialog used to edit a record -->//crlf//<!conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div ID=\\quot\\Aspect_Back_Office_Inventory_Item__DialogID__\\quot\\ Salt=\\quot\\__salt__\\quot\\ AspectInit=\\quot\\initEditRecipeDialog\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:700px; border:none; display:block;\\quot\\>//crlf//</conditional>//crlf//<!conditional expression:not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div ID=\\quot\\Aspect_Back_Office_Inventory_Item__DialogID__\\quot\\ Salt=\\quot\\__salt__\\quot\\ AspectInit=\\quot\\initEditRecipeDialog\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:700px; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>;\\quot\\>//crlf//</conditional>//crlf////tab//<div style=\\quot\\padding:5px;width:100\\percent\\\\quot\\>//crlf////tab////tab//<!conditional expression:not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this)\\quot\\></div>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//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//<!-- Used as an external filter and driver param in the conversions table -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\Inventory_Item_ID__DialogID__\\quot\\ name=\\quot\\ID\\quot\\ expression=\\quot\\Inventory_Item_ID='$value$'\\quot\\ param=\\quot\\Inventory_Item_ID=$value$\\quot\\>//crlf////crlf////tab////tab//<!-- Used as an external filter and driver param in the menu item details table -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\Menu_Item_ID__DialogID__\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\__ItemID__\\quot\\ expression=\\quot\\ItemID_Of_MenuItem='$value$'\\quot\\ param=\\quot\\Menu_Item_ID=$value$\\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__menuitem')\\quot\\>Menu Item</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__ingredients')\\quot\\>Ingredients</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__conversions')\\quot\\>Conversions</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__CalcLegit_wrapper');updateSizesForCalcLegit('__DialogID__')\\quot\\>Calculate Legitimate Usages</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__itemnotes')\\quot\\>Notes</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab//<select onChange=\\quot\\showTab(this);updateSizesForCalcLegit('__DialogID__')\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab//<option value='__salt__menuitem'>Menu Item</option>//crlf////tab////tab////tab////tab//<option value='__salt__ingredients'>Ingredients</option>//crlf////tab////tab////tab////tab//<option value='__salt__conversions'>Conversions</option>//crlf////tab////tab////tab////tab//<option value='__salt__CalcLegit_wrapper'>Calculate Legitimate Usages</option>//crlf////tab////tab////tab////tab//<option value='__salt__itemnotes'>Notes</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Menu Item//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__menuitem\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Name</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\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////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Group</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<!conditional expression:defined(\\quot\\__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\POS_Generic_Menu_Category_By_Category_ID_with_Batch\\quot\\\\comma\\\\quot\\Menu_Item_Group_ID_Override\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:250px\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab//<!conditional expression:not(defined(\\quot\\__StoreID__\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab////tab//<select style=\\quot\\width:250px\\quot\\></select>//crlf////tab////tab////tab////tab////tab////tab//</conditional>//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//<constant name:\\quot\\__tooltipGrossYield__\\quot\\; value:\\quot\\//crlf////tab////tab////tab////tab////tab////tab//The Gross Yield is the quantity produced by combining all of the items in the //crlf////tab////tab////tab////tab////tab////tab//ingredient list.  For example\\comma\\ a recipe for soup may have a gross yield of 5 Gallon.  //crlf////tab////tab////tab////tab////tab////tab//If the recipe is for a menu item\\comma\\ the gross yield will usually be 1 Serving.  //crlf////tab////tab////tab////tab////tab////tab//For example\\comma\\ the gross yield for a sandwich recipe would be 1 Serving.//crlf////tab////tab////tab////tab////tab//\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Gross Yield</td>//crlf////tab////tab////tab////tab////tab//<td {@htmlTooltip(\\quot\\__tooltipGrossYield__\\quot\\)}>//crlf////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Gross_Yield_Prefix\\quot\\ ID=\\quot\\Gross_Yield_Prefix__DialogID__\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Gross_Yield_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\'Gross_Yield_Unit__DialogID__\' style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<constant name:\\quot\\__tooltipServeSize__\\quot\\; value:\\quot\\//crlf////tab////tab////tab////tab////tab////tab//The Serving Size is used to calculate the cost of a serving when recipe //crlf////tab////tab////tab////tab////tab////tab//ingredients are entered.  For example\\comma\\ if a soup recipe yields 5 gallons\\comma\\ a //crlf////tab////tab////tab////tab////tab////tab//serving size of 6 Fluid Ounce could be entered to calculate the cost of a single //crlf////tab////tab////tab////tab////tab////tab//cup of soup.  The cost of a serving size is displayed in a column in the table //crlf////tab////tab////tab////tab////tab////tab//of ingredients.  The selection of a serving size is not critical and it can be //crlf////tab////tab////tab////tab////tab////tab//changed at any time.//crlf////tab////tab////tab////tab////tab//\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Serving Size</td>//crlf////tab////tab////tab////tab////tab//<td {@htmlTooltip(\\quot\\__tooltipServeSize__\\quot\\)}>//crlf////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Serve_Size_Prefix\\quot\\ ID=\\quot\\Serve_Size_Prefix__DialogID__\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Serve_Size_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\'Serve_Size_Unit__DialogID__\' style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>POS Number</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Menu_Item_POS_ID\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab////tab//<span name=\\quot\\Menu_Item_POS_ID_For_Dialog\\quot\\></span>//crlf////tab////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//<!-- Include in physical count -->//crlf////tab////tab////tab//<div style=\\quot\\float:left;padding:10px 10px 10px 0px;margin:0px\\quot\\>//crlf////tab////tab////tab////tab//<b>Inventory Count</b><br>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td colspan='2'>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Include_In_Inventory_Count\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Include In Inventory Count//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Group</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Inventory_Item_Group_Names_By_ID_With_Select\\quot\\\\comma\\\\quot\\GroupID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:250px\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<constant name:\\quot\\__tooltipStandardSize__\\quot\\; value:\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//The Standard Size is the size that a batch recipe will be counted by if it is //crlf////tab////tab////tab////tab////tab////tab////tab//included in the physical count.  It is also the size used in all price and //crlf////tab////tab////tab////tab////tab////tab////tab//usage calculations.  In general\\comma\\ prices and usages for an item will be converted //crlf////tab////tab////tab////tab////tab////tab////tab//to the standard size before being displayed.  //crlf////tab////tab////tab////tab////tab////tab//\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<td>Size</td>//crlf////tab////tab////tab////tab////tab////tab//<td {@htmlTooltip(\\quot\\__tooltipStandardSize__\\quot\\)}>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ID=\\quot\\count_size1_prefix__DialogID__\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Count_Size1_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Count_Size1_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\'count_size1_unit__DialogID__\' style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<!-- Include in prep and waste counts -->//crlf////tab////tab////tab//<div style=\\quot\\float:left;padding:10px 10px 10px 0px;margin:0px\\quot\\>//crlf////tab////tab////tab////tab//<b>Prep/waste Count</b><br>//crlf////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Include_in_Waste_Count\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Include in Waste Count//crlf////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Include_In_Prep_Log\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Include In Prep Log//crlf////tab////tab////tab////tab//<br>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<!-- Options -->//crlf////tab////tab////tab//<div style=\\quot\\float:left;padding:10px 10px 10px 0px;margin:0px\\quot\\>//crlf////tab////tab////tab////tab//<b>Options</b><br>//crlf////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Allow_as_Batch_Recipe\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Can be used as a batch recipe//crlf////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Deleted\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> This item is inactive//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//NOTE: When DialogOnly is true://crlf////crlf////tab////tab//The table body for invoice details is hidden for some reason\\comma\\ possibly something to //crlf////tab////tab//do with initializing the dialog.  A javascript statement is defined below to refresh//crlf////tab////tab//the table after it is loaded.  Need to improve this. (04-13-2016)//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//<script ID=\\quot\\JSEditInvoiceDetail\\quot\\>//crlf////tab////tab////tab//  refreshTable('recpingredients__salt__'\\comma\\'refresh'); //crlf////tab////tab////tab//  refreshTable('recpconversions__salt__'\\comma\\'refresh'); //crlf////tab////tab////tab//</script>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Ingredients//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__ingredients\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<div style=\\quot\\width:auto;height:350px;overflow:auto;border:none\\quot\\>//crlf////tab////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ID: \\quot\\recpingredients__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//driver: \\quot\\Aspect_Back_Office_Menu_Item_Detail\\quot\\;//crlf////tab////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//state: \\quot\\gfs(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__')+'menuitemdetail.bin')\\quot\\;//crlf////tab////tab////tab////tab////tab//<!conditional expression:defined(\\quot\\__ItemID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab//params: \\quot\\Menu_Item_ID=__ItemID__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=Aspect_Back_Office_Menu_Item_Detail_In_Dialog\\quot\\;//crlf////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab//<!conditional expression:not(defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab//params: \\quot\\Menu_Item_ID=Undefined~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=Aspect_Back_Office_Menu_Item_Detail_In_Dialog\\quot\\;//crlf////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//InspectMenu: \\quot\\Zd7dzS5F\\quot\\;//crlf////tab////tab////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab////tab//filter: \\quot\\(not(//pound//Menu_Item_ID='undefined'))\\quot\\;//crlf////tab////tab////tab////tab////tab//<!conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab//XDisplayFilter: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab//RefreshOnDataSubmit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//EmbedValues: \\quot\\ItemID_Of_Ingredient\\comma\\Quantity\\comma\\Size_Prefix\\comma\\Size_Unit\\comma\\Notes\\comma\\Ingredient_Record_Type\\comma\\Ingredient_Record_Type_Description\\comma\\Cost\\comma\\Gross_Yield_to_Serving_Size_Factor\\comma\\Serving_Size_Price\\comma\\Serving_Size_Prep_Cost\\comma\\Serving_Size_Cost\\comma\\Menu_Item_Name\\comma\\Inventory_Item_Name\\quot\\;//crlf////tab////tab////tab////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~53136~~pipe~~Aspect_Back_Office_Menu_Item_Detail~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//ExternalParams: \\quot\\Menu_Item_ID__DialogID__\\quot\\;//crlf////tab////tab////tab////tab////tab//ExternalFilters: \\quot\\Menu_Item_ID__DialogID__\\quot\\;//crlf////tab////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//RecordCount: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//Timestamp: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Conversions//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__conversions\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////crlf////tab////tab////tab//<!-- Conversions -->//crlf////tab////tab////tab//<constant name:\\quot\\__tooltipStandardConversions__\\quot\\; value:\\quot\\//crlf////tab////tab////tab////tab//The sizes entered here are used to convert between weight and volume.  //crlf////tab////tab////tab////tab//It does not matter what sizes are entered as long as they are equivalent.  For //crlf////tab////tab////tab////tab//example\\comma\\ \\quot\\1 Cup\\quot\\ might be equivalent to \\quot\\4 ounces\\quot\\ where ounces refers to weight\\comma\\ //crlf////tab////tab////tab////tab//not volume.//crlf////tab////tab////tab//\\quot\\>//crlf////tab////tab////tab//<constant name:\\quot\\__tooltipStandardConversionEach__\\quot\\; value:\\quot\\//crlf////tab////tab////tab////tab//Enter the number of \\quot\\each\\quot\\ that is equivalent to both the weight and volume sizes or //crlf////tab////tab////tab////tab//leave this field blank if each will not be used as a size for this item.//crlf////tab////tab////tab//\\quot\\>//crlf////tab////tab////tab//<constant name:\\quot\\__tooltipStandardConversionServing__\\quot\\; value:\\quot\\//crlf////tab////tab////tab////tab//Enter the number of servings that are equivalent to both the weight and volume //crlf////tab////tab////tab////tab//sizes or leave this field blank if servings will not be used as a size for this item.  //crlf////tab////tab////tab////tab//A conversion for servings is normally used only for batch recipes\\comma\\ not for inventory items.//crlf////tab////tab////tab//\\quot\\>//crlf////tab////tab////tab//<div style=\\quot\\padding:10px 10px 10px 0px;margin:0px 10px 0px 0px\\quot\\>//crlf////tab////tab////tab////tab//<b>Conversions</b>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Volume</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Conversion_Fluid_Ounce_Setup_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\ {@htmlTooltip(\\quot\\__tooltipStandardConversions__\\quot\\)}></input>//crlf////tab////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_Volume\\quot\\\\comma\\\\quot\\Conversion_Fluid_Ounce_Setup_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Weight</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Conversion_Weight_Ounce_Setup_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\ {@htmlTooltip(\\quot\\__tooltipStandardConversions__\\quot\\)}></input>//crlf////tab////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_Weight\\quot\\\\comma\\\\quot\\Conversion_Weogjt_Ounce_Setup_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Each</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Conversion_Each\\quot\\ TYPE=\\quot\\text\\quot\\ {@htmlTooltip(\\quot\\__tooltipStandardConversionEach__\\quot\\)}></input>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Serving</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Conversion_Serving\\quot\\ TYPE=\\quot\\text\\quot\\ {@htmlTooltip(\\quot\\__tooltipStandardConversionServing__\\quot\\)}></input>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<div style=\\quot\\position:relative;top:0px;left:0px;\\quot\\>//crlf////tab////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab////tab//ID: \\quot\\recpconversions__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_CONVERSIONS\\quot\\;//crlf////tab////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//state: \\quot\\getFilespecState(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__'))+'CONVERSIONS.bin')\\quot\\;//crlf////tab////tab////tab////tab////tab//params: \\quot\\Inventory_Item_ID=Undefined~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=Aspect_Back_Office_Conversions\\quot\\;//crlf////tab////tab////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//display: \\quot\\none\\quot\\;//crlf////tab////tab////tab////tab////tab//fields: \\quot\\Size_ID\\comma\\Amount\\quot\\;//crlf////tab////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab////tab//filter: \\quot\\(not(//pound//Inventory_Item_ID='undefined'))\\quot\\;//crlf////tab////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~394329~~pipe~~Aspect_Back_Office_Conversions~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//ExternalParams: \\quot\\Inventory_Item_ID__DialogID__\\quot\\;//crlf////tab////tab////tab////tab////tab//ExternalFilters: \\quot\\Inventory_Item_ID__DialogID__\\quot\\;//crlf////tab////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//RecordCount: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//Timestamp: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//EditDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Calc Legit//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__CalcLegit_wrapper\\quot\\>//crlf////tab////tab////tab//<div ID=\\quot\\__salt__CalcLegit\\quot\\>//crlf////tab////tab////tab////tab//<p>Use this to view legitimate usages for all inventory items contained in this recipe //crlf////tab////tab////tab////tab////tab//either directly or indirectly through a batch recipe.  This will not affect your //crlf////tab////tab////tab////tab////tab//actual inventory calculations.  It is only used to troubleshoot recipes as you //crlf////tab////tab////tab////tab////tab//build them.</p>//crlf////tab////tab////tab////tab//<table class='form'>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Number Sold</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input type=\\quot\\text\\quot\\ ID=\\quot\\calc_legit_qty__DialogID__\\quot\\ style=\\quot\\width:50px\\quot\\ value=\\quot\\1\\quot\\></td>//crlf////tab////tab////tab////tab////tab////tab//<td><select ID=\\quot\\SelectCalcLegitSize__DialogID__\\quot\\></select></td>//crlf////tab////tab////tab////tab////tab////tab//<td><input type=\\quot\\button\\quot\\ value=\\quot\\Calculate\\quot\\ onClick=\\quot\\calcLegit('__DialogID__'\\comma\\'__StoreID__')\\quot\\></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<div ID=\\quot\\calc_legit_table__DialogID__\\quot\\ style=\\quot\\width:auto;height:300px;overflow:auto\\quot\\ //crlf////tab////tab////tab////tab////tab//baseurl=\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=454688//amp//Display=Ingredients by Batch Recipe / Ingredient Name\\quot\\>//crlf////tab////tab////tab////tab//</div>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Notes//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__itemnotes\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<textarea ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:100\\percent\\;\\quot\\ rows=\\quot\\20\\quot\\ NAME=\\quot\\Notes\\quot\\></textarea>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf//^
ID=686346|X=183|Y=32|W=817|H=703|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=266415|AttachLeft=|AlignLeft=266415|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\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\oX5pqyMTNSq2wSn4wufLg03l\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<script ID=\\quot\\JSASPECT_BACK_OFFICE_PREP_LIST_DIALOG\\quot\\>//crlf////tab///*****************************************************//crlf////tab//Updates the default size when the item selection changes//crlf////tab//*****************************************************///crlf////tab//function countListItemSelected(e) {//crlf////tab////tab//var salt=e.getAttribute(\\quot\\salt\\quot\\);//crlf////tab////tab//var eDefaultSize=document.getElementById(\\quot\\DefaultSize\\quot\\+salt);//crlf////tab////tab//var sStoreID=document.getElementById(\\quot\\StoreID\\quot\\+salt).value;//crlf////tab////tab//var sItemID=document.getElementById(\\quot\\ItemID\\quot\\+salt).value;//crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Items\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=sensor_list//amp//sensor=getDefaultSize//amp//SensorExec=true\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+sStoreID+\\quot\\//amp//ItemID=\\quot\\+sItemID+\\quot\\//amp//Return=Size\\quot\\;//crlf////tab////tab//showStatusIcon(eDefaultSize);//crlf////tab////tab//asynchInclude(eDefaultSize\\comma\\sUrl);//crlf////tab//};//crlf//</script>//crlf////crlf//<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\ASPECT_BACK_OFFICE_PREP_LIST__DialogID__\\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\\Inventory 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//<!--//tab//Note:  If a a Javascript function named initializeDialogxxx where xxx is the dialog ID is defined\\comma\\ //crlf////tab////tab////tab//it will be called//tab//after the dialog values have been set and before the dialog is made visible.//crlf////tab////tab////tab////crlf////tab////tab////tab//An initialization function may also be specified by including it in an attribute named 'aspectinit'//crlf////tab////tab////tab//in the dialog div above.  Only include the function name with no parentheses or arguments.  //crlf////tab////tab////tab//Arguments can be made//tab//available to the function by including them as attributes or by embedding //crlf////tab////tab////tab//them in this div.  Use this method when the dialog ID is randomized to allow for multiple instances//crlf////tab////tab////tab//in one document.//crlf////crlf////tab////tab////tab//If an Aspect script is defined with the ID xxx_DataSubmitted where xxx is the driver ID\\comma\\ it will//crlf////tab////tab////tab//be called whenever data is submitted due to an edit in either the table or the dialog.//crlf////tab////tab////tab//Arguments passed to the script are in the form://crlf////crlf////tab////tab////tab////tab//driver=xxx//amp//r=n//amp//fields=//amp//values=//crlf////crlf////tab////tab////tab//where driver is the name of a system driver\\comma\\ r is the absolute record number\\comma\\//crlf////tab////tab////tab//fields is a pipe-delimited list of field ID's and values is a pipe-delimited list of//crlf////tab////tab////tab//values.  Ampersands and pipes in the values are tokenized by surrounding//crlf////tab////tab////tab//them with two forward slashes.//crlf////tab////tab//-->//crlf// //crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\TextFieldWidth\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\300px\\quot\\)>//crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\NumberFieldWidth\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\150px\\quot\\)>//crlf////crlf////tab////tab//<!-- used to lookup the default size for an item when the item selection changes -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\StoreID__salt__\\quot\\ value=\\quot\\__StoreID__\\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__main')\\quot\\>Edit Item</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__main'>Edit Item</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>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Item Name</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//Comment: \\quot\\Use ~0x3B~ for semicolon in htmlparams to separate multiple javascript commands\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Comment: \\quot\\Single or double quotes are ok in filter.  If the filter is modified using javascript\\comma\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Comment: \\quot\\use single quotes in the javascript.  The getHtmlSelectOptions query in the notificaiton container\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Comment: \\quot\\converts single quotes to double quotes before calling getCollection.\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ID:\\quot\\ItemID__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Name:\\quot\\ItemID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Items_by_ID_with_Select\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\submitDialogCell(this)~0x3B~countListItemSelected(this)\\quot\\ style=\\quot\\width:250px\\quot\\ Salt=\\quot\\__Salt__\\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\\(Record_Type=2)\\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>Prep Group</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Prep_Group_Name_By_ID_With_Select\\quot\\\\comma\\\\quot\\GroupID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:250px\\quot\\)+\\quot\\ 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>Default Size</td>//crlf////tab////tab////tab////tab////tab//<td><span ID=\\quot\\DefaultSize__Salt__\\quot\\ name=\\quot\\Default_Size\\quot\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//<div style=\\quot\\padding-top:10px\\quot\\>//crlf////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Override_Count_Size\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input>//crlf////tab////tab////tab////tab//Change count size to //crlf////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Override_Size_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Override_Size_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf//^
ID=509786|X=183|Y=32|W=785|H=600|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=266415|AttachLeft=|AlignLeft=266415|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\\ASPECT_BACK_OFFICE_PREP_GROUP__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:350px; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory 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\\250px\\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__Main')\\quot\\>Prep Group</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab//<select onChange=\\quot\\showTab(this)\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab//<option value='__salt__main'>Prep Group</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\\ STYLE=\\quot\\width:__TextFieldWidth__\\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////tab//<br><br>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf////crlf//^
ID=785764|X=183|Y=32|W=751|H=648|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=266415|AttachLeft=|AlignLeft=266415|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//04-14-2016//crlf////crlf//To allow using DialogOnly=true to display this dialog in an inspect window\\comma\\ the//crlf//following steps have been taken://crlf////crlf//1.  The value of ItemID has been set in the hidden input with the ID of Menu_Item_ID__DialogID__//crlf//2.  A javascript statement has been included using a script element to refresh the table//crlf////tab////tab//when after it is loaded.  Otherwise\\comma\\ items in the table do not appear until the table//crlf////tab////tab//is manually refreshed.//crlf////crlf//See if these steps can be avoided through improvements in the standard javascript functions.//crlf//--------------------------------------------------------------------------]//crlf////crlf//<!include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//03-09-2017: Added salt to the javascript ID to resolve a problem discovered at Ted's BBQ.//crlf//It seemed that the tableDataSubmitted__salt__ function was not defined when the invoice//crlf//table was refreshed.  The symptom was that refreshing the table of invoices caused the //crlf//update of the logged amount in the invoice detail dialog to stop being updated because//crlf//the tableDataSubmitted__salt__ function was not found.//crlf//--------------------------------------------------------------------------]//crlf//<script ID=\\quot\\JSEditInvoice__salt__\\quot\\>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when a dialog is opened to edit an invoice//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function invoiceDialogOpened(DialogID\\comma\\bInitialized) {//crlf////tab////tab//appendToLog(\\quot\\invoiceDialogOpened Modified 02-28-2017\\quot\\);//crlf////tab////tab//var d=document.getElementById(DialogID);//crlf////tab////tab//var salt=d.getAttribute(\\quot\\salt\\quot\\);//crlf////tab////tab//var DialogIDSalt=d.getAttribute(\\quot\\DialogIDSalt\\quot\\);//crlf////crlf////tab////tab//if(bInitialized) {//crlf////tab////tab////tab//setInvoiceTDWidths(DialogIDSalt);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////hide invoice details until a vendor is selected//crlf////tab////tab//vendorSelected(salt\\comma\\true);//crlf////crlf////tab////tab//if(!document.getElementById(salt+\\quot\\InvoiceID\\quot\\)) {//crlf////tab////tab////tab//alert(\\quot\\cannot find \\quot\\+salt+\\quot\\InvoiceID\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//if(!document.getElementById(salt+\\quot\\StoreID\\quot\\)) {//crlf////tab////tab////tab//alert(\\quot\\cannot find StoreID\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////clear the field showing the amount logged.  It will be updated when the table is loaded.//crlf////tab////tab//var e=document.getElementById(salt+\\quot\\TotalExtendedPrice\\quot\\);//crlf////tab////tab//e.value=\\quot\\\\quot\\;//crlf////tab////tab//setPendingSubmissionStyle(e\\comma\\false\\comma\\true);//crlf////crlf////tab////tab//var InvoiceID=document.getElementById(salt+\\quot\\InvoiceID\\quot\\).value;//crlf////tab////tab//var StoreID=document.getElementById(salt+\\quot\\StoreID\\quot\\).value;//crlf////crlf////tab////tab////Update the Edit_Count and Date_Last_Edited values for the invoice record.  These//crlf////tab////tab////are used to determine if an imported invoice has been edited.  These are used to //crlf////tab////tab////let users know when an invoice has been imported but not edited or reviewed.//crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=L4HxWEciR8sT7E30IKVZXD70//amp//Widget=Import Vendor Invoice\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=action_list//amp//action=setInvoiceEditedFlag//amp//ActionExec=true\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID+\\quot\\//amp//InvoiceID=\\quot\\+InvoiceID;//crlf////tab////tab//sUrl +=\\quot\\//amp//Source={AspectHashID}\\quot\\;//crlf////tab////tab//asynchInclude(null\\comma\\sUrl);//crlf////crlf////tab////tab//return(true);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Sets the width of the first td cell in each row to the maximum width of any //crlf////tab//of the first td cells in a row.  This is used to standardize the width of the //crlf////tab//first td cell in each row when the table is displayed inline//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function setInvoiceTDWidths(DialogID) {//crlf////tab////tab//var arTable=new Array();//crlf////tab////tab//arTable[0]=document.getElementById(DialogID+\\quot\\InvoiceDialogTable1\\quot\\);//crlf////tab////tab//arTable[1]=document.getElementById(DialogID+\\quot\\InvoiceDialogTable2\\quot\\);//crlf////tab////tab//arTable[2]=document.getElementById(DialogID+\\quot\\InvoiceDialogTable3\\quot\\);//crlf////crlf////tab////tab//if(arTable[0].getAttribute(\\quot\\TDWidthInitialized\\quot\\)) return;//crlf////tab////tab//arTable[0].setAttribute(\\quot\\TDWidthInitialized\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////crlf////tab////tab//var iMaxWidth=0;//crlf////tab////tab//for(i=0;i<arTable.length;i++) {//crlf////tab////tab////tab//for(var j=0;j<arTable[i].rows.length;j++) {//crlf////tab////tab////tab////tab//iMaxWidth=Math.max(iMaxWidth\\comma\\arTable[i].rows[j].cells[0].offsetWidth);//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab////add some more padding//crlf////tab////tab////iMaxWidth+=10;//crlf////crlf////tab////tab//for(i=0;i<arTable.length;i++) {//crlf////tab////tab////tab//for(var j=0;j<arTable[i].rows.length;j++) {//crlf////tab////tab////tab////tab//arTable[i].rows[j].cells[0].style.width=iMaxWidth+\\quot\\px\\quot\\;//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//This function is called by refreshTable() when the invoice detail table is refreshed.//crlf////tab//This function updates the datalist used to select an item in the edit invoice detail//crlf////tab//dialog so the list includes item codes for the currently selected vendor.  //crlf////tab//The vendorSelected() function refreshes the table whenever a vendor is selected.//crlf////tab//This function gets called by refreshTable() after the table is refreshed.//crlf////crlf////tab//The collections refreshed by this function are both located in the edit invoice detail //crlf////tab//dialog.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function tableRefreshed__salt__(TableID) {//crlf////tab////tab//appendToLog(\\quot\\tableRefreshed: \\quot\\+TableID);//crlf////tab////tab////set the vendor ID in the datalist used for the item select box in the invoice detail//crlf////tab////tab////dialog and refresh the collection//crlf////tab////tab//var sVendorID=document.getElementById(TableID+\\quot\\VendorID\\quot\\).value;//crlf////tab////tab//var e=document.getElementById(TableID+\\quot\\InvoiceDetailSelectItem\\quot\\);//crlf////tab////tab//if(e) {//crlf////tab////tab////tab//var sParams=e.getAttribute(\\quot\\params\\quot\\);//crlf////tab////tab////tab//var s=getElementValue(sParams\\comma\\\\quot\\VendorID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab//if(!s.equalsIgnoreCase(sVendorID)) {//crlf////tab////tab////tab////tab//var sStoreID=getElementValue(sParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\+sStoreID+\\quot\\~~pipe~~VendorID=\\quot\\+sVendorID;//crlf////tab////tab////tab////tab//e.setAttribute(\\quot\\params\\quot\\\\comma\\sParams);//crlf////tab////tab////tab////tab//updateOptions(e.id);//crlf////tab////tab////tab//};//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//alert(\\quot\\Cannot locate \\quot\\+TableID+\\quot\\InvoiceDetailSelectItem\\quot\\);//crlf////tab////tab//};//crlf////crlf////tab////tab//var e=document.getElementById(TableID+\\quot\\InvoiceDetailSelectItemAlt\\quot\\);//crlf////tab////tab//if(e) {//crlf////tab////tab////tab//var sParams=e.getAttribute(\\quot\\params\\quot\\);//crlf////tab////tab////tab//var s=getElementValue(sParams\\comma\\\\quot\\VendorID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab//if(!s.equalsIgnoreCase(sVendorID)) {//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Updating list of items supplied by selected vendor.  VendorID=\\quot\\+s);//crlf////tab////tab////tab////tab//var sStoreID=getElementValue(sParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\+sStoreID+\\quot\\~~pipe~~VendorID=\\quot\\+sVendorID;//crlf////tab////tab////tab////tab//e.setAttribute(\\quot\\params\\quot\\\\comma\\sParams);//crlf////tab////tab////tab////tab////e.setAttribute(\\quot\\filter\\quot\\\\comma\\\\quot\\(Record_Type=1) and (VendorID='\\quot\\+sVendorID+\\quot\\')\\quot\\);//crlf////tab////tab////tab////tab//updateOptions(e.id);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab//appendToLog(\\quot\\List of items supplied by selected vendor is already up to date.  VendorID=\\quot\\+s);//crlf////tab////tab////tab//};//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//alert(\\quot\\Cannot locate \\quot\\+TableID+\\quot\\InvoiceDetailSelectItem\\quot\\);//crlf////tab////tab//};//crlf////crlf////tab////tab////show the total amount entered on the invoice//crlf////tab////tab//getTotalAmountEntered(TableID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//This listener function is called by the refreshTableOnInterval() function //crlf////tab//when a table has been refreshed by merging and new or modified records into //crlf////tab//the table//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function tableRefreshedOnInterval__salt__(TableID) {//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when data is submitted for the invoice detail table//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function tableDataSubmitted__salt__(TableID) {//crlf////tab////tab//var e=document.getElementById(TableID+\\quot\\TotalExtendedPrice\\quot\\);//crlf////tab////tab//setPendingSubmissionStyle(e\\comma\\false\\comma\\true);//crlf////crlf////tab////tab////update the total logged field in the invoice header.  A timeout is used so//crlf////tab////tab////processing of the data submission will not be interrupted if an error occurs//crlf////tab////tab//setTimeout(\\quot\\getTotalAmountEnteredFromTable('\\quot\\+TableID+\\quot\\')\\quot\\\\comma\\100);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when data has been submitted to the table and all submissions are complete.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function tableDataSubmissionComplete__salt__(TableID) {//crlf////tab////tab////alert(\\quot\\tableDataSubmissionComplete__salt__\\quot\\);//crlf////crlf////tab////tab////Set the submission style to indicate that the total needs to be updated.//crlf////tab////tab////However\\comma\\ only update the field when there are no outstanding submissions for the table.//crlf////tab////tab////This function is called whenever a data submission has been completed\\comma\\ not just when//crlf////tab////tab////all submissions are complete.  Calling the getTotalAmountEntered() function creates//crlf////tab////tab////a burden when editing invoices on a remote computer.//crlf////tab////tab//var e=document.getElementById(TableID+\\quot\\TotalExtendedPrice\\quot\\);//crlf////tab////tab//setPendingSubmissionStyle(e\\comma\\false\\comma\\true);//crlf////tab////tab//if(countPendingSubmissions(TableID)==0)//tab//getTotalAmountEntered(TableID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Calculates the total extended price for all items entered on the invoice.//crlf////tab//This function is called by the tableDataSubmitted listener.//crlf////tab//This function updates the logged amount more quickly than making a call to the//crlf////tab//source computer.  It will abort if the extended_price (amount) field is not //crlf////tab//included in the table.  The call is still made to getTotalAmountEntered() //crlf////tab//when all submissions are complete so the amount will be updated even if this//crlf////tab//function fails.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function getTotalAmountEnteredFromTable(TableID) {//crlf////tab////tab//appendToLog(\\quot\\getTotalAmountEnteredFromTable: \\quot\\+TableID);//crlf////tab////tab//var table=document.getElementById(TableID);//crlf////tab////tab//if(!table) return;//crlf////crlf////tab////tab//var arFieldID=getSubStringArray(table.getAttribute(\\quot\\aspectFields\\quot\\)\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\true);//crlf////crlf////tab////tab////get first row in table not including template//crlf////tab////tab//var row=null;//crlf////tab////tab//for (var i=0;(!row) //amp////amp// (i<table.rows.length);i++) {//crlf////tab////tab////tab//if(table.rows[i].getAttribute(\\quot\\keyvalue\\quot\\)) {//crlf////tab////tab////tab////tab//row=table.rows[i];//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab////tab////crlf////tab////tab////abort if row not found//crlf////tab////tab//if(!row) {//crlf////tab////tab////tab//appendToLog(\\quot\\Could not locate first row in table\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////determine the cell containing the amount//crlf////tab////tab//var iCellIndex=-1;//crlf////tab////tab//for (var i=0;i<row.cells.length;i++) {//crlf////tab////tab////tab//var sCellIndex=row.cells[i].getAttribute(\\quot\\CellIndex\\quot\\);//crlf////tab////tab////tab//if(sCellIndex) {//crlf////tab////tab////tab////tab//var iCellIndex=parseInt(sCellIndex);//crlf////tab////tab////tab////tab//var sFieldID=arFieldID[iCellIndex];//crlf////tab////tab////tab////tab//if(sFieldID) {//crlf////tab////tab////tab////tab////tab//if(sFieldID.equalsIgnoreCase(\\quot\\Extended_Price\\quot\\)) {//crlf////tab////tab////tab////tab////tab////tab//iCellIndex=i;//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab//if(iCellIndex<0) {//crlf////tab////tab////tab//appendToLog(\\quot\\Could not determine cell containing amount\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////adjust the index to allow for the edit icon and inspect menu//crlf////tab////tab//iCellIndex+=2;//crlf////tab////tab//appendToLog(\\quot\\getTotalAmountEnteredFromTable iCellIndex=\\quot\\+iCellIndex)//crlf////crlf////tab////tab//var dAmount=0;//crlf////tab////tab//for(var i=0;i<table.rows.length;i++) {//crlf////tab////tab////tab//if(table.rows[i].getAttribute(\\quot\\keyvalue\\quot\\)) {//crlf////tab////tab////tab////tab//var eNode=table.rows[i].cells[iCellIndex].childNodes[0];//crlf////tab////tab////tab////tab//var s=replaceAllSubstrings(eNode.innerHTML\\comma\\\\quot\\//amp//nbsp;\\quot\\\\comma\\\\quot\\\\quot\\).trim();//crlf////tab////tab////tab////tab////appendToLog(\\quot\\eNode.type=\\quot\\+eNode.type+\\quot\\ innerHTML=\\quot\\+eNode.innerHTML+\\quot\\ s=\\quot\\+s);//crlf////tab////tab////tab////tab//if(s.length>0) {//crlf////tab////tab////tab////tab////tab//dAmount+=parseFloat(s);//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Adding extended price: [\\quot\\+s+\\quot\\] dAmount=\\quot\\+dAmount);//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab////appendToLog(\\quot\\dAmount=\\quot\\+dAmount);//crlf////tab////tab//var e=document.getElementById(TableID+\\quot\\TotalExtendedPrice\\quot\\);//crlf////tab////tab//e.value=formatNumber(dAmount\\comma\\\\quot\\//pound////pound////pound//\\comma\\//pound////pound////pound//.00\\quot\\);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Calculates the total extended price for all items entered on the invoice.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function getTotalAmountEntered(TableID\\comma\\LastInvoiceID\\comma\\s) {//crlf////tab////tab////appendToLog(\\quot\\getTotalAmountEntered s=\\quot\\+s);//crlf////tab////tab//var e=document.getElementById(TableID+\\quot\\TotalExtendedPrice\\quot\\);//crlf////crlf////tab////tab//var table=document.getElementById(TableID);//crlf////tab////tab//var sParamsActive=table.getAttribute(\\quot\\paramsactive\\quot\\);//crlf////tab////tab//var sStoreID=getElementValue(sParamsActive\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sInvoiceID=getElementValue(sParamsActive\\comma\\\\quot\\InvoiceID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sDate=getElementValue(sParamsActive\\comma\\\\quot\\Date\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sSource=table.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab//if(s) {//crlf////tab////tab////tab////don't update the amount if the dialog has been opened for a different invoice//crlf////tab////tab////tab//if(sInvoiceID==LastInvoiceID) {//crlf////tab////tab////tab////tab//setPendingSubmissionStyle(e\\comma\\false\\comma\\false);//crlf////tab////tab////tab////tab//var d=parseFloat(s);//crlf////tab////tab////tab////tab//if(isNaN(d)) d=0;//crlf////tab////tab////tab////tab//e.value=formatNumber(d\\comma\\\\quot\\//pound////pound////pound////pound////pound////pound//.00\\quot\\);//crlf////tab////tab////tab//};//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//setPendingSubmissionStyle(e\\comma\\false\\comma\\true);//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?network=greenlight//amp//id=getWidget\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Invoice Detail Summary\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//ContainerItemID=sensor_list//amp//sensor=getTotalExtendedPrice//amp//SensorExec=true\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//StoreID=\\quot\\+sStoreID+\\quot\\//amp//InvoiceID=\\quot\\+sInvoiceID+\\quot\\//amp//Date=\\quot\\+sDate+\\quot\\//amp//Source=\\quot\\+sSource;//crlf////tab////tab////alert(\\quot\\sUrl=\\quot\\+sUrl);//crlf////crlf////tab////tab//var sFunc=\\quot\\getTotalAmountEntered(\\\quot\\\\quot\\+TableID+\\quot\\\\\quot\\\\comma\\\\\quot\\\\quot\\+sInvoiceID+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////appendToLog(\\quot\\getTotalAmountEntered url=\\quot\\+sUrl);//crlf////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when a vendor is selected in the edit invoice dialog//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function vendorSelected(salt\\comma\\DialogOpening) {//crlf////tab////tab////hide invoice details until a vendor is selected//crlf////tab////tab//var sVendorID=document.getElementById(salt+\\quot\\VendorID\\quot\\).value;//crlf////tab////tab//var sHasDetails=document.getElementById(salt+\\quot\\HasDetails\\quot\\).value;//crlf////crlf////tab////tab////if the invoice has details\\comma\\ then show the table//crlf////tab////tab//if(sHasDetails.equalsIgnoreCase(\\quot\\true\\quot\\)) {//crlf////tab////tab////tab////hide the table body so a table populated for a prior dialog will not be displayed when//crlf////tab////tab////tab////inserting a new record//crlf////tab////tab////tab//var ePriorTable=document.getElementById(salt);//crlf////tab////tab////tab//if(ePriorTable) {//crlf////tab////tab////tab////tab//if(ePriorTable.tBodies[0]) {//crlf////tab////tab////tab////tab////tab//setVisible(ePriorTable.tBodies[0]\\comma\\false);//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//setVisible(salt+\\quot\\InvoiceDetailTableContainer\\quot\\\\comma\\true);//crlf////tab////tab////tab//setVisible(salt+\\quot\\SelectVendor\\quot\\\\comma\\false);//crlf////crlf////tab////tab////tab////set the value of the external driver param used to pass the Vendor ID to the details table//crlf////tab////tab////tab////and refresh the table//crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\VendorIDParam\\quot\\);//crlf////tab////tab////tab//if(e.value!=sVendorID) {//crlf////tab////tab////tab////tab//document.getElementById(salt+\\quot\\VendorIDParam\\quot\\).value=sVendorID;//crlf////tab////tab////tab////tab//refreshTable(salt);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab//refreshTable(salt);//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////if a vendor is not selected\\comma\\ hide the table//crlf////tab////tab//if((sVendorID==\\quot\\0\\quot\\) ~~pipe~~~~pipe~~ (sVendorID.length==0)) {//crlf////tab////tab////tab//setVisible(salt+\\quot\\InvoiceDetailTableContainer\\quot\\\\comma\\false);//crlf////tab////tab////tab//setVisible(salt+\\quot\\SelectVendor\\quot\\\\comma\\true);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab////hide the table body so a table populated for a prior dialog will not be displayed when//crlf////tab////tab////tab////inserting a new record//crlf////tab////tab////tab//setVisible(document.getElementById(salt).tBodies[0]\\comma\\false);//crlf////crlf////tab////tab////tab//setVisible(salt+\\quot\\InvoiceDetailTableContainer\\quot\\\\comma\\true);//crlf////tab////tab////tab//setVisible(salt+\\quot\\SelectVendor\\quot\\\\comma\\false);//crlf////crlf////tab////tab////tab////refresh the table so the dialog is refreshed.  The datalist used to select items from //crlf////tab////tab////tab////the selected vendor is contained in the invoice detail dialog and updating the table //crlf////tab////tab////tab////causes the dialog and datalist to be updated.//crlf////tab////tab////tab////This function is also called when the invoice dialog opens.  Do not refresh the table//crlf////tab////tab////tab////in this case since it will be refreshed anyway//crlf////tab////tab////tab////if(!DialogOpening) refreshTable(salt);//crlf////tab////tab////tab//refreshTable(salt);//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//This function is called after the alternate item list containing items supplied//crlf////tab//by the selected vendor is updated.  The update is initiated by vendorSelected() //crlf////tab//when the vendor selection changes.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function updatesInvoiceDetailSelectItemAlt(salt) {//crlf////tab////tab//alert(\\quot\\updatesInvoiceDetailSelectItemAlt: \\quot\\+salt);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Initializes an invoice by adding all items purchased from the selected //crlf////tab//vendor to the invoice details.  The items are determined by past invoices//crlf////tab//and are sorted in the order they appear on past invoices//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function initializeDefaultInvoice(TableID\\comma\\s) {//crlf////tab////tab//if(s) {//crlf////tab////tab////tab//refreshTable(TableID\\comma\\\\quot\\refresh\\quot\\);//crlf////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//var eTable=document.getElementById(TableID);//crlf////tab////tab//var sTableParams=eTable.getAttribute(\\quot\\AspectParamsActive\\quot\\);//crlf////tab////tab//var sStoreID=getElementValue(sTableParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sInvoiceID=getElementValue(sTableParams\\comma\\\\quot\\InvoiceID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////tab////tab////alert(\\quot\\initializeDefaultInvoice: \\quot\\+TableID+\\quot\\ StoreID=\\quot\\+sStoreID+\\quot\\ InvoiceID=\\quot\\+sInvoiceID);//crlf////crlf////tab////tab////call the agent action used to initialize the invoice details//crlf////tab////tab//showDialog(\\quot\\icon=true//amp//msg=Initializing invoice...\\quot\\);//crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=greenlight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Invoice Detail Summary\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//ContainerItemID=action_list\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//Action=initializeDefaultInvoice//amp//ActionExec=true\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//StoreID=\\quot\\+sStoreID+\\quot\\//amp//InvoiceID=\\quot\\+sInvoiceID;//crlf////tab////tab//sUrl+=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab////tab//sFunc=\\quot\\initializeDefaultInvoice(\\\quot\\\\quot\\+TableID+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab//};//crlf////crlf//</script>//crlf////crlf//<style ID=\\quot\\CSSAspect_Back_Office_Invoice_Dialog\\quot\\>//crlf////tab//table.invoice_dialog1 tr {display:table-row;margin-right:0px;}//crlf////tab//@media only screen and (min-width:700px) {//crlf////tab////tab///* when the minimum width is 700px\\comma\\ display the table rows inline *///crlf////tab////tab//table.invoice_dialog1 tr {display:inline;margin-right:10px;}//crlf////tab//}//crlf//</style>//crlf////crlf//<!-- Dialog used to edit a record -->//crlf//<!conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div ID=\\quot\\Aspect_Back_Office_Invoice__DialogID__\\quot\\ DialogIDSalt=\\quot\\__DialogID__\\quot\\ salt=\\quot\\__salt__\\quot\\ aspectinit=\\quot\\invoiceDialogOpened\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:850px; border:none; display:block;\\quot\\>//crlf//</conditional>//crlf//<!conditional expression:not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div ID=\\quot\\Aspect_Back_Office_Invoice__DialogID__\\quot\\ DialogIDSalt=\\quot\\__DialogID__\\quot\\ salt=\\quot\\__salt__\\quot\\ aspectinit=\\quot\\invoiceDialogOpened\\quot\\ class=\\quot\\default_table_dialog\\quot\\ AdjustHeight=\\quot\\false\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:650px; display:<!!include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Inventory Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>;\\quot\\>//crlf//</conditional>//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//<!conditional expression:not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this);closeTableEditDialog(document.getElementById('Aspect_Back_Office_Invoice_Detail__salt__'))\\quot\\></div>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<!-- Used as an external filter in the details table -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\InvoiceID__DialogID__\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\__InvoiceID__\\quot\\ expression=\\quot\\InvoiceID='$value$'\\quot\\ param=\\quot\\InvoiceID=$value$\\quot\\>//crlf////crlf////tab////tab//<!-- //crlf////tab////tab////tab////tab//Used as an external driver param in the details table //crlf////tab////tab////tab////tab//Invoices are recorded in a dated file based on the date the invoice is ENTERED\\comma\\//crlf////tab////tab////tab////tab//not on the date the invoice is applied to for cost of sales calculations.//crlf////tab////tab////tab////tab//This avoids having to move details from one file to another if the date of the//crlf////tab////tab////tab////tab//invoice is changed.//crlf////tab////tab//-->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\DateEntered__DialogID__\\quot\\ name=\\quot\\Date_Entered\\quot\\ param=\\quot\\Date=$value$\\quot\\>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//These inputs are used by the invoiceDialogOpened() function to set the Edited flag in the //crlf////tab////tab//invoice record.  This flag is used to determine when an invoice has been imported//crlf////tab////tab//but not edited.//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__StoreID\\quot\\ value=\\quot\\__StoreID__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__InvoiceID\\quot\\ name=\\quot\\ID\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__HasDetails\\quot\\ name=\\quot\\Has_Details\\quot\\>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//These fields are used to determine if a prompt should be given when a price changes//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__PromptOnPriceChange\\quot\\ value=\\quot\\<!!include type:expression; expression:lookup(Aspect_BackOffice_Store_Prompt_On_Invoice_Price_Change\\comma\\\\quot\\__StoreID__\\quot\\)>\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__PromptOnPriceChangePcnt\\quot\\ value=\\quot\\<!!include type:expression; expression:lookup(Aspect_BackOffice_Store_Prompt_On_Invoice_Price_Change_Pcnt\\comma\\\\quot\\__StoreID__\\quot\\)>\\quot\\>//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//[!------------------------------------------------------------------------//crlf////tab////tab//This is a hidden collection used to get the default purchase size and price//crlf////tab////tab//when an item is selected in the invoice detal//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:Collection;//crlf////tab////tab////tab//ID:\\quot\\__salt__DefaultPurchaseInfo\\quot\\;//crlf////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Default_Purchase_Info\\quot\\;//crlf////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\style='display:none'\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\Record_Type=1\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab//>//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\\>Edit Invoice</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'>Edit Invoice</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//<div style=\\quot\\float:left\\quot\\>//crlf////tab////tab////tab////tab//<table ID=\\quot\\__DialogID__InvoiceDialogTable1\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Vendor</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Vendor_Names_By_ID_With_Select\\quot\\\\comma\\\\quot\\VendorID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID='__salt__VendorID' class=\\quot\\+quote(\\quot\\long\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\vendorSelected(\\quot\\+quote(\\quot\\__salt__\\quot\\\\comma\\char(0x27))+\\quot\\)\\quot\\+char(0x3B)+\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Number</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class=\\quot\\long\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Number\\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////tab//<div style=\\quot\\float:left\\quot\\>//crlf////tab////tab////tab////tab//<table ID=\\quot\\__DialogID__InvoiceDialogTable2\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Date</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONBLUR=\\quot\\submitDialogCell(this)\\quot\\ class=\\quot\\date\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Date\\quot\\ TYPE=\\quot\\date\\quot\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\yyyy-MM-dd\\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>Due</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONBLUR=\\quot\\submitDialogCell(this)\\quot\\ class=\\quot\\date\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Due_Date\\quot\\ TYPE=\\quot\\date\\quot\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\yyyy-MM-dd\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////tab////tab////tab//<div style=\\quot\\float:left\\quot\\>//crlf////tab////tab////tab////tab//<table ID=\\quot\\__DialogID__InvoiceDialogTable3\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Amount</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class=\\quot\\number\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Amount\\quot\\ TYPE=\\quot\\number\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Paid\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Paid//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Logged</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input type=\\quot\\number\\quot\\ class=\\quot\\number\\quot\\ style=\\quot\\text-align:right\\quot\\ readonly=\\quot\\readonly\\quot\\ ID=\\quot\\__salt__TotalExtendedPrice\\quot\\></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input CHECKED=\\quot\\checked\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\true\\quot\\ NAME=\\quot\\Is_Exported\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input>Exported</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab//<div style=\\quot\\clear:both\\quot\\></div>//crlf////tab////tab////tab//<hr>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//NOTE: When DialogOnly is true://crlf////crlf////tab////tab////tab//Lookup the date to be passed in the driver params.  Do this even//crlf////tab////tab////tab//if a date parameter is supplied because the date passed to the driver needs to be the //crlf////tab////tab////tab//date the invoice was ENTERED on\\comma\\ not the invoice date//crlf////crlf////tab////tab////tab//The table body for invoice details is hidden for some reason\\comma\\ possibly something to //crlf////tab////tab////tab//do with initializing the dialog.  A javascript statement is defined below to refresh//crlf////tab////tab////tab//the table after it is loaded.  Need to improve this. (04-13-2016)//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<!conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab////tab//<!!include type:expression; expression:htmlConstant(\\quot\\DateEntered\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lookup(Aspect_BackOffice_Lookup_Invoice_Date_Entered_By_ID\\comma\\\\quot\\__InvoiceID__\\quot\\\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\))>//crlf////tab////tab////tab////tab//<script ID=\\quot\\JSEditInvoiceDetail\\quot\\>//crlf////tab////tab////tab////tab//  refreshTable('__salt__'\\comma\\'refresh'); //crlf////tab////tab////tab////tab//</script>//crlf////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab//<div ID=\\quot\\__salt__SelectVendor\\quot\\ style=\\quot\\height:400px\\quot\\>//crlf////tab////tab////tab////tab//<p>Select a vendor...</p>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<div ID=\\quot\\__salt__InvoiceDetailTableContainer\\quot\\ style=\\quot\\display:none\\quot\\>//crlf////tab////tab////tab////tab//<div ID=\\quot\\__salt__InvoiceItems\\quot\\>//crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//This is an external driver param used to pass the selected Vendor ID to the table//crlf////tab////tab////tab////tab////tab//of invoice details.  This is used to add the vendor's item code to the item name//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__VendorIDParam\\quot\\ name=\\quot\\VendorID\\quot\\ param=\\quot\\VendorID=$value$\\quot\\>//crlf////crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//Don't limit the height of the table when DialogOnly is true.  Relative positioning//crlf////tab////tab////tab////tab////tab//is used to ensure the dialog used to edit a record is positioned properly.//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<!conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab//<div style=\\quot\\width:100\\percent\\;border:none;\\quot\\>//crlf////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab//<!conditional expression:(not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab////tab//Previously\\comma\\ the div below was used to limit the height of the div containing the //crlf////tab////tab////tab////tab////tab////tab//table.  Now\\comma\\ the height is set to auto and the scrollIntoView() function is called//crlf////tab////tab////tab////tab////tab////tab//when an invoice detail dialog is opened to scroll the dialog into view.//crlf////crlf////tab////tab////tab////tab////tab////tab//It still works properly if this div is enabled.  However\\comma\\ the table controls are//crlf////tab////tab////tab////tab////tab////tab//scrolled out of view and it is not as clean.//crlf////crlf////tab////tab////tab////tab////tab////tab//The AdjustHeight attribute has been added to the dialog.  This causes the //crlf////tab////tab////tab////tab////tab////tab//showTableEditDialog() function to skip setting the dialog's height to a fixed value //crlf////tab////tab////tab////tab////tab////tab//to accommodate the tabs.  This means that the height of the dialog will change if //crlf////tab////tab////tab////tab////tab////tab//it contains tabs and the heights of each tab are not identical (which they're not).//crlf////crlf////tab////tab////tab////tab////tab////tab//<div style=\\quot\\position:relative;width:100\\percent\\;height:400px;overflow:auto;border:none;\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab////tab//<div style=\\quot\\height:auto\\quot\\>//crlf////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//driver: \\quot\\Aspect_Back_Office_Invoice_Detail\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//_NoRefresh: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//state: \\quot\\getStoreDir('__StoreID__')+'invoice_detail.__DateEntered__.bin'\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//params: \\quot\\InvoiceID=__InvoiceID__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Date=__DateEntered__~~pipe~~Metadata=Aspect_Back_Office_Invoice_Detail_For_Dialog\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:defined(\\quot\\__InvoiceID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//_params: \\quot\\InvoiceID=__InvoiceID__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Date=__DateEntered__~~pipe~~Metadata=Aspect_Back_Office_Invoice_Detail_For_Dialog\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:not(defined(\\quot\\__InvoiceID__\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//_params: \\quot\\InvoiceID=Undefined~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Date={@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}~~pipe~~Metadata=Aspect_Back_Office_Invoice_Detail_For_Dialog\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//keyDescription: \\quot\\Item_Name\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//display: \\quot\\Invoice Details by Invoice Order\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//filter: \\quot\\(not(//pound//InvoiceID='undefined'))\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//basefilter: \\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//(true)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:defined(\\quot\\__InvoiceID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//and (InvoiceID='__InvoiceID__')//crlf////tab////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//InspectMenu: \\quot\\ulcZ3KBm\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//_style: \\quot\\width:100\\percent\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//_height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//_maxheight:\\quot\\400px\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//InsertPosition: \\quot\\bottom\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//EmbedValues: \\quot\\Item_Name\\comma\\Size_Prefix\\comma\\Size_Unit\\comma\\Size\\comma\\Quantity\\comma\\Extended_Price\\comma\\ItemID\\comma\\ID\\comma\\Sort_Index\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~778581~~pipe~~Aspect_Back_Office_Invoice_Detail~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:not(defined(\\quot\\__DialogOnly__\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//ExternalParams: \\quot\\__salt__VendorIDParam\\comma\\InvoiceID__DialogID__\\comma\\DateEntered__DialogID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//ExternalFilters: \\quot\\InvoiceID__DialogID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Timestamp: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Menu: \\quot\\Initialize Invoice~~pipe~~initializeDefaultInvoice\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:false>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//RefreshOnDataSubmit is set to true to provide a failsafe to make sure records are//crlf////tab////tab////tab////tab////tab////tab////tab////tab//refreshed after saving.  It appears that sometimes they are not.  The RefreshOnDataSubmit//crlf////tab////tab////tab////tab////tab////tab////tab////tab//causes the table to be refreshed after data has been submitted and there are //crlf////tab////tab////tab////tab////tab////tab////tab////tab//no pending submissions.  If the problem with records being refreshed is fixed\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//this can be disabled.//crlf////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshOnDataSubmit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshWhenHidden: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//<!-- Add space to display the edit dialog for the last record in the table -->//crlf////tab////tab////tab////tab////tab////tab//<div style=\\quot\\height:175px\\quot\\></div>//crlf////tab////tab////tab////tab////tab//</div>//crlf////tab////tab////tab////tab//</div>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</div>//crlf////crlf//^
ID=597458|X=183|Y=32|W=756|H=700|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=266415|AttachLeft=|AlignLeft=266415|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="Import Aspect6 Inventory Data" group="" category="Aspect6 Utilities" description="Imports all Aspect6 inventory data into Aspect7 format." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Import Aspect6 Inventory Data" modified="12-20-2017 14:25:54" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=12-09-2017 21:37:08:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=133|toolboxy=275|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Import Aspect6 Inventory Data.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=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\\'455299')\\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\\'import_aspect6_data_dialog')\\quot\\>Import Dialog</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'34384')\\quot\\>Parameter Definitions</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\\'417355')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=455299|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Import Aspect6 Inventory Data.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=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=true|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_KAV7tpXDgrrC34l3qOMpj1Sy_Import Aspect6 Inventory Data.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Import Aspect6 Inventory Data\\comma\\ImportAspect6Data\\comma\\action_list\\comma\\Action=ImportAspect6Data\\comma\\private//crlf////tab//Import Aspect6 Inventory Data\\comma\\importInventoryItems\\comma\\action_list\\comma\\Action=importInventoryItems\\comma\\private//crlf////tab//Import Aspect6 Inventory Data\\comma\\importConversions\\comma\\action_list\\comma\\Action=importConversions\\comma\\private//crlf////tab//Import Aspect6 Inventory Data\\comma\\importVendors\\comma\\action_list\\comma\\Action=importVendors\\comma\\private//crlf////tab//Import Aspect6 Inventory Data\\comma\\importInvoiceDetails\\comma\\action_list\\comma\\Action=importInvoiceDetails\\comma\\private//crlf////tab//Import Aspect6 Inventory Data\\comma\\importInventoryItemGroups\\comma\\action_list\\comma\\Action=importInventoryItemGroups\\comma\\private//crlf////tab//Import Aspect6 Inventory Data\\comma\\importMenuItemGroups\\comma\\action_list\\comma\\Action=importMenuItemGroups\\comma\\private//crlf////tab//Import Aspect6 Inventory Data\\comma\\importMenuItems\\comma\\action_list\\comma\\Action=importMenuItems\\comma\\private//crlf////tab//Import Aspect6 Inventory Data\\comma\\importMenuItemDetails\\comma\\action_list\\comma\\Action=importMenuItemDetails\\comma\\private//crlf////tab//Import Aspect6 Inventory Data\\comma\\importSizes\\comma\\action_list\\comma\\Action=importSizes\\comma\\private//crlf////tab//Import Aspect6 Inventory Data\\comma\\importAreas\\comma\\action_list\\comma\\Action=importAreas\\comma\\private//crlf////tab//Import Aspect6 Inventory Data\\comma\\importMenuItemSales\\comma\\action_list\\comma\\Action=importMenuItemSales\\comma\\private//crlf////tab//Import Aspect6 Inventory Data\\comma\\importInventoryCount\\comma\\action_list\\comma\\Action=importInventoryCount\\comma\\private//crlf////tab//Import Aspect6 Inventory Data\\comma\\importInvoices\\comma\\action_list\\comma\\Action=importInvoices\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//ImportAspect6Data//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\ImportAspect6Data\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Imports selected Aspect6 data to an Aspect7 store//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//ImportSelection - Data to be imported.  Values are all\\comma\\ inventory_setup\\comma\\ inventory_data\\comma\\ labor\\comma\\ sales//crlf////tab////tab//Aspect6StoreDir - Directory containing Aspect6 inventory items//crlf////tab////tab//Aspect7StoreDir - Directory containing Aspect7 inventory items//crlf////tab////tab//DtFrom - Starting date//crlf////tab////tab//DtTo - Ending date//crlf////tab////tab//Replace - Optional.  If true\\comma\\ the existing file will be deleted before the import//crlf////tab////tab//ImportDeleted - Determines whether deleted records will be imported//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\\ImportAspect6Data\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Execute: __Action__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect6StoreDir: __Aspect6StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect7StoreDir: __Aspect7StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Replace: __Replace__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\DtFrom: __DtFrom__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\DtTo: __DtTo__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\ImportDeleted: __ImportDeleted__\\quot\\)//crlf////crlf////tab////tab////tab////abort if an instance is already running//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Aborting __Action__ because an instance is already running\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(undefined(\\quot\\__ImportSelection__\\quot\\))//tab////crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing import selection\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(undefined(\\quot\\__Aspect6StoreDir__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Aspect6 store directory\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(undefined(\\quot\\__Aspect7StoreDir__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Aspect7 store directory\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(undefined(\\quot\\__DtFrom__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing starting date\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(undefined(\\quot\\__DtTo__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing ending date\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////create the Aspect7 store directory if it doesn\\apos\\t exist//crlf////tab////tab////tab//if(not(fileExists(\\quot\\__Aspect7StoreDir__\\quot\\)))//crlf////tab////tab////tab////tab//fileMakeDirectory(\\quot\\__Aspect7StoreDir__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//tStart=dateNumber(now())//crlf////crlf////tab////tab////tab//bReplace=if(defined(\\quot\\__Replace__\\quot\\)\\comma\\boolean(\\quot\\__Replace__\\quot\\)\\comma\\false)//crlf////tab////tab////tab//bImportDeleted=if(defined(\\quot\\__ImportDeleted__\\quot\\)\\comma\\boolean(\\quot\\__ImportDeleted__\\quot\\)\\comma\\false)//crlf////tab////tab////tab//sParams=\\quot\\Aspect6StoreDir=__Aspect6StoreDir__\\quot\\//crlf////tab////tab////tab//sParams=sParams \\plus\\ \\quot\\\\amp\\Aspect7StoreDir=__Aspect7StoreDir__\\quot\\//crlf////tab////tab////tab//sParams=sParams \\plus\\ \\quot\\\\amp\\DtFrom=__DtFrom__\\quot\\//crlf////tab////tab////tab//sParams=sParams \\plus\\ \\quot\\\\amp\\DtTo=__DtTo__\\quot\\//crlf////tab////tab////tab//sParams=sParams \\plus\\ \\quot\\\\amp\\Replace=\\quot\\\\plus\\bReplace//crlf////tab////tab////tab//sParams=sParams \\plus\\ \\quot\\\\amp\\ImportDeleted=\\quot\\\\plus\\bImportDeleted//crlf////crlf////tab////tab////tab//Result=\\quot\\Aspect6StoreDir\\quot\\\\plus\\char(9)\\plus\\\\quot\\__Aspect6StoreDir__\\quot\\\\plus\\char(10)//crlf////tab////tab////tab//Result=Result\\plus\\\\quot\\Aspect7StoreDir\\quot\\\\plus\\char(9)\\plus\\\\quot\\__Aspect7StoreDir__\\quot\\\\plus\\char(10)//crlf////tab////tab////tab//Result=Result\\plus\\\\quot\\DtFrom\\quot\\\\plus\\char(9)\\plus\\\\quot\\__DtFrom__\\quot\\\\plus\\char(10)//crlf////tab////tab////tab//Result=Result\\plus\\\\quot\\DtTo\\quot\\\\plus\\char(9)\\plus\\\\quot\\__DtTo__\\quot\\\\plus\\char(10)//crlf////tab////tab////tab//Result=Result\\plus\\\\quot\\Replace\\quot\\\\plus\\char(9)\\plus\\\\quot\\__Replace__\\quot\\\\plus\\char(10)//crlf////tab////tab////tab//Result=Result\\plus\\\\quot\\ImportDeleted\\quot\\\\plus\\char(9)\\plus\\\\quot\\__ImportDeleted__\\quot\\\\plus\\char(10)//crlf////crlf////tab////tab////tab////This section is for testing//crlf////tab////tab////tab////Result=Result \\plus\\ \\quot\\Invoices: \\quot\\\\plus\\char(9)\\plus\\execAgentAction(\\quot\\importInvoices\\quot\\\\comma\\sParams)\\plus\\char(10)//crlf////tab////tab////tab////Result=Result \\plus\\ \\quot\\Invoice Details: \\quot\\\\plus\\char(9)\\plus\\execAgentAction(\\quot\\importInvoiceDetails\\quot\\\\comma\\sParams)\\plus\\char(10)//crlf////tab////tab////tab////Result=htmlTable(Result\\comma\\char(10)\\comma\\char(9))//crlf////tab////tab////tab////return(Result) //crlf////crlf////tab////tab////tab//if((\\quot\\__ImportSelection__\\quot\\=\\quot\\all\\quot\\) or (\\quot\\__ImportSelection__\\quot\\=\\quot\\inventory_setup\\quot\\))//crlf////tab////tab////tab////tab//Result=Result \\plus\\ \\quot\\Inventory Groups: \\quot\\\\plus\\char(9)\\plus\\execAgentAction(\\quot\\importInventoryItemGroups\\quot\\\\comma\\sParams)\\plus\\char(10)//crlf////tab////tab////tab////tab//Result=Result \\plus\\ \\quot\\Inventory Items: \\quot\\\\plus\\char(9)\\plus\\execAgentAction(\\quot\\importInventoryItems\\quot\\\\comma\\sParams)\\plus\\char(10)//crlf////tab////tab////tab////tab//Result=Result \\plus\\ \\quot\\Conversions: \\quot\\\\plus\\char(9)\\plus\\execAgentAction(\\quot\\importConversions\\quot\\\\comma\\sParams)\\plus\\char(10)//crlf////tab////tab////tab////tab//Result=Result \\plus\\ \\quot\\Vendors: \\quot\\\\plus\\char(9)\\plus\\execAgentAction(\\quot\\importVendors\\quot\\\\comma\\sParams)\\plus\\char(10)//crlf////tab////tab////tab////tab//Result=Result \\plus\\ \\quot\\Sizes: \\quot\\\\plus\\char(9)\\plus\\execAgentAction(\\quot\\importSizes\\quot\\\\comma\\sParams)\\plus\\char(10)//crlf////tab////tab////tab////tab//Result=Result \\plus\\ \\quot\\Areas: \\quot\\\\plus\\char(9)\\plus\\execAgentAction(\\quot\\importAreas\\quot\\\\comma\\sParams)\\plus\\char(10)//crlf////tab////tab////tab////tab//Result=Result \\plus\\ \\quot\\Menu Groups: \\quot\\\\plus\\char(9)\\plus\\execAgentAction(\\quot\\importMenuItemGroups\\quot\\\\comma\\sParams)\\plus\\char(10)//crlf////tab////tab////tab////tab////Result=Result \\plus\\ \\quot\\Menu Items: \\quot\\\\plus\\char(9)\\plus\\execAgentAction(\\quot\\importMenuItems\\quot\\\\comma\\sParams)\\plus\\char(10)//crlf////tab////tab////tab////tab//Result=Result \\plus\\ \\quot\\Recipe Ingredients: \\quot\\\\plus\\char(9)\\plus\\execAgentAction(\\quot\\importMenuItemDetails\\quot\\\\comma\\sParams)\\plus\\char(10)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if((\\quot\\__ImportSelection__\\quot\\=\\quot\\all\\quot\\) or (\\quot\\__ImportSelection__\\quot\\=\\quot\\inventory_count\\quot\\) or (\\quot\\__ImportSelection__\\quot\\=\\quot\\inventory_data\\quot\\))//crlf////tab////tab////tab////tab//Result=Result \\plus\\ \\quot\\Inventory Count: \\quot\\\\plus\\char(9)\\plus\\execAgentAction(\\quot\\importInventoryCount\\quot\\\\comma\\sParams)\\plus\\char(10)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if((\\quot\\__ImportSelection__\\quot\\=\\quot\\all\\quot\\) or (\\quot\\__ImportSelection__\\quot\\=\\quot\\inventory_invoice\\quot\\) or (\\quot\\__ImportSelection__\\quot\\=\\quot\\inventory_data\\quot\\))//crlf////tab////tab////tab////tab//Result=Result \\plus\\ \\quot\\Invoices: \\quot\\\\plus\\char(9)\\plus\\execAgentAction(\\quot\\importInvoices\\quot\\\\comma\\sParams)\\plus\\char(10)//crlf////tab////tab////tab////tab//Result=Result \\plus\\ \\quot\\Invoice Details: \\quot\\\\plus\\char(9)\\plus\\execAgentAction(\\quot\\importInvoiceDetails\\quot\\\\comma\\sParams)\\plus\\char(10)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if((\\quot\\__ImportSelection__\\quot\\=\\quot\\all\\quot\\) or (\\quot\\__ImportSelection__\\quot\\=\\quot\\labor\\quot\\))//crlf////tab////tab////tab////tab//Result=Result \\plus\\ \\quot\\Error: Labor import is not available.\\quot\\\\plus\\char(10)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if((\\quot\\__ImportSelection__\\quot\\=\\quot\\all\\quot\\) or (\\quot\\__ImportSelection__\\quot\\=\\quot\\sales\\quot\\))//crlf////tab////tab////tab////tab//Result=Result \\plus\\ \\quot\\Menu Item Sales: \\quot\\\\plus\\char(9)\\plus\\execAgentAction(\\quot\\importMenuItemSales\\quot\\\\comma\\sParams)\\plus\\char(10)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//Result=Result\\plus\\\\quot\\Elapsed Time: \\quot\\\\plus\\char(9)\\plus\\formatElapsedTime(dateNumber(now())-tStart\\comma\\\\quot\\DHMS\\quot\\)\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//Result=htmlTable(Result\\comma\\char(10)\\comma\\char(9))//crlf////tab////tab////tab//return(Result)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//importInventoryItems//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importInventoryItems\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Imports inventory items from Aspect6 to Aspect7.  //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Aspect6StoreDir - Directory containing Aspect6 inventory items//crlf////tab////tab//Aspect7StoreDir - Directory containing Aspect7 inventory items//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\\Execute: __Action__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect6StoreDir: __Aspect6StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect7StoreDir: __Aspect7StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Replace: __Replace__\\quot\\)//crlf////crlf////tab////tab////tab////abort if an instance is already running//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Aborting __Action__ because an instance is already running\\quot\\))//crlf////tab////tab////tab//endif//crlf////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////get the Aspect7 store ID//crlf////tab////tab////tab//StoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\\\quot\\__Aspect7StoreDir__\\quot\\)//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\\item.bin\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open system drivers used to lookup the Aspect7 ID\\apos\\s.  These are passed to the //crlf////tab////tab////tab////Aspect6 driver.//crlf////tab////tab////tab////sAspect7VendorDriver=getSalt(5)//crlf////tab////tab////tab////driverOpen(Aspect_Back_Office_Vendor\\comma\\sAspect7VendorDriver\\comma\\READ\\comma\\true\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\vendor.bin\\quot\\)//crlf////tab////tab////tab////driverSetFilter(sAspect7VendorDriver\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////sAspect7InventoryGroupDriver=getSalt(5)//crlf////tab////tab////tab////driverOpen(Aspect_Back_Office_Inventory_Item_Group\\comma\\sAspect7InventoryGroupDriver\\comma\\READ\\comma\\true\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\itemgroup.bin\\quot\\)//crlf////tab////tab////tab////driverSetFilter(sAspect7InventoryGroupDriver\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////sAspect7SizeDriver=getSalt(5)//crlf////tab////tab////tab////driverOpen(Aspect_Back_Office_Size\\comma\\sAspect7SizeDriver\\comma\\READ\\comma\\true\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\size.bin\\quot\\)//crlf////tab////tab////tab////driverSetFilter(sAspect7SizeDriver\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////open the Aspect6 driver//crlf////tab////tab////tab////driverOpen(Aspect6_Driver_Inventory_Items_By_Filename\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\\\quot\\ingr.dta~~pipe~~Aspect7VendorDriver=\\quot\\\\plus\\sAspect7VendorDriver\\plus\\\\quot\\~~pipe~~Aspect7InventoryGroupDriver=\\quot\\\\plus\\sAspect7InventoryGroupDriver\\plus\\\\quot\\~~pipe~~Aspect7SizeDriver=\\quot\\\\plus\\sAspect7SizeDriver)//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Items_By_Filename\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\\\quot\\ingr.dta\\quot\\)//crlf////tab////crlf////tab////tab////tab//sFilter=\\quot\\(ID_RESERVED_USED=true) and (not(Is_Corrupt_Recipe_Record))\\quot\\//crlf////tab////tab////tab//if(\\quot\\__ImportDeleted__\\quot\\=\\quot\\false\\quot\\)//crlf////tab////tab////tab////tab//sFilter=\\quot\\Import_To_Aspect7\\quot\\//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect6 Filter=\\quot\\\\plus\\sFilter)//crlf////tab////tab////tab//driverSetFilter(drv6\\comma\\sFilter\\comma\\true)//crlf////crlf////tab////tab////tab////open the Aspect7 driver//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Item\\comma\\drv7\\comma\\WRITE\\comma\\false\\comma\\\\quot\\NoDepend~~pipe~~Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\item.bin\\quot\\)//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\\Name=ID_TINGREDIENTREC_NAME\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Deleted=Deleted_Do_Not_Import\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~GroupID=ID_TINGREDIENTREC_GROUP\\quot\\//crlf////tab////tab////tab////sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Count_Size1_Prefix=ID_TINGREDIENTREC_COUNT.ID_TCOUNTREC_SIZE.ID_TSIZEREC_PREFIX\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Count_Size1_Prefix=Aspect7_Counts_Size_Prefix\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Count_Size2_Prefix=ID_TINGREDIENTREC_ALTCOUNTSIZE1.ID_TSIZEREC_PREFIX\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Count_Size3_Prefix=ID_TINGREDIENTREC_ALTCOUNTSIZE2.ID_TSIZEREC_PREFIX\\quot\\//crlf////tab////tab////tab////sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Count_Size1_Unit=ID_TINGREDIENTREC_COUNT.ID_TCOUNTREC_SIZE.ID_TSIZEREC_SZ\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Count_Size1_Unit=Aspect7_Count_Size_Unit\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Count_Size2_Unit=ID_TINGREDIENTREC_ALTCOUNTSIZE1.ID_TSIZEREC_SZ\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Count_Size3_Unit=ID_TINGREDIENTREC_ALTCOUNTSIZE2.ID_TSIZEREC_SZ\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Vendor1=ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_INDEX\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Vendor2=ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_INDEX\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Vendor3=ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_INDEX\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Vendor1_Size_Prefix=Vendor_Size_Prefix_For_Aspect7_Import1\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Vendor2_Size_Prefix=Vendor_Size_Prefix_For_Aspect7_Import2\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Vendor3_Size_Prefix=Vendor_Size_Prefix_For_Aspect7_Import3\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Vendor1_Size_Unit=ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_SZ\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Vendor2_Size_Unit=ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_SZ\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Vendor3_Size_Unit=ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_SZ\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Vendor1_Code=ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_CODE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Vendor2_Code=ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_CODE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Vendor3_Code=ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_CODE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Vendor1_Price=ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_PRICE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Vendor2_Price=ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_PRICE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Vendor3_Price=ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_PRICE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Record_Type=Aspect7_Record_Type\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Menu_Item_ID=ID_TRECIPEINFOREC_INDEX\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Menu_Item_POS_ID=Lookup_Menu_Item_Number\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Menu_Item_Group_ID=Lookup_Menu_Item_Group_ID\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Gross_Yield_Prefix=Gross_Yeild_Prefix\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Gross_Yield_Unit=Gross_Yeild_Unit\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Serve_Size_Prefix=Serve_Size_Prefix\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Serve_Size_Unit=Serve_Size_Unit\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Include_In_Inventory_Count=Include_Recipe_In_Count\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Allow_as_Batch_Recipe=Is_Batch_Recipe\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Conversion_Fluid_Ounce_Setup_Prefix=Round_Conversion_FZ\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Conversion_Weight_Ounce_Setup_Prefix=Round_Conversion_OZ\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Conversion_Each=Round_Conversion_EA\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Conversion_Serving=Round_Conversion_SV\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ID=DiskIndex\\quot\\//crlf////crlf////tab////tab////tab////set fields to merge//tab////crlf////tab////tab////tab//sFieldsToMerge=\\quot\\Name~~pipe~~Deleted~~pipe~~GroupID~~pipe~~Count_Size1_Prefix~~pipe~~Count_Size2_Prefix~~pipe~~Count_Size3_Prefix\\quot\\//crlf////tab////tab////tab//sFieldsToMerge=sFieldsToMerge \\plus\\ \\quot\\~~pipe~~Count_Size1_Unit~~pipe~~Count_Size2_Unit~~pipe~~Count_Size3_Unit\\quot\\//crlf////tab////tab////tab//sFieldsToMerge=sFieldsToMerge \\plus\\ \\quot\\~~pipe~~Vendor1~~pipe~~Vendor2~~pipe~~Vendor3\\quot\\//crlf////tab////tab////tab//sFieldsToMerge=sFieldsToMerge \\plus\\ \\quot\\~~pipe~~Vendor1_Size_Prefix~~pipe~~Vendor2_Size_Prefix~~pipe~~Vendor3_Size_Prefix\\quot\\//crlf////tab////tab////tab//sFieldsToMerge=sFieldsToMerge \\plus\\ \\quot\\~~pipe~~Vendor1_Size_Unit~~pipe~~Vendor2_Size_Unit~~pipe~~Vendor3_Size_Unit\\quot\\//crlf////tab////tab////tab//sFieldsToMerge=sFieldsToMerge \\plus\\ \\quot\\~~pipe~~Vendor1_Code~~pipe~~Vendor2_Code~~pipe~~Vendor3_Code\\quot\\//crlf////tab////tab////tab//sFieldsToMerge=sFieldsToMerge \\plus\\ \\quot\\~~pipe~~Vendor1_Price~~pipe~~Vendor2_Price~~pipe~~Vendor3_Price\\quot\\//crlf////tab////tab////tab//sFieldsToMerge=sFieldsToMerge \\plus\\ \\quot\\~~pipe~~Record_Type~~pipe~~Menu_Item_ID~~pipe~~Menu_Item_POS_ID~~pipe~~Menu_Item_Group_ID\\quot\\//crlf////tab////tab////tab//sFieldsToMerge=sFieldsToMerge \\plus\\ \\quot\\~~pipe~~Gross_Yield_Prefix~~pipe~~Gross_Yield_Unit~~pipe~~Serve_Size_Prefix~~pipe~~Serve_Size_Unit\\quot\\//crlf////tab////tab////tab//sFieldsToMerge=sFieldsToMerge \\plus\\ \\quot\\~~pipe~~Include_In_Inventory_Count~~pipe~~Allow_as_Batch_Recipe\\quot\\//crlf////tab////tab////tab//sFieldsToMerge=sFieldsToMerge \\plus\\ \\quot\\~~pipe~~Conversion_Fluid_Ounce_Setup_Prefix~~pipe~~Conversion_Fluid_Ounce_Setup_Unit~~pipe~~Conversion_Weight_Ounce_Setup_Prefix~~pipe~~Conversion_Weogjt_Ounce_Setup_Unit~~pipe~~Conversion_Each~~pipe~~Conversion_Serving\\quot\\//crlf////crlf////tab////tab////tab//sKeyFields=\\quot\\ID\\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////driverClose(sAspect7VendorDriver)//crlf////tab////tab////tab////driverClose(sAspect7InventoryGroupDriver)//crlf////tab////tab////tab////driverClose(sAspect7SizeDriver)//crlf////tab////tab////tab//scriptSetResult(appendToLog(s\\plus\\\\quot\\ (\\quot\\\\plus\\getScriptElapsedTime()\\plus\\\\quot\\ms)\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//importConversions//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importConversions\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Imports inventory item conversions from Aspect6 to Aspect7.  //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Aspect6StoreDir - Directory containing Aspect6 inventory items//crlf////tab////tab//Aspect7StoreDir - Directory containing Aspect7 inventory items//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; name:\\quot\\ImportConversions\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////profile()//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Execute: __Action__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect6StoreDir: __Aspect6StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect7StoreDir: __Aspect7StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Replace: __Replace__\\quot\\)//crlf////crlf////tab////tab////tab////abort if an instance is already running//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Aborting __Action__ because an instance is already running\\quot\\))//crlf////tab////tab////tab//endif//crlf////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////get the Aspect7 store ID//crlf////tab////tab////tab//StoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\\\quot\\__Aspect7StoreDir__\\quot\\)//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\\conversions.bin\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the number of records in the Aspect6 size file.  This is used to limit the//crlf////tab////tab////tab////number of reads required.  There is no need to read conversions for sizes that do not exist//crlf////tab////tab////tab//cSizeRecs=0//crlf////tab////tab////tab//n=fileSize(addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\\\quot\\nvsize.dta\\quot\\)//crlf////tab////tab////tab//if(n>0)//crlf////tab////tab////tab////tab//cSizeRecs=(n-290)/384//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////appendToLog(\\quot\\importConversions: cSizeRecs=\\quot\\\\plus\\cSizeRecs)//crlf////crlf////tab////tab////tab////open the drivers//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Items_By_Filename\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\\\quot\\ingr.dta~~pipe~~Aspect7VendorDriver=\\quot\\\\plus\\sAspect7VendorDriver\\plus\\\\quot\\~~pipe~~Aspect7InventoryGroupDriver=\\quot\\\\plus\\sAspect7InventoryGroupDriver\\plus\\\\quot\\~~pipe~~Aspect7SizeDriver=\\quot\\\\plus\\sAspect7SizeDriver)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Conversions\\comma\\drv7\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\conversions.bin\\quot\\)//crlf////crlf////tab////tab////tab////make a hashtable of existing Aspect7 conversions //crlf////tab////tab////tab//hashCreate(hConversions)//crlf////tab////tab////tab//c=driverGetRecordCount(drv7\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//if(driverGetFieldAbsolute(drv7\\comma\\\\quot\\used\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//ItemID=driverGetFieldAbsolute(drv7\\comma\\\\quot\\Inventory_Item_ID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//SizeID=driverGetFieldAbsolute(drv7\\comma\\\\quot\\Size_ID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//hashPut(hConversions\\comma\\ItemID\\plus\\\\quot\\_\\quot\\\\plus\\SizeID\\comma\\n)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab////read the conversions from Aspect6//crlf////tab////tab////tab//cMerge=0//crlf////tab////tab////tab//cNew=0//crlf////tab////tab////tab//c=driverGetRecordCount(drv6\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//if(driverGetFieldAbsolute(drv6\\comma\\\\quot\\ID_RESERVED_USED\\quot\\\\comma\\n))//crlf////crlf////tab////tab////tab////tab////tab////skip deleted records and recipes with no ingredients//crlf////tab////tab////tab////tab////tab//bSkip=false//crlf////tab////tab////tab////tab////tab//if(\\quot\\__ImportDeleted__\\quot\\=\\quot\\false\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//bSkip=not(driverGetFieldAbsolute(drv6\\comma\\\\quot\\Import_To_Aspect7\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//if(not(bSkip))//crlf////tab////tab////tab////tab////tab////tab//iStart=12//crlf////tab////tab////tab////tab////tab////tab//iEnd=cSizeRecs//crlf////tab////tab////tab////tab////tab////tab//iSizeID=iStart//crlf////tab////tab////tab////tab////tab////tab//while(iSizeID<=iEnd)//crlf////tab////tab////tab////tab////tab////tab////tab////12-16 are Bg\\comma\\Bx\\comma\\Bt\\comma\\Cn\\comma\\Cs//crlf////tab////tab////tab////tab////tab////tab////tab////17-19 are Ea\\comma\\Dz\\comma\\Sv - Skip these//crlf////tab////tab////tab////tab////tab////tab////tab////20 and above are custom sizes//crlf////tab////tab////tab////tab////tab////tab////tab//if((iSizeID<=16) or (iSizeID>=20))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////get the array position in the Aspect6 conversions//crlf////tab////tab////tab////tab////tab////tab////tab////tab////Note - Array indices in Aspect7 start at 1\\comma\\ not 0//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(iSizeID<=16)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//Offset=iSizeID-9//crlf////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//Offset=iSizeID-10//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//dAmount=driverGetFieldAbsolute(drv6\\comma\\\\quot\\ID_TINGREDIENTREC_CONVERSION[\\quot\\\\plus\\Offset\\plus\\\\quot\\]\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\importConversions: iSizeID=\\quot\\\\plus\\iSizeID\\plus\\\\quot\\ Offset=\\quot\\\\plus\\Offset\\plus\\\\quot\\ Amount=\\quot\\\\plus\\dAmount)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(dAmount>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dAmount=round(dAmount*100)/100//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sKey=n\\plus\\\\quot\\_\\quot\\\\plus\\iSizeID//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hConversions\\comma\\sKey))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//r=hashGet(hConversions\\comma\\sKey)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\importConversions: found record \\quot\\\\plus\\r\\plus\\\\quot\\ for key=\\quot\\\\plus\\sKey)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//cMerge\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(drv7)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drv7\\comma\\\\quot\\Inventory_Item_ID\\quot\\\\comma\\r\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drv7\\comma\\\\quot\\Size_ID\\quot\\\\comma\\r\\comma\\iSizeID)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\importConversions: added record \\quot\\\\plus\\r\\plus\\\\quot\\ for item ID=\\quot\\\\plus\\n)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//cNew\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drv7\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dAmount)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\importConversions: writing \\quot\\\\plus\\dAmount\\plus\\\\quot\\ in record \\quot\\\\plus\\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//iSizeID=iSizeID\\plus\\1//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//if(remainder(n\\comma\\1000)=0)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Importing conversions for record \\quot\\\\plus\\n\\plus\\\\quot\\ of \\quot\\\\plus\\c)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//hashClear(hConversions)//crlf////tab////tab////tab//driverClose(drv6)//crlf////tab////tab////tab//driverClose(drv7)//crlf////crlf////tab////tab////tab//s=\\quot\\Ok. Merged: \\quot\\\\plus\\cMerge\\plus\\\\quot\\ records. Added: \\quot\\\\plus\\cNew\\plus\\\\quot\\ records.\\quot\\//crlf////tab////tab////tab//scriptSetResult(appendToLog(s\\plus\\\\quot\\ (\\quot\\\\plus\\getScriptElapsedTime()\\plus\\\\quot\\ms)\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//importVendors//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importVendors\\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 inventory items//crlf////tab////tab//Aspect7StoreDir - Directory containing Aspect7 inventory items//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\\Execute: __Action__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect6StoreDir: __Aspect6StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect7StoreDir: __Aspect7StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Replace: __Replace__\\quot\\)//crlf////tab////crlf////tab////tab////tab////abort if an instance is already running//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Aborting __Action__ because an instance is already running\\quot\\))//crlf////tab////tab////tab//endif//crlf////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////get the Aspect7 store ID//crlf////tab////tab////tab//StoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\\\quot\\__Aspect7StoreDir__\\quot\\)//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\\vendor.bin\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the drivers//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Vendors\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\\\quot\\vendors.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Vendor\\comma\\drv7\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\vendor.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\\Name=ID_TVENDORREC_NAME~~pipe~~Code=ID_TVENDORREC_CODE~~pipe~~Customer Account=ID_TVENDORREC_CUST_ACCT\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ID=DiskIndex\\quot\\//crlf////crlf////tab////tab////tab////set fields to merge//tab////crlf////tab////tab////tab//sFieldsToMerge=\\quot\\Name~~pipe~~Code~~pipe~~Customer Account\\quot\\//crlf////crlf////tab////tab////tab//sKeyFields=\\quot\\ID\\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(appendToLog(s\\plus\\\\quot\\ (\\quot\\\\plus\\getScriptElapsedTime()\\plus\\\\quot\\ms)\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//importInventoryItemGroups//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importInventoryItemGroups\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Aspect6StoreDir - Directory containing Aspect6 inventory items//crlf////tab////tab//Aspect7StoreDir - Directory containing Aspect7 inventory items//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\\Execute: __Action__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect6StoreDir: __Aspect6StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect7StoreDir: __Aspect7StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Replace: __Replace__\\quot\\)//crlf////tab////crlf////tab////tab////tab////abort if an instance is already running//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Aborting __Action__ because an instance is already running\\quot\\))//crlf////tab////tab////tab//endif//crlf////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////get the Aspect7 store ID//crlf////tab////tab////tab//StoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\\\quot\\__Aspect7StoreDir__\\quot\\)//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\\itemgroup.bin\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the drivers//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Groups\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\\\quot\\ingrgrp.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Item_Group\\comma\\drv7\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\itemgroup.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 fields to merge//tab////crlf////tab////tab////tab//sFieldsToMerge=\\quot\\Name~~pipe~~Sub_Of_ID~~pipe~~GL_Account_Code\\quot\\//crlf////crlf////tab////tab////tab////set alias fields//crlf////tab////tab////tab//sAlias=\\quot\\Name=ID_TINGRGROUPREC_NAME~~pipe~~ID=DiskIndex~~pipe~~Sub_Of_ID=ID_TINGRGROUPREC_INVTYPE~~pipe~~GL_Account_Code=ID_TINGRGROUPREC_CODE\\quot\\//crlf////tab////crlf////tab////tab////tab//sKeyFields=\\quot\\ID\\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(appendToLog(s\\plus\\\\quot\\ (\\quot\\\\plus\\getScriptElapsedTime()\\plus\\\\quot\\ms)\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//importMenuItemGroups//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importMenuItemGroups\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Aspect6StoreDir - Directory containing Aspect6 inventory items//crlf////tab////tab//Aspect7StoreDir - Directory containing Aspect7 inventory items//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\\Execute: __Action__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect6StoreDir: __Aspect6StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect7StoreDir: __Aspect7StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Replace: __Replace__\\quot\\)//crlf////tab////crlf////tab////tab////tab////abort if an instance is already running//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Aborting __Action__ because an instance is already running\\quot\\))//crlf////tab////tab////tab//endif//crlf////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////get the Aspect7 store ID//crlf////tab////tab////tab//StoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\\\quot\\__Aspect7StoreDir__\\quot\\)//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\\menuitemgroup.bin\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the drivers//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Recipe_Groups\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\\\quot\\recpgrp.dta\\quot\\)//crlf////tab////tab////tab////driverOpen(Aspect_Back_Office_Menu_Item_Group\\comma\\drv7\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\menuitemgroup.bin\\quot\\)//crlf////tab////tab////tab//driverOpen(POS_Generic_Menu_Category_Dta\\comma\\drv7\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\category.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\\Name=ID_TRECIPEGROUPREC_NAME\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ID=DiskIndex\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Number=POS_ID\\quot\\//crlf////tab////crlf////tab////tab////tab////set fields to merge//tab////crlf////tab////tab////tab//sFieldsToMerge=\\quot\\Name~~pipe~~Number\\quot\\//crlf////crlf////tab////tab////tab//sKeyFields=\\quot\\ID\\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(appendToLog(s\\plus\\\\quot\\ (\\quot\\\\plus\\getScriptElapsedTime()\\plus\\\\quot\\ms)\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//importMenuItems//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importMenuItems\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Aspect6StoreDir - Directory containing Aspect6 inventory items//crlf////tab////tab//Aspect7StoreDir - Directory containing Aspect7 inventory items//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\\Execute: __Action__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect6StoreDir: __Aspect6StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect7StoreDir: __Aspect7StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Replace: __Replace__\\quot\\)//crlf////tab////crlf////tab////tab////tab////abort if an instance is already running//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Aborting __Action__ because an instance is already running\\quot\\))//crlf////tab////tab////tab//endif//crlf////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////get the Aspect7 store ID//crlf////tab////tab////tab//StoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\\\quot\\__Aspect7StoreDir__\\quot\\)//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\\menuitem.bin\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open system driver of Aspect7 menu item groups.  This is passed to the Aspect6 driver//crlf////tab////tab////tab////so it can lookup the Aspect7 menu group ID when merging in data.  It is necessary//crlf////tab////tab////tab////to filter the driver for the lookup to work//crlf////tab////tab////tab////sAspect7MenuGroupDriver=getSalt(5)//crlf////tab////tab////tab////driverOpen(POS_Generic_Menu_Category_Dta\\comma\\sAspect7MenuGroupDriver\\comma\\READ\\comma\\true\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\category.bin\\quot\\)//crlf////tab////tab////tab////driverSetFilter(sAspect7MenuGroupDriver\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////open the drivers//crlf////tab////tab////tab////driverOpen(Aspect6_Driver_Recipes\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\\\quot\\recipe.dta~~pipe~~Aspect7MenuGroupDriver=\\quot\\\\plus\\sAspect7MenuGroupDriver)//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Recipes\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\\\quot\\recipe.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(POS_Generic_Menu_Item_Dta\\comma\\drv7\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\menuitem.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\\Name1=ID_TRECIPEHDRREC_NAME1\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~MenuItemID=ID_TRECIPEHDRREC_M_NUMBER\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ID=DiskIndex\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~CategoryID=POS_Group_ID\\quot\\//crlf////tab////tab////tab////sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Gross_Yield_Prefix=ID_TRECIPEHDRREC_GROSS_YEILD.ID_TSIZEREC_PREFIX\\quot\\//crlf////tab////tab////tab////sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Gross_Yield_Unit=ID_TRECIPEHDRREC_GROSS_YEILD.ID_TSIZEREC_SZ\\quot\\//crlf////tab////tab////tab////sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Serve_Size_Prefix=ID_TRECIPEHDRREC_SERVE_SIZE.ID_TSIZEREC_PREFIX\\quot\\//crlf////tab////tab////tab////sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Serve_Size_Unit=ID_TRECIPEHDRREC_SERVE_SIZE.ID_TSIZEREC_SZ\\quot\\//crlf////tab////crlf////tab////tab////tab////set fields to merge//tab////crlf////tab////tab////tab////sFieldsToMerge=\\quot\\Name1~~pipe~~MenuItemID~~pipe~~CategoryID~~pipe~~Gross_Yield_Prefix~~pipe~~Gross_Yeild_Unit~~pipe~~Serve_Size_Prefix~~pipe~~Serve_Size_Unit\\quot\\//crlf////tab////tab////tab//sFieldsToMerge=\\quot\\Name1~~pipe~~MenuItemID~~pipe~~CategoryID\\quot\\//crlf////crlf////tab////tab////tab//sKeyFields=\\quot\\ID\\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////driverClose(sAspect7MenuGroupDriver)//crlf////tab////tab////tab//scriptSetResult(appendToLog(s\\plus\\\\quot\\ (\\quot\\\\plus\\getScriptElapsedTime()\\plus\\\\quot\\ms)\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//importMenuItemDetails//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importMenuItemDetails\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Aspect6StoreDir - Directory containing Aspect6 inventory items//crlf////tab////tab//Aspect7StoreDir - Directory containing Aspect7 inventory items//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\\Execute: __Action__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect6StoreDir: __Aspect6StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect7StoreDir: __Aspect7StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Replace: __Replace__\\quot\\)//crlf////tab////crlf////tab////tab////tab////abort if an instance is already running//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Aborting __Action__ because an instance is already running\\quot\\))//crlf////tab////tab////tab//endif//crlf////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////get the Aspect7 store ID//crlf////tab////tab////tab//StoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\\\quot\\__Aspect7StoreDir__\\quot\\)//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\\menuitemdetail.bin\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open system drivers used to lookup the Aspect7 ID\\apos\\s of the menu items and inventory //crlf////tab////tab////tab////items.  These are passed to the Aspect6 driver.//crlf////tab////tab////tab////sAspect7MenuItemDriver=getSalt(5)//crlf////tab////tab////tab////driverOpen(POS_Generic_Menu_Item_Dta\\comma\\sAspect7MenuItemDriver\\comma\\READ\\comma\\true\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\menuitem.bin\\quot\\)//crlf////tab////tab////tab////driverSetFilter(sAspect7MenuItemDriver\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////sAspect7InventoryItemDriver=getSalt(5)//crlf////tab////tab////tab////driverOpen(Aspect_Back_Office_Inventory_Item\\comma\\sAspect7InventoryItemDriver\\comma\\READ\\comma\\true\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\item.bin\\quot\\)//crlf////tab////tab////tab////driverSetFilter(sAspect7InventoryItemDriver\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////sAspect7SizeDriver=getSalt(5)//crlf////tab////tab////tab////driverOpen(Aspect_Back_Office_Size\\comma\\sAspect7SizeDriver\\comma\\READ\\comma\\true\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\size.bin\\quot\\)//crlf////tab////tab////tab////driverSetFilter(sAspect7SizeDriver\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////open the drivers//crlf////tab////tab////tab////driverOpen(Aspect6_Driver_Recipe_Ingredients\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\\\quot\\recpingr.dta~~pipe~~Aspect7MenuItemDriver=\\quot\\\\plus\\sAspect7MenuItemDriver\\plus\\\\quot\\~~pipe~~Aspect7InventoryItemDriver=\\quot\\\\plus\\sAspect7InventoryItemDriver\\plus\\\\quot\\~~pipe~~Aspect7SizeDriver=\\quot\\\\plus\\sAspect7SizeDriver)//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Recipe_Ingredients\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\\\quot\\recpingr.dta\\quot\\)//crlf////tab////tab////tab//sFilter=\\quot\\(ID_RESERVED_USED=true) and (not(Recipe_Is_Deleted)) and (not(Item_Is_Deleted))\\quot\\//crlf////tab////tab////tab//driverSetFilter(drv6\\comma\\sFilter\\comma\\true)//crlf////crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Menu_Item_Detail\\comma\\drv7\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\menuitemdetail.bin\\quot\\)//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\\ItemID_Of_MenuItem=Lookup_Recipe_Ingr_Index\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ItemID_Of_Ingredient=ID_TRECIPEDTLREC_INGR_INDEX\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Quantity=ID_TRECIPEDTLREC_AMOUNT.ID_TSIZEREC_PREFIX\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Size_Prefix=Aspect7_Prefix\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Size_Unit=ID_TRECIPEDTLREC_AMOUNT.ID_TSIZEREC_SZ\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Amount_Description=ID_TRECIPEDTLREC_AMOUNT_TXT\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ID=DiskIndex\\quot\\//crlf////tab////crlf////tab////tab////tab////set fields to merge//tab////crlf////tab////tab////tab//sFieldsToMerge=\\quot\\ItemID_Of_MenuItem~~pipe~~ItemID_Of_Ingredient~~pipe~~Quantity~~pipe~~Size_Prefix~~pipe~~Size_Unit~~pipe~~Amount_Description\\quot\\//crlf////crlf////tab////tab////tab//sKeyFields=\\quot\\ID\\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////driverClose(sAspect7MenuItemDriver)//crlf////tab////tab////tab////driverClose(sAspect7InventoryItemDriver)//crlf////tab////tab////tab////driverClose(sAspect7SizeDriver)//crlf////crlf////tab////tab////tab//scriptSetResult(appendToLog(s\\plus\\\\quot\\ (\\quot\\\\plus\\getScriptElapsedTime()\\plus\\\\quot\\ms)\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//importSizes//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importSizes\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Aspect6StoreDir - Directory containing Aspect6 inventory items//crlf////tab////tab//Aspect7StoreDir - Directory containing Aspect7 inventory items//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\\Execute: __Action__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect6StoreDir: __Aspect6StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect7StoreDir: __Aspect7StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Replace: __Replace__\\quot\\)//crlf////tab////crlf////tab////tab////tab////abort if an instance is already running//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Aborting __Action__ because an instance is already running\\quot\\))//crlf////tab////tab////tab//endif//crlf////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////get the Aspect7 store ID//crlf////tab////tab////tab//StoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\\\quot\\__Aspect7StoreDir__\\quot\\)//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\\size.bin\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the drivers//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Sizes\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\\\quot\\nvsize.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Size\\comma\\drv7\\comma\\WRITE\\comma\\false\\comma\\\\quot\\NoDepend~~pipe~~Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\size.bin\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drv6\\comma\\\\quot\\(DiskIndex\\quot\\\\plus\\char(0x3e)\\plus\\\\quot\\0) and (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\\Name=ID_TINVSIZEREC_ABBREVIATION\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ID=DiskIndex\\quot\\//crlf////tab////crlf////tab////tab////tab////set fields to merge//tab////crlf////tab////tab////tab//sFieldsToMerge=\\quot\\Name\\quot\\//crlf////crlf////tab////tab////tab//sKeyFields=\\quot\\ID\\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////crlf////tab////tab////tab////set the type and base amount for all pre-defined sizes//crlf////tab////tab////tab//arType=\\quot\\1\\comma\\1\\comma\\1\\comma\\1\\comma\\1\\comma\\1\\comma\\1\\comma\\1\\comma\\1\\comma\\2\\comma\\2\\comma\\4\\comma\\4\\comma\\4\\comma\\4\\comma\\4\\comma\\3\\comma\\3\\quot\\//crlf////tab////tab////tab//arBase=\\quot\\8\\comma\\1\\comma\\128\\comma\\1984\\comma\\33.8\\comma\\16\\comma\\32\\comma\\.5\\comma\\.167\\comma\\1\\comma\\16.0\\comma\\0\\comma\\0\\comma\\0\\comma\\0\\comma\\0\\comma\\1\\comma\\12\\quot\\//crlf////tab////tab////tab//c=driverGetRecordCount(drv7\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//i=value(driverGetFieldAbsolute(drv7\\comma\\\\quot\\ID\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab//if((i>0) and (i<=18))//crlf////tab////tab////tab////tab////tab//iType=getElement(arType\\comma\\i-1)//crlf////tab////tab////tab////tab////tab//dBase=getElement(arBase\\comma\\i-1)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drv7\\comma\\\\quot\\Type\\quot\\\\comma\\n\\comma\\iType)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drv7\\comma\\\\quot\\Factor\\quot\\\\comma\\n\\comma\\dBase)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drv7\\comma\\\\quot\\Type\\quot\\\\comma\\n\\comma\\4)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drv7\\comma\\\\quot\\Factor\\quot\\\\comma\\n\\comma\\1)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(drv6)//crlf////tab////tab////tab//driverClose(drv7)//crlf////tab////tab////tab//scriptSetResult(appendToLog(s\\plus\\\\quot\\ (\\quot\\\\plus\\getScriptElapsedTime()\\plus\\\\quot\\ms)\\quot\\))//crlf////crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//importAreas//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importAreas\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Aspect6StoreDir - Directory containing Aspect6 inventory items//crlf////tab////tab//Aspect7StoreDir - Directory containing Aspect7 inventory items//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\\Execute: __Action__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect6StoreDir: __Aspect6StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect7StoreDir: __Aspect7StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Replace: __Replace__\\quot\\)//crlf////tab////crlf////tab////tab////tab////abort if an instance is already running//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Aborting __Action__ because an instance is already running\\quot\\))//crlf////tab////tab////tab//endif//crlf////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////get the Aspect7 store ID//crlf////tab////tab////tab//StoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\\\quot\\__Aspect7StoreDir__\\quot\\)//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\\countgroup.bin\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the drivers//crlf////tab////tab////tab//driverOpen(Aspect6_Area_Names\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\\\quot\\area.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Count_Group\\comma\\drv7\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\countgroup.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\\Name=ID_TAREAREC_NAME\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ID=DiskIndex\\quot\\//crlf////tab////crlf////tab////tab////tab////set fields to merge//tab////crlf////tab////tab////tab//sFieldsToMerge=\\quot\\Name\\quot\\//crlf////crlf////tab////tab////tab//sKeyFields=\\quot\\ID\\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////crlf////tab////tab////tab////merge area assignments from ingr.dta to the count list//crlf////crlf////tab////tab////tab////open the Aspect6 ingr driver//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Items_By_Filename\\comma\\drvIngr\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\\\quot\\ingr.dta\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvIngr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////crlf////tab////tab////tab////open the Aspect7 count list driver//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Physical_Count_List\\comma\\drvCountList\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\countlist.bin~~pipe~~NoDepend\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvCountList\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////merge the 16 count areas.  Each ingr.dta record contains 16 AreaInfo structures.//crlf////tab////tab////tab//nArea=1//crlf////tab////tab////tab//while(nArea<=16)//crlf////tab////tab////tab////tab////set key fields.  Note: Do not add List_Position to the key fields because this is //crlf////tab////tab////tab////tab////a virtual index field that will be modified by Aspect7.  If data is imported again\\comma\\//crlf////tab////tab////tab////tab////items will be duplicated because the list position may have changed.  This means //crlf////tab////tab////tab////tab////that multiple instances of the same item in an area will only be imported once.//crlf////tab////tab////tab////tab//sKeyFields=\\quot\\ItemID~~pipe~~GroupID\\quot\\//crlf////crlf////tab////tab////tab////tab////set fields to merge//tab////crlf////tab////tab////tab////tab//sFieldsToMerge=\\quot\\ItemID~~pipe~~GroupID~~pipe~~List_Position~~pipe~~Override_Count_Size~~pipe~~Override_Size_Prefix~~pipe~~Override_Size_Unit\\quot\\//crlf////crlf////tab////tab////tab////tab////set alias fields//crlf////tab////tab////tab////tab//sAlias=\\quot\\ItemID=DiskIndex\\quot\\//crlf////tab////tab////tab////tab//sAlias=sAlias\\plus\\\\quot\\~~pipe~~GroupID=ID_TINGREDIENTREC_AREAINFO[\\quot\\\\plus\\nArea\\plus\\\\quot\\].ID_TAREAINFOREC_AREA\\quot\\//crlf////tab////tab////tab////tab//sAlias=sAlias\\plus\\\\quot\\~~pipe~~List_Position=ID_TINGREDIENTREC_AREAINFO[\\quot\\\\plus\\nArea\\plus\\\\quot\\].ID_TAREAINFOREC_SEQUENCE\\quot\\//crlf////tab////tab////tab////tab//sAlias=sAlias\\plus\\\\quot\\~~pipe~~Override_Count_Size=ID_TINGREDIENTREC_AREAINFO[\\quot\\\\plus\\nArea\\plus\\\\quot\\].OverrideCountSize\\quot\\//crlf////tab////tab////tab////tab//sAlias=sAlias\\plus\\\\quot\\~~pipe~~Override_Size_Prefix=Area_Size_Prefix_for_Import\\quot\\\\plus\\nArea//crlf////tab////tab////tab////tab//sAlias=sAlias\\plus\\\\quot\\~~pipe~~Override_Size_Unit=ID_TINGREDIENTREC_AREAINFO[\\quot\\\\plus\\nArea\\plus\\\\quot\\].ID_TAREAINFOREC_SIZE_SZ\\quot\\//crlf////crlf////tab////tab////tab////tab//sSourceFilter=\\quot\\not(ID_TINGREDIENTREC_AREAINFO[\\quot\\\\plus\\nArea\\plus\\\\quot\\].ID_TAREAINFOREC_AREA=0)\\quot\\//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////merge the drivers//crlf////tab////tab////tab////tab//s1=driverMerge(true\\comma\\drvCountList\\comma\\true\\comma\\drvIngr\\comma\\sSourceFilter\\comma\\sKeyFields\\comma\\sFieldsToMerge\\comma\\sAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Merge area\\quot\\\\plus\\nArea\\plus\\\\quot\\: \\quot\\\\plus\\s1)//crlf////tab////tab////tab////tab//nArea\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(drvIngr)//crlf////tab////tab////tab//driverClose(drvCountList)//crlf////crlf////tab////tab////tab//scriptSetResult(appendToLog(s\\plus\\\\quot\\ (\\quot\\\\plus\\getScriptElapsedTime()\\plus\\\\quot\\ms)\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//importInvoices//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importInvoices\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Aspect6StoreDir - Directory containing Aspect6 inventory items//crlf////tab////tab//Aspect7StoreDir - Directory containing Aspect7 inventory items//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\\Execute: __Action__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect6StoreDir: __Aspect6StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect7StoreDir: __Aspect7StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Replace: __Replace__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\DtFrom: __DtFrom__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\DtTo: __DtTo__\\quot\\)//crlf////tab////crlf////tab////tab////tab////abort if an instance is already running//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Aborting __Action__ because an instance is already running\\quot\\))//crlf////tab////tab////tab//endif//crlf////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////get the Aspect7 store ID//crlf////tab////tab////tab//StoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\\\quot\\__Aspect7StoreDir__\\quot\\)//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////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\\invoice.bin\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open system drivers used to lookup the Aspect7 ID\\apos\\s.  These are passed to the //crlf////tab////tab////tab////Aspect6 driver.//crlf////tab////tab////tab////sAspect7VendorDriver=getSalt(5)//crlf////tab////tab////tab////driverOpen(Aspect_Back_Office_Vendor\\comma\\sAspect7VendorDriver\\comma\\READ\\comma\\true\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\vendor.bin\\quot\\)//crlf////tab////tab////tab////driverSetFilter(sAspect7VendorDriver\\comma\\\\quot\\true\\quot\\\\comma\\true)//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////crlf////tab////tab////tab////open the drivers//crlf////tab////tab////tab////driverOpen(Aspect6_Driver_Invoices_By_Filename\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\\\quot\\acctpybl.dta~~pipe~~Aspect7VendorDriver=\\quot\\\\plus\\sAspect7VendorDriver)//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Invoices_By_Filename\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\\\quot\\acctpybl.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Invoice\\comma\\drv7\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\invoice.bin\\quot\\)//crlf////tab////tab////tab//sFilter=\\quot\\(ID_RESERVED_USED=true)\\quot\\//crlf////tab////tab////tab//sFilter=sFilter\\plus\\\\quot\\ and (dateNumber(ID_TINVOICEHDRREC_DATE)\\quot\\\\plus\\char(0x3e)\\plus\\\\quot\\=\\quot\\\\plus\\dateNumber(dtFrom)\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab//sFilter=sFilter\\plus\\\\quot\\ and (dateNumber(ID_TINVOICEHDRREC_DATE)\\quot\\\\plus\\char(0x3c)\\plus\\\\quot\\=\\quot\\\\plus\\dateNumber(dtTo)\\plus\\\\quot\\)\\quot\\//crlf//appendToLog(\\quot\\Import invoice filter=\\quot\\\\plus\\sFilter)//crlf////tab////tab////tab//driverSetFilter(drv6\\comma\\sFilter\\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\\VendorID=ID_TINVOICEHDRREC_VENDOR\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Number=ID_TINVOICEHDRREC_NUMBER\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Date=ID_TINVOICEHDRREC_DATE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Date_Entered=ID_TINVOICEHDRREC_DATE_ENTERED\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Amount=ID_TINVOICEHDRREC_AMOUNT\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ID=DiskIndex\\quot\\//crlf////tab////crlf////tab////tab////tab////set fields to merge//tab////crlf////tab////tab////tab//sFieldsToMerge=\\quot\\VendorID~~pipe~~Number~~pipe~~Date~~pipe~~Date_Entered~~pipe~~Amount\\quot\\//crlf////crlf////tab////tab////tab////merge the drivers//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drv7\\comma\\\\quot\\\\quot\\\\comma\\drv6\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID\\quot\\\\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////driverClose(sAspect7VendorDriver)//crlf////tab////tab////tab//scriptSetResult(appendToLog(s\\plus\\\\quot\\ (\\quot\\\\plus\\getScriptElapsedTime()\\plus\\\\quot\\ms)\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//importInvoiceDetails//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importInvoiceDetails\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Aspect6StoreDir - Directory containing Aspect6 inventory items//crlf////tab////tab//Aspect7StoreDir - Directory containing Aspect7 inventory items//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//profile()//crlf////tab////tab////tab//appendToLog(\\quot\\Execute: __Action__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect6StoreDir: __Aspect6StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect7StoreDir: __Aspect7StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Replace: __Replace__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\DtFrom: __DtFrom__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\DtTo: __DtTo__\\quot\\)//crlf////tab////crlf////tab////tab////tab////abort if an instance is already running//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Aborting __Action__ because an instance is already running\\quot\\))//crlf////tab////tab////tab//endif//crlf////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////get the Aspect7 store ID//crlf////tab////tab////tab//StoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\\\quot\\__Aspect7StoreDir__\\quot\\)//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////crlf////tab////tab////tab////set alias fields//crlf////tab////tab////tab//sAlias=\\quot\\InvoiceID=ID_TINVOICEDTLREC_INVOICE_INDEX\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ItemID=ID_TINVOICEDTLREC_INGREDIENT\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Quantity=ID_TINVOICEDTLREC_QTY\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Size_Prefix=Override_Prefix\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Size_Unit=ID_TINVOICEDTLREC_SIZE.ID_TSIZEREC_SZ\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Extended_Price=ID_TINVOICEDTLREC_EXT_PRICE\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Aspect6_DiskIndex=DiskIndex\\quot\\//crlf////tab////crlf////tab////tab////tab////set fields to merge//tab////crlf////tab////tab////tab//sFieldsToMerge=\\quot\\InvoiceID~~pipe~~ItemID~~pipe~~Quantity~~pipe~~Size_Prefix~~pipe~~Size_Unit~~pipe~~Extended_Price~~pipe~~Aspect7_Import_Key\\quot\\//crlf////crlf////tab////tab////tab//sKeyFields=\\quot\\Aspect7_Import_Key\\quot\\//crlf////tab////tab////tab//sSourceFilter=\\quot\\true\\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////crlf////tab////tab////tab////----------------------------------------------------------------------------//crlf////tab////tab////tab////NOTE: Invoice details in Aspect7 are recorded in a file with a date equal to the//crlf////tab////tab////tab////date the invoice was entered\\comma\\ NOT the date of the invoice.  This is done to avoid//crlf////tab////tab////tab////having to move details from one file to another when the date is changed.//crlf////tab////tab////tab//////crlf////tab////tab////tab////This import opens a consolidated driver containing all Aspect6 invoice details for//crlf////tab////tab////tab////the date to be imported and then merges them to the appropriate Aspect7 invoice//crlf////tab////tab////tab////detail file based on the date that the invoice was entered.//crlf////tab////tab////tab////----------------------------------------------------------------------------//crlf////crlf////tab////tab////tab////get array of invoice dates and corresponding date entered//crlf////tab////tab////tab//sDriverParams=\\quot\\filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\\\quot\\acctpybl.dta\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab////array of date entered//crlf////tab////tab////tab//a1=getCollection(Aspect6_Lookup_Invoice_Date_by_Date_Entered\\comma\\\\quot\\\\quot\\\\comma\\sDriverParams\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\Key\\quot\\)//crlf////tab////tab////tab////crlf////tab////tab////tab////array of corresponding dates//crlf////tab////tab////tab//a2=getCollection(Aspect6_Lookup_Invoice_Date_by_Date_Entered\\comma\\\\quot\\\\quot\\\\comma\\sDriverParams\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\Value\\quot\\)//crlf////crlf////tab////tab////tab//arrayCreate(arInvoiceDateEntered)//crlf////tab////tab////tab//arrayCreate(arInvoiceDate)//crlf////tab////tab////tab//c=getElementCount(a1)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//arraySet(arInvoiceDateEntered\\comma\\n\\comma\\getElement(a1\\comma\\n))//crlf////tab////tab////tab////tab//arraySet(arInvoiceDate\\comma\\n\\comma\\getElement(a2\\comma\\n))//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////get array of dates to be imported//crlf////tab////tab////tab//arDate=getSetTime(dtFrom\\comma\\dtTo)//crlf////crlf////tab////tab////tab////import each day//crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(arDate)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//tab////crlf////tab////tab////tab////tab//sDate=getElement(arDate\\comma\\n)//crlf////tab////tab////tab////tab////delete existing file if Replace is true//crlf////tab////tab////tab////tab//if(\\quot\\__Replace__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////tab////tab////tab////tab//sAspect7Filename=addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\invoice_detail.\\quot\\\\plus\\sDate\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab////tab//if(fileExists(sAspect7Filename))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Deleting \\quot\\\\plus\\sAspect7Filename)//crlf////tab////tab////tab////tab////tab////tab//fileDelete(sAspect7Filename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////open a vertically consolidated driver containing files for all days to be imported//crlf////tab////tab////tab////tab//driverOpen(ConsDriverVert\\comma\\drv6Consolidated\\comma\\READ\\comma\\true\\comma\\\\quot\\~~pipe~~Description=Consolidated Invoice details\\quot\\)//crlf////tab////tab////tab////tab//cDateEntered=arraySize(arInvoiceDateEntered)//crlf////tab////tab////tab////tab//arAdded=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//nDateEntered=0//crlf////tab////tab////tab////tab//while(nDateEntered<cDateEntered)//crlf////tab////tab////tab////tab////tab//sDateEntered=arrayGet(arInvoiceDateEntered\\comma\\nDateEntered)//crlf////tab////tab////tab////tab////tab//if(sDateEntered=sDate)//crlf////tab////tab////tab////tab////tab////tab////get the actual date of the invoice//crlf////tab////tab////tab////tab////tab////tab//sInvoiceDate=arrayGet(arInvoiceDate\\comma\\nDateEntered)//crlf////tab////tab////tab////tab////tab////tab//if(containsElement(arAdded\\comma\\sInvoiceDate)<0)//crlf////tab////tab////tab////tab////tab////tab////tab//s=formatDate(parseTime(sInvoiceDate\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\\\quot\\MM-dd-yy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sFilename=addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\s\\plus\\\\quot\\.pay\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//DrvName=getSalt(4)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//driverOpen(Aspect6_Invoice_Details_By_Filename\\comma\\DrvName\\comma\\READ\\comma\\true\\comma\\\\quot\\Filename=\\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//driverConsolidate(drv6Consolidated\\comma\\DrvName\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//arAdded=addElement(arAdded\\comma\\sInvoiceDate)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//nDateEntered\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//sFilter=\\quot\\(ID_RESERVED_USED=true) and (Date_Entered_Text=\\quot\\\\plus\\quote(sDate)\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab////tab//driverSetFilter(drv6Consolidated\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab////tab//cConsolidatedRecordCount=driverGetRecordCount(drv6Consolidated)//crlf////crlf////tab////tab////tab////tab////merge records from the consolidated driver if any exist for the date//crlf////tab////tab////tab////tab//if(cConsolidatedRecordCount>0)//crlf////tab////tab////tab////tab////tab//dt=parseTime(sDate\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////open the Aspect7 driver//tab////tab////tab////crlf////tab////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Invoice_Detail\\comma\\drv7\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\\\plus\\StoreID\\plus\\\\quot\\~~pipe~~Date=\\quot\\\\plus\\sDate)//crlf////tab////tab////tab////tab////tab//driverSetFilter(drv7\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////crlf////tab////tab////tab////tab////tab////merge the drivers//crlf////tab////tab////tab////tab////tab//s=sDate\\plus\\\\quot\\: \\quot\\\\plus\\driverMerge(true\\comma\\drv7\\comma\\\\quot\\\\quot\\\\comma\\drv6Consolidated\\comma\\\\quot\\\\quot\\\\comma\\sKeyFields\\comma\\sFieldsToMerge\\comma\\sAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Invoice details: \\quot\\\\plus\\sDate\\plus\\\\quot\\: \\quot\\\\plus\\s)//crlf////tab////tab////tab////tab////tab//sResult=sResult\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////crlf////tab////tab////tab////tab////tab//driverClose(drv7)//crlf////tab////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////tab//driverClose(drv6Consolidated)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab//scriptSetResult(appendToLog(sResult\\plus\\\\quot\\ (\\quot\\\\plus\\getScriptElapsedTime()\\plus\\\\quot\\ms)\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//importMenuItemSales//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importMenuItemSales\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Aspect6StoreDir - Directory containing Aspect6 inventory items//crlf////tab////tab//Aspect7StoreDir - Directory containing Aspect7 inventory items//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\\Execute: __Action__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect6StoreDir: __Aspect6StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect7StoreDir: __Aspect7StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Replace: __Replace__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\DtFrom: __DtFrom__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\DtTo: __DtTo__\\quot\\)//crlf////tab////crlf////tab////tab////tab////abort if an instance is already running//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Aborting __Action__ because an instance is already running\\quot\\))//crlf////tab////tab////tab//endif//crlf////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////get the Aspect7 store ID//crlf////tab////tab////tab//StoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\\\quot\\__Aspect7StoreDir__\\quot\\)//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////crlf////tab////tab////tab////open system driver used to lookup Aspect7 ID\\apos\\s of menu items //crlf////tab////tab////tab////These are passed to the Aspect6 driver.//crlf////tab////tab////tab////sAspect7MenuItemDriver=getSalt(5)//crlf////tab////tab////tab////driverOpen(Aspect_Back_Office_Menu_Item\\comma\\sAspect7MenuItemDriver\\comma\\READ\\comma\\true\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\menuitem.bin\\quot\\)//crlf////tab////tab////tab////driverSetFilter(sAspect7MenuItemDriver\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////set alias fields//crlf////tab////tab////tab//sAlias=\\quot\\Menu_Item_ID=ID_TSALESMIXREC_INDEX\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Sales=Net_Sales\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~Aspect6_DiskIndex=DiskIndex\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab////set fields to merge//tab////crlf////tab////tab////tab//sFieldsToMerge=\\quot\\Menu_Item_ID~~pipe~~Quantity~~pipe~~Sales~~pipe~~Comps~~pipe~~Aspect6_DiskIndex\\quot\\//crlf////tab////tab////crlf////tab////tab////tab//sKeyFields=\\quot\\Aspect6_DiskIndex\\quot\\//crlf////crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//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//sAspect6Date=formatDate(dt\\comma\\\\quot\\MM-dd-yy\\quot\\)//crlf////tab////tab////tab////tab//sAspect6Filename=addDirSlash(\\quot\\__Aspect6StoreDir__\\quot\\)\\plus\\sAspect6Date\\plus\\\\quot\\.mix\\quot\\//crlf////tab////tab////tab////tab//sDate=formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\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(addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\mix.\\quot\\\\plus\\\\plus\\sDate\\plus\\\\quot\\.bin\\quot\\)//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_Driver_Sales_Mix_By_Filename\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\sAspect6Filename\\plus\\\\quot\\~~pipe~~Aspect7MenuItemDriver=\\quot\\\\plus\\sAspect7MenuItemDriver)//crlf////tab////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Sales_Mix_By_Filename\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\sAspect6Filename)//crlf////tab////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Menu_Item_Sales\\comma\\drv7\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\mix.\\quot\\\\plus\\sDate\\plus\\\\quot\\.bin\\quot\\)//crlf////tab////tab////tab////tab////tab//driverSetFilter(drv6\\comma\\\\quot\\(ID_RESERVED_USED=true)\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab//driverSetFilter(drv7\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////merge the drivers//crlf////tab////tab////tab////tab////tab//s=formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\: \\quot\\\\plus\\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(drv6)//crlf////tab////tab////tab////tab////tab//driverClose(drv7)//crlf////tab////tab////tab////tab////tab//sResult=sResult\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////driverClose(sAspect7MenuItemDriver)//crlf////tab////tab////tab//scriptSetResult(appendToLog(sResult\\plus\\\\quot\\ (\\quot\\\\plus\\getScriptElapsedTime()\\plus\\\\quot\\ms)\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//ImportInventoryCount//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\ImportInventoryCount\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Imports an Aspect6 count to Aspect7//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Aspect6StoreDir - Directory containing Aspect6 inventory items//crlf////tab////tab//Aspect7StoreDir - Directory containing Aspect7 inventory items//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\\Execute: __Action__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect6StoreDir: __Aspect6StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect7StoreDir: __Aspect7StoreDir__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Replace: __Replace__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\DtFrom: __DtFrom__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\DtTo: __DtTo__\\quot\\)//crlf////tab////crlf////tab////tab////tab////abort if an instance is already running//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Aborting __Action__ because an instance is already running\\quot\\))//crlf////tab////tab////tab//endif//crlf////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////get the Aspect7 store ID//crlf////tab////tab////tab//StoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\\\quot\\__Aspect7StoreDir__\\quot\\)//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////crlf////tab////tab////tab////open system drivers used to lookup the Aspect7 ID\\apos\\s.  These are passed to the //crlf////tab////tab////tab////Aspect6 driver.//crlf////tab////tab////tab////sAspect7InventoryItemDriver=getSalt(5)//crlf////tab////tab////tab////driverOpen(Aspect_Back_Office_Inventory_Item\\comma\\sAspect7InventoryItemDriver\\comma\\READ\\comma\\true\\comma\\\\quot\\Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\item.bin\\quot\\)//crlf////tab////tab////tab////driverSetFilter(sAspect7InventoryItemDriver\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab//sAspect7SizeDriver=getSalt(5)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Size\\comma\\sAspect7SizeDriver\\comma\\READ\\comma\\true\\comma\\\\quot\\NoDepend~~pipe~~Filename=\\quot\\\\plus\\addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\size.bin\\quot\\)//crlf////tab////tab////tab//driverSetFilter(sAspect7SizeDriver\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////set alias fields//crlf////tab////tab////tab//sAlias=\\quot\\ItemID=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////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~GroupID=Aspect7_Count_Group_ID\\quot\\//crlf////tab////tab////tab//sAlias=sAlias \\plus\\ \\quot\\~~pipe~~ID=Aspect7_Count_List_ID\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab////set fields to merge//tab////crlf////tab////tab////tab//sFieldsToMerge=\\quot\\ID~~pipe~~ItemID~~pipe~~GroupID~~pipe~~Size_Prefix~~pipe~~Size_Unit~~pipe~~Physical_Count~~pipe~~Aspect6_DiskIndex\\quot\\//crlf////tab////tab////crlf////tab////tab////tab//sKeyFields=\\quot\\ItemID\\quot\\//crlf////crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//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\\.cnt\\quot\\//crlf////tab////tab////tab////tab//sAspect7Filename=addDirSlash(\\quot\\__Aspect7StoreDir__\\quot\\)\\plus\\\\quot\\physical_count.\\quot\\\\plus\\sDate\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//sAspect7StoreID=getStoreID(sAspect7Filename)//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////See notes below.  The count must always be replaced\\comma\\ otherwise multiple records//crlf////tab////tab////tab////tab////tab////will be created if an item is included in count groups.//crlf////tab////tab////tab////tab////tab//if(true)//crlf////tab////tab////tab////tab////tab////tab//fileDelete(sAspect7Filename)//crlf////tab////tab////tab////tab////tab////tab//if(fileExists(sAspect7Filename))//crlf////tab////tab////tab////tab////tab////tab////tab//fileSetLength(sAspect7Filename\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab//endif//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_Driver_Inventory_Count\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\sAspect6Filename\\plus\\\\quot\\~~pipe~~Aspect7InventoryItemDriver=\\quot\\\\plus\\sAspect7InventoryItemDriver\\plus\\\\quot\\~~pipe~~Aspect7SizeDriver=\\quot\\\\plus\\sAspect7SizeDriver)//crlf////tab////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Count\\comma\\drv6\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\sAspect6Filename\\plus\\\\quot\\~~pipe~~Aspect7StoreID=\\quot\\\\plus\\sAspect7StoreID)//crlf////tab////tab////tab////tab////tab//driverSetFilter(drv6\\comma\\\\quot\\(ID_RESERVED_USED=true) and (ID_TCOUNTREC_MANUAL)\\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////crlf////tab////tab////tab////tab////tab////08-19-2016//crlf////tab////tab////tab////tab////tab////See notes below too.  There was still a problem with multiple records being //crlf////tab////tab////tab////tab////tab////imported into the physical count when the count is imported two or more times //crlf////tab////tab////tab////tab////tab////without replacing the existing file.  This is because this merge uses the ItemID //crlf////tab////tab////tab////tab////tab////as the key and after the count is updated to include records for ares\\comma\\ the //crlf////tab////tab////tab////tab////tab////item ID can appear more than once in the driver.//crlf////crlf////tab////tab////tab////tab////tab////06-01-2016//crlf////tab////tab////tab////tab////tab////Modified import to address count groups in Aspect7//crlf////tab////tab////tab////tab////tab////The NoDepend driver param is used when opening the Aspect7 driver.  This is done //crlf////tab////tab////tab////tab////tab////because the driver would be initialized from the count list before the merge and //crlf////tab////tab////tab////tab////tab////an item may appear multiple times in the driver.  The merge would add the Aspect6 //crlf////tab////tab////tab////tab////tab////count into each of the records\\comma\\ resulting in duplicate count entries.//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////Since the nodepend parameter is passed\\comma\\ this routine must add the record ID from //crlf////tab////tab////tab////tab////tab////the count list into the physical count driver.  This is required because the count //crlf////tab////tab////tab////tab////tab////list is always merged into the physical count to add new items when necessary.//crlf////tab////tab////tab////tab////tab////If this routine did not add the ID from the count list\\comma\\ multiple records would be //crlf////tab////tab////tab////tab////tab////created when the count list is merged into the physical count.//crlf////crlf////tab////tab////tab////tab////tab////The Aspect6 driver now has a field named Aspect7_Count_List_ID which is merged into //crlf////tab////tab////tab////tab////tab////the ID field in the physical count.//crlf////crlf////tab////tab////tab////tab////tab//if(driverGetRecordCount(drv6)>0)//crlf////tab////tab////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Physical_Count\\comma\\drv7\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\\\plus\\StoreID\\plus\\\\quot\\~~pipe~~Date=\\quot\\\\plus\\sDate\\plus\\\\quot\\~~pipe~~NoDepend\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverSetFilter(drv7\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////tab////tab////tab////merge the drivers//crlf////tab////tab////tab////tab////tab////tab//s=formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\: \\quot\\\\plus\\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////tab//driverClose(drv7)//crlf////tab////tab////tab////tab////tab////tab//sResult=sResult\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//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////crlf////tab////tab////tab////driverClose(sAspect7InventoryItemDriver)//crlf////tab////tab////tab////driverClose(sAspect7SizeDriver)//crlf////tab////tab////tab//scriptSetResult(appendToLog(sResult\\plus\\\\quot\\ (\\quot\\\\plus\\getScriptElapsedTime()\\plus\\\\quot\\ms)\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>^
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=417355|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=151|Y=45|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=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=564962|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=AgentTabs|X=151|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=151|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Import Aspect6 Inventory Data\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Import Aspect6 Inventory Data\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 07-16-2015 00:37:29//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Import Aspect6 Inventory Data\\comma\\AgentAction\\comma\\564962\\comma\\0\\comma\\Import Aspect6 Data//crlf////crlf////tab////tab////Import Aspect6 Data//crlf////tab////tab//Result=execAgentAction(\\quot\\ImportAspect6Data\\quot\\\\comma\\\\quot\\ImportSelection=__ImportSelection__//amp//Aspect6StoreDir=__Aspect6StoreDir__//amp//Aspect7StoreDir=__Aspect7StoreDir__//amp//DtFrom=__DtFrom__//amp//DtTo=__DtTo__//amp//Replace=__Replace__\\quot\\)//crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Import Aspect6 Inventory Data\\comma\\AgentTerminate\\comma\\220819\\comma\\0\\comma\\Complete//crlf////tab////tab//scriptSetResult(Result)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=151|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;07162015//amp//nbsp;003729//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;Inventory//amp//nbsp;Data\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;07-16-2015//amp//nbsp;00:37:29</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Import//amp//nbsp;Aspect6//amp//nbsp;Data</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\ImportAspect6Data\\quot\\\\comma\\\\quot\\ImportSelection=__ImportSelection__//amp//Aspect6StoreDir=__Aspect6StoreDir__//amp//Aspect7StoreDir=__Aspect7StoreDir__//amp//DtFrom=__DtFrom__//amp//DtTo=__DtTo__//amp//Replace=__Replace__\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=151|Y=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=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=151|Y=45|W=863|H=627|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\Date1\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(incrementTime(now()\\comma\\-1)\\comma\\\\quot\\MM-dd-yyyy\\quot\\))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\Date2\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(incrementTime(now()\\comma\\-1)\\comma\\\\quot\\MM-dd-yyyy\\quot\\))>//crlf////crlf//<script ID=\\quot\\ImportAspect6Data__Salt__\\quot\\>//crlf////tab//function importSelectionChanged__Salt__() {//crlf////tab////tab//var sImportSelection=document.getElementById(\\quot\\import_selection__salt__\\quot\\).value.toUpperCase();//crlf////tab////tab//if(sImportSelection==\\quot\\INVENTORY_SETUP\\quot\\) {//crlf////tab////tab////tab//setVisible(\\quot\\DateRange__salt__\\quot\\\\comma\\false);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//setVisible(\\quot\\DateRange__salt__\\quot\\\\comma\\true);//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//function importFromAspect6__salt__(s) {//crlf////tab////tab//if(s) {//crlf////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br>//amp//width=550//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//var sAspect7StoreDir=document.getElementById(\\quot\\Aspect7StoreDirectory__salt__\\quot\\).value;//crlf////tab////tab//var sAspect6StoreDir=document.getElementById(\\quot\\Aspect6_Store_Directories__salt__\\quot\\).value;//crlf////tab////tab//var sImportSelection=document.getElementById(\\quot\\import_selection__salt__\\quot\\).value;//crlf////tab////tab//var sDateFrom=document.getElementById(\\quot\\DateFrom__salt__\\quot\\).value;//crlf////tab////tab//var sDateTo=document.getElementById(\\quot\\DateTo__salt__\\quot\\).value;//crlf////tab////tab//var bReplace=document.getElementById(\\quot\\ckDeleteExisting__salt__\\quot\\).checked;//crlf////crlf////tab////tab//sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//Source={AspectHashID}\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Import Aspect6 Inventory Data\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//ContainerItemID=AgentScript//amp//ExecAgentScript=true\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//ImportSelection=\\quot\\+sImportSelection;//crlf////tab////tab//sUrl+=\\quot\\//amp//Aspect7StoreDir=\\quot\\+sAspect7StoreDir;//crlf////tab////tab//sUrl+=\\quot\\//amp//Aspect6StoreDir=\\quot\\+sAspect6StoreDir;//crlf////tab////tab//sUrl+=\\quot\\//amp//DtFrom=\\quot\\+sDateFrom;//crlf////tab////tab//sUrl+=\\quot\\//amp//DtTo=\\quot\\+sDateTo;//crlf////tab////tab//sUrl+=\\quot\\//amp//Replace=\\quot\\+bReplace;//crlf////tab////tab////alert(\\quot\\url=\\quot\\+sUrl);//crlf////crlf////tab////tab//showDialog(\\quot\\icon=true//amp//msg=Importing from Asepct6.  This may take several minutes.\\quot\\);//crlf////tab////tab//var sFunc=\\quot\\importFromAspect6__salt__(s)\\quot\\;//crlf////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab//};//crlf//</script>//crlf////crlf//<div>//crlf////tab//<h2>Import data from Aspect6</h2>//crlf////crlf////tab//<table>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Import To</td>//crlf////tab////tab////tab//<td>//crlf////tab////tab////tab////tab//<!include type:Collection;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\Aspect7StoreDirectory__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Store_Name_By_Directory\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\style='width:250px'\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab//</td>//crlf////tab////tab//</tr>//crlf////crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Import From</td>//crlf////tab////tab////tab//<td><include type:expression; expression:htmlSelect(Aspect6_Store_Directories\\comma\\\\quot\\Aspect6_Store_Directories\\quot\\\\comma\\replaceSubstring(lookup(Aspect6_Store_Directories_By_Code\\comma\\getToken(\\quot\\Aspect6ActiveStoreCode\\quot\\))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)\\comma\\\\quot\\style='width:250px' ID=\'Aspect6_Store_Directories__salt__\'\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\);></td>//crlf////tab////tab//</tr>//crlf////tab////tab////crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Import</td>//crlf////tab////tab////tab//<td>//crlf////tab////tab////tab////tab//<select ID=\\quot\\import_selection__salt__\\quot\\ onChange=\\quot\\importSelectionChanged__salt__()\\quot\\ style='width:250px'>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\all\\quot\\>All Data</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\inventory_setup\\quot\\>Inventory setup</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\inventory_data\\quot\\>Inventory counts\\comma\\ invoices</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\labor\\quot\\>Job codes\\comma\\ employees\\comma\\ daily labor</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\sales\\quot\\>Check details\\comma\\ sales mix</option>//crlf////tab////tab////tab////tab//</select>//crlf////tab////tab////tab//</td>//crlf////tab////tab//</tr>//crlf////tab////crlf////tab////tab//<tr ID=\\quot\\DateRange__salt__\\quot\\>//crlf////tab////tab////tab//<td>Date Range</td>//crlf////tab////tab////tab//<td>//crlf////tab////tab////tab////tab//<input type=\\quot\\text\\quot\\ style=\\quot\\width:80px\\quot\\ ID=\\quot\\DateFrom__salt__\\quot\\ value=\\quot\\__Date1__\\quot\\> //crlf////tab////tab////tab////tab//- <input type=\\quot\\text\\quot\\ style=\\quot\\width:80px\\quot\\ ID=\\quot\\DateTo__salt__\\quot\\ value=\\quot\\__Date2__\\quot\\> //crlf////tab////tab////tab//</td>//crlf////tab////tab//</tr>//crlf////crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td colspan='2'>//crlf////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ ID=\\quot\\ckDeleteExisting__salt__\\quot\\>Delete existing data before import//crlf////tab////tab////tab//</td>//crlf////tab////tab//</tr>//crlf////tab//</table>//crlf////tab//<br>//crlf////crlf////tab//<input type=\\quot\\button\\quot\\ onClick=\\quot\\importFromAspect6__salt__()\\quot\\ value=\\quot\\Import\\quot\\>//tab////crlf////tab//<br>//crlf//</div>^
ID=AgentChart|X=151|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>07162015 003729</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\\chart564962\\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 Inventory Data</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: never<br>Report To: <br>Name Params: </div></div><div agentchildyesnode=\\quot\\chart220819\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart564962\\quot\\><canvas height=\\quot\\82\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Import Aspect6 Data<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>ImportAspect6Data<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 310px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart220819\\quot\\><canvas height=\\quot\\0\\quot\\ width=\\quot\\0\\quot\\ style=\\quot\\width: 0px; height: 0px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Complete<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div>^
ID=import_aspect6_data_dialog|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\padding:0px 10px 10px 10px;border:solid 1px black;background-color:white\\quot\\>//crlf////tab//<img style=\\quot\\position:absolute;top:5px;right:10px\\quot\\ onclick=\\quot\\setVisible('import_aspect6_data'\\comma\\false)\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getImage//amp//filename=close20x20.png\\quot\\>//crlf////crlf////tab//<h2>Import data from Aspect6</h2>//crlf////crlf////tab//Import From <include type:expression; expression:htmlSelect(Aspect6_Store_Directories\\comma\\\\quot\\Aspect6_Store_Directories\\quot\\\\comma\\replaceSubstring(lookup(Aspect6_Store_Directories_By_Code\\comma\\getToken(\\quot\\Aspect6ActiveStoreCode\\quot\\))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)\\comma\\\\quot\\ID=\'Aspect6_Store_Directories\'\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\);>//crlf////tab//<br><br>//crlf////crlf////tab//Import//crlf////tab//<select ID=\\quot\\import_selection\\quot\\>//crlf////tab////tab//<option value=\\quot\\all\\quot\\>All Data</option>//crlf////tab////tab//<option value=\\quot\\inventory_setup\\quot\\>Inventory setup</option>//crlf////tab////tab//<option value=\\quot\\inventory_data\\quot\\>Inventory counts\\comma\\ invoices</option>//crlf////tab////tab//<option value=\\quot\\labor\\quot\\>Job codes\\comma\\ employees\\comma\\ daily labor</option>//crlf////tab////tab//<option value=\\quot\\sales\\quot\\>Checks\\comma\\ sales mix</option>//crlf////tab////tab//<option value=\\quot\\visible\\quot\\>Just the visible tab</option>//crlf////tab//</select>//crlf////tab//<br><br>//crlf////tab////crlf////tab//<input type=\\quot\\checkbox\\quot\\ ID=\\quot\\ckDeleteExisting\\quot\\>Delete existing data before import//crlf////tab//<br><br>//crlf////crlf////tab//<input type=\\quot\\button\\quot\\ onClick=\\quot\\importFromAspect6()\\quot\\ value=\\quot\\Import\\quot\\>//tab////crlf//</div>^
ID=564962|X=183|Y=220|W=149|H=63|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=220819|AgentChildNoNode=|AgentSensor=1|AgentAction=ImportAspect6Data|AgentNodeNotes=|AgentNodeParams=\\quot\\ImportSelection\equals\__ImportSelection__\\amp\\Aspect6StoreDir\equals\__Aspect6StoreDir__\\amp\\Aspect7StoreDir\equals\__Aspect7StoreDir__\\amp\\DtFrom\equals\__DtFrom__\\amp\\DtTo\equals\__DtTo__\\amp\\Replace\equals\__Replace__\\quot\\|AgentNodeExpression=(\\quot\\__ImportSelection__\\quot\\\equals\\\quot\\inventory_setup\\quot\\)|AgentNodeActionReturnValue=Result|AgentNodeComment=Import Aspect6 Data|AgentNodeTermType=0|^
ID=220819|X=183|Y=354|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=ImportAspect6Data|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Complete|AgentNodeTermType=0|^
ID=34384|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=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=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:false>//crlf//========================================================================//crlf//Param definition used to get Aspect6 store directory//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getAspect6StoreDirectory\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value.length==0) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////tab////crlf////tab//__Label__ <!include type:Collection;//crlf////tab////tab//Comment: \\quot\\Use ~0x3B~ for semicolon in htmlparams to separate multiple javascript commands\\quot\\;//crlf////tab////tab//Comment: \\quot\\Single or double quotes are ok in filter.  If the filter is modified using javascript\\comma\\\\quot\\;//crlf////tab////tab//Comment: \\quot\\use single quotes in the javascript.  The getHtmlSelectOptions query in the notificaiton container\\quot\\;//crlf////tab////tab//Comment: \\quot\\converts single quotes to double quotes before calling getCollection.\\quot\\;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//Name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect6_Store_Directories_Normalized\\quot\\;//crlf////tab////tab//Selected:\\quot\\<include type:expression; expression:getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\\\quot\\)>\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ \\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//Param definition used to get Aspect6 import options for import into Aspect7//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getImportSelection\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value.length==0) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//__Label__ <select ID=\\quot\\__ParamID__\\quot\\;//tab//Name=\\quot\\__ParamName__\\quot\\; onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\>//crlf////tab////tab//<option value=\\quot\\all\\quot\\>All inventory setup\\comma\\ data and sales mix</option>//crlf////tab////tab//<option value=\\quot\\inventory_setup\\quot\\>All inventory setup files</option>//crlf////tab////tab//<option value=\\quot\\inventory_data\\quot\\>All inventory data files</option>//crlf////tab////tab//<option value=\\quot\\inventory_count\\quot\\>Inventory Counts</option>//crlf////tab////tab//<option value=\\quot\\inventory_invoice\\quot\\>Invoices</option>//crlf////tab////tab//<option value=\\quot\\labor\\quot\\>Labor (not supported)</option>//crlf////tab////tab//<option value=\\quot\\sales\\quot\\>Sales Mix</option>//crlf////tab//</select>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//
</widget><widget name="Inventory Drivers" group="Drivers / Dialogs" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Inventory Drivers" modified="12-31-2021 00:29:54" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=03-08-2019 22:20:58:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=27|toolboxy=166|aspectfuncx=178|aspectfuncy=100|aspectfuncw=808|aspectfunch=807|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Inventory 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=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\\'525763')\\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\\'590607')\\quot\\>JS-Invoices</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\\'715754')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=525763|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 expression:(\\quot\\__getContent__\\quot\\=\\quot\\1000\\quot\\)>//crlf////tab//function openImportInventoryItemsView(TableID) {//crlf////tab////tab//var eTable=document.getElementById(TableID);//crlf////tab////tab//var sDriverParams=eTable.getAttribute(\\quot\\Params\\quot\\);//crlf////tab////tab//var sStoreID=getElementValue(sDriverParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//openInspectWindow(\\quot\\Import Inventory Items\\quot\\\\comma\\\\quot\\ViewID=ykNGDKPU//amp//StoreID=\\quot\\+sStoreID);//crlf////tab//};//crlf////crlf////tab//function includeInEnterpriseReporting(TableID\\comma\\bInclude\\comma\\s) {//crlf////tab////tab//setIncludeInEnterpriseReporting(TableID\\comma\\true);//crlf////tab//};//crlf////crlf////tab//function excludeFromEnterpriseReporting(TableID) {//crlf////tab////tab//setIncludeInEnterpriseReporting(TableID\\comma\\false);//crlf////tab//};//crlf////crlf////tab//function setIncludeInEnterpriseReporting(TableID\\comma\\bInclude\\comma\\s) {//crlf////tab////tab//var eTable=document.getElementById(TableID);//crlf////crlf////tab////tab////if complete...//crlf////tab////tab//if(s) {//crlf////tab////tab////tab//console.log(\\quot\\Complete: \\quot\\+s);//crlf////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=Close\\quot\\);//crlf////tab////tab////tab//refreshTable(TableID\\comma\\\\quot\\refresh\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//var arSelected=getKeyValues(TableID\\comma\\true);//crlf////crlf////tab////tab////abort if no records selected//crlf////tab////tab//if(arSelected.length==0) {//crlf////tab////tab////tab//showDialog(\\quot\\msg=Select one or more records to include or exclude<br><br>//amp//fnOk=Close\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////get StoreID from table//crlf////tab////tab//var sParams=eTable.getAttribute(\\quot\\Aspectparams\\quot\\);//crlf////tab////tab//var sStoreID=getElementValue(sParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab//console.log(\\quot\\sHashID=\\quot\\+sHashID+\\quot\\ StoreID=\\quot\\+sStoreID+\\quot\\ arSelected=\\quot\\+arSelected);//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Items\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//ContainerItemID=action_list//amp//action=includeItemsInEnterpriseReporting//amp//ActionExec=true\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//Source=\\quot\\+sHashID+\\quot\\//amp//StoreID=\\quot\\+sStoreID+\\quot\\//amp//ItemID=\\quot\\+arSelected+\\quot\\//amp//Include=\\quot\\+bInclude;//crlf////crlf////tab////tab//if(bInclude) {//crlf////tab////tab////tab//showDialog(\\quot\\msg=Including records in enterprise reporting//amp//icon=true\\quot\\);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//showDialog(\\quot\\msg=Excluding records in enterprise reporting//amp//icon=true\\quot\\);//crlf////tab////tab//};//crlf////crlf////tab////tab//var sFunc=\\quot\\setIncludeInEnterpriseReporting(\\\quot\\\\quot\\+TableID+\\quot\\\\\quot\\\\comma\\\\quot\\+bInclude+\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab//console.log(\\quot\\sUrl=\\quot\\+sUrl);//crlf////tab////tab//console.log(\\quot\\sFunc=\\quot\\+sFunc);//crlf////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////crlf////tab////tab//return;//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_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory 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_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory 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=715754|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=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=393441|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////tab//<option value=\\quot\\0\\quot\\>=========Support===========</option>//crlf////tab////tab//<option value='421504'>Open Driver</option>//crlf////tab////tab//<option value='335756'>Parameter Definitions</option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\>=========Inventory Items===========</option>//crlf////tab////tab//<option value='680528'>Inventory Item Group</option>//crlf////tab////tab//<option value='139558'>Inventory Item</option>//crlf////tab////tab//<option value='867471'>Conversions</option>//crlf////tab////tab//<option value='98169'>Sizes</option>//crlf////tab////tab//<option value='57258'>Sizes by type</option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\>=========Menu Items===========</option>//crlf////tab////tab//<option value='303945'>Menu Category</option>//crlf////tab////tab//<option value='716923'>Menu Item From POS System</option>//crlf////tab////tab//<option value='426565'>Menu Item Detail</option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\>=========Physical Count===========</option>//crlf////tab////tab//<option value='687084'>Count Groups</option>//crlf////tab////tab//<option value='420191'>Count Groups [DELETE]</option>//crlf////tab////tab//<option value='493460'>Physical Count List (For Debugging)</option>//crlf////tab////tab//<option value='639719'>Physical Count</option>//crlf////tab////tab//<option value='543904'>Physical Count (Unfiltered for debugging)</option>//crlf////tab////tab//<option value='610700'>Physical Count Batch Detail</option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\>=========Prep Count===========</option>//crlf////tab////tab//<option value='35739'>Prep Groups</option>//crlf////tab////tab//<option value='337711'>Prep List</option>//crlf////tab////tab//<option value='694859'>Prep List (With All Items)</option>//crlf////tab////tab//<option value='594454'>Prep Count</option>//crlf////tab////tab//<option value='154486'>Prep Count Batch Detail</option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\>=========Waste Count===========</option>//crlf////tab////tab//<option value='734354'>Waste Count List</option>//crlf////tab////tab//<option value='599267'>Waste Count</option>//crlf////tab////tab//<option value='222939'>Waste Count Batch Detail</option>//crlf////tab////tab//<option value='48876'>Waste Count Batch Detail Summary</option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\>=========Legitimate Usage===========</option>//crlf////tab////tab//<!-- This is used to open the driver usage.mm-dd-yyyy.bin driver -->//crlf////tab////tab//<option value='92301'>Legitimate Usages - All Items</option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\>=========Invoices===========</option>//crlf////tab////tab//<option value='829102'>Vendors</option>//crlf////tab////tab//<option value='170904'>Invoices [THIS HAS BEEN MOVED TO A WIDGET NAMED INVOICES]</option>//crlf////tab////tab//<option value='10476'>Invoice Details</option>//crlf////tab////tab//<option value='726284'>Invoice Details (Concatenated)</option>//crlf////tab////tab//<option value='284436'>Invoice Detail Summary</option>//crlf////tab////tab//<option value='596515'>Invoice Detail Summary - Inspect</option>//crlf////tab////tab//<option value='649921'>Invoice Detail Group Summary</option>//crlf////tab////tab//<option value='507781'>Invoice Details By Group (Dimensional)</option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\>=========Dependent Drivers===========</option>//crlf////tab////tab//<option value='441164'>Daily Inventory Summary</option>//crlf////tab////tab//<option value='515979'>Period Inventory Summary</option>//crlf////tab////tab//<option value='108500'>Period Inventory Summary - Inspect</option>//crlf////tab////tab//<option value='609798'>Legitimate Usage Summary</option>//crlf////tab////tab//<option value='117863'>Inventory Extensions (Part 1)</option>//crlf////tab////tab//<option value='205178'>Inventory Extensions</option>//crlf////tab////tab//<option value='761414'>Cost Of Sales</option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\>=========Inspect Inventory Extensions===========</option>//crlf////tab////tab//<option value='10960'>Inspect Inventory Extensions - Inspect Inventory Group</option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\>=========Inspect Invoice Details===========</option>//crlf////tab////tab//<option value='312985'>Inspect Purchases Using Daily Summary</option>//crlf////tab////tab//<option value='844801'>Inspect Purchases Using Invoice Detail Summary</option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\>=========Inspect Legitimate Usage===========</option>//crlf////tab////tab//<option value='872686'>Inspect Legitimate Usages - Period</option>//crlf////tab////tab//<option value='697568'>Inspect Legitimate Usages - Day</option>//crlf////tab////tab//<option value='454688'>Calc Legitimate Usage Table</option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\>=========Inspect Physical Count===========</option>//crlf////tab////tab//<option value='872900'>Inspect Physical Count</option>//crlf////tab////tab//<option value='864254'>Inspect Physical Count Batch Detail</option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\>=========Inspect Prep Count===========</option>//crlf////tab////tab//<option value='22917'>Inspect Prep Count - Period</option>//crlf////tab////tab//<option value='872904'>Inspect Prep Count - Day</option>//crlf////tab////tab//<option value='89074'>Inspect Prep Count Batch Detail - Period</option>//crlf////tab////tab//<option value='557111'>Inspect Prep Count Batch Detail - Day</option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\>=========Inspect Waste Count===========</option>//crlf////tab////tab//<option value='872903'>Inspect Waste Count - Day</option>//crlf////tab////tab//<option value='141248'>Inspect Waste Count Batch Detail - Day</option>//crlf////tab////tab//<option value='744105'>Inspect Waste Count - Period</option>//crlf////tab////tab//<option value='594917'>Inspect Waste Count Batch Detail - Period</option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\>=========Inspect Prices===========</option>//crlf////tab////tab//<option value='872905'>Inspect Beginning Price</option>//crlf////tab////tab//<option value='872906'>Inspect Ending Price</option>//crlf////tab////tab//<option value='872907'>Inspect Legitimate Usage Price</option>//crlf////tab////tab//<option value='216272'>Inspect Waste Price</option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\>=========Aspect6 XML Exports===========</option>//crlf////tab////tab//<option value='931087'>Aspect6 XML - Cost Of Sales</option>//crlf////tab////tab//<option value='666833'>Aspect6 XML - Inventory Extensions</option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab//<option value=\\quot\\0\\quot\\>=========Unused Drivers===========</option>//crlf////tab////tab//<option value='145156'>Consolidated Aspect Back Office Physical Count</option>//crlf////tab////tab//<option value='117990'>Consolidated Aspect Back Office Physical Count Summary</option>//crlf////tab////tab//<option value='645635'>Consolidated Physical Count Summary</option>//crlf//</select>//crlf//^
ID=205178|X=151|Y=33|W=890|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=393441|AttachLeft=|AlignLeft=393441|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//__AllFieldsVisible__//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_INVENTORY_EXTENSIONS\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@gfs(getStoreDir(\\quot\\__StoreID__\\quot\\)+\\quot\\inventory_extensions.__DateFrom_____DateTo__.bin\\quot\\)}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\01122020\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Aspect_Back_Office_Inventory_Extensions//crlf//--------------------------------------------------------------------------]//crlf////crlf//<script ID=\\quot\\JS205178\\quot\\>//crlf////tab//function maxRecordsSelected(salt\\comma\\e) {//crlf////tab////tab//var eTable=document.getElementById(salt);//crlf////crlf////tab////tab//if(eTable.getAttribute(\\quot\\MaxRecords\\quot\\)) {//crlf////tab////tab////tab//console.log(\\quot\\set MaxRecords=\\quot\\+e.value);//crlf////tab////tab////tab//eTable.setAttribute(\\quot\\MaxRecords\\quot\\\\comma\\e.value);//crlf////tab////tab//};//crlf////crlf////tab////tab//if(eTable.getAttribute(\\quot\\AspectMaxRecords\\quot\\)) {//crlf////tab////tab////tab//console.log(\\quot\\set AspectMaxRecords=\\quot\\+e.value);//crlf////tab////tab////tab//eTable.setAttribute(\\quot\\AspectMaxRecords\\quot\\\\comma\\e.value);//crlf////tab////tab//};//crlf////tab//};//crlf//</script>//crlf////crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Hesder//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div>//crlf////tab////tab//<h1>{@getStoreName(\\quot\\__StoreID__\\quot\\)}</h1>//crlf////tab////tab//<h1>Inventory Extensions : __DateFrom__ - __DateTo__</h1>//crlf////tab//</div>//crlf////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//[!------------------------------------------------------------------------//crlf////tab//Filter to inventory group//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterToGroup\\quot\\;//crlf////tab////tab//Condition:\\quot\\not('$value$'='0')\\quot\\;//crlf////tab////tab//Expression:\\quot\\gte(pos('$value$'\\comma\\Inventory_Item_Full_Group_Name)\\comma\\0\\comma\\'n')\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\refreshTable('__salt__')\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Full_Group_Name_By_Full_Group_Name\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter - Vendor//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterVendor\\quot\\;//crlf////tab////tab//Condition:\\quot\\not('$value$'='select')\\quot\\;//crlf////tab////tab//Expression:\\quot\\(Vendor1_ID='$value$') or (Vendor2_ID='$value$') or (Vendor3_ID='$value$')\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\refreshTable('__salt__')\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Vendor_Names_By_ID_With_Select\\quot\\;//crlf////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter to items containing text//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab//ID:\\quot\\FilterNameContains__salt__\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\pos('$value$'\\comma\\Inventory_Item_Name+Inventory_Item_Full_Group_Name+Vendor1_Name+Vendor2_Name+Vendor3_Name)>=0\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder='Contains text...' onChange=\\quot\\refreshTable('__salt__')\\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//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter to usage variance//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterToUsageVariance\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\gte(abs(Usage_Variance)\\comma\\$value$\\comma\\'n')\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder='Usage variance' onChange=\\quot\\refreshTable('__salt__')\\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//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter to dollar variance//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterToDollarVariance\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\gte(abs(Cost_Variance)\\comma\\$value$\\comma\\'n')\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder='Dollar variance' onChange=\\quot\\refreshTable('__salt__')\\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//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter to price fluctuation//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterToPriceFluctuation\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\gte(abs(Price_Fluctuation)\\comma\\$value$\\comma\\'n')\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder='Price Fluctuation' onChange=\\quot\\refreshTable('__salt__')\\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//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter: Max Records//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterMaxRecords\\quot\\;//crlf////tab////tab//Condition:\\quot\\false\\quot\\;//crlf////tab////tab//Expression:\\quot\\true\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\maxRecordsSelected('__salt__'\\comma\\this)\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Select_Number_Of_Records\\quot\\;//crlf////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab//Selected:\\quot\\200\\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: Active Items Only//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<span style=\\quot\\white-space:nowrap\\quot\\ Print=\\quot\\false\\quot\\>//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\Checkbox\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\FilterActiveItmsOnly__Salt__\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\'$value$'=true\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\Is_Active_Item\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\refreshTable('__salt__')\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\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//> Active items only//crlf////tab//</span>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Display\\quot\\\\comma\\\\quot\\__Display__\\quot\\\\comma\\\\quot\\Inventory Extensions - Units\\quot\\)>//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\\ASPECT_BACK_OFFICE_INVENTORY_EXTENSIONS\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_INVENTORY_EXTENSIONS~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//InspectMenu: \\quot\\vCdKfYj7\\quot\\;//crlf////tab////tab//display: \\quot\\__Display__\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//AllFieldsVisible: \\quot\\false\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~959087~~pipe~~ASPECT_BACK_OFFICE_INVENTORY_EXTENSIONS~~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__FilterVendor\\comma\\FilterNameContains__salt__\\comma\\__salt__FilterToGroup\\comma\\SelectID__salt__\\comma\\FilterActiveItmsOnly__Salt__\\comma\\__salt__FilterToUsageVariance\\comma\\__salt__FilterToPriceFluctuation\\comma\\__salt__FilterToDollarVariance\\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\\\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf//^
ID=639719|X=151|Y=33|W=890|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_PHYSICAL_COUNT\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\01312018\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//1.03//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowerCase(getSalt(4)))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Physical_Count//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing Store ID//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__Date__\\quot\\)))>//crlf////tab//Error: Missing date//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\))>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Constants//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\display\\quot\\\\comma\\\\quot\\__display__\\quot\\\\comma\\\\quot\\Physical Count by Inventory Group / Name\\quot\\)>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter to item ID.  Disabled.  Used for debugging.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:false>//crlf////tab////tab//Item ID <!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\FilterItemID__salt__\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\ItemID='$value$'\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\refreshTable('__salt__')\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\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//Filter to count group//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\\Double quotes can be used in htmlparams.  E.g. onBlur=\\quot\\alert('test')\\quot\\\\quot\\;//crlf////tab////tab//InputType:\\quot\\Select\\quot\\;//crlf////tab////tab//ID:\\quot\\SelectCountGroup__Salt__\\quot\\;//crlf////tab////tab//Condition:\\quot\\true\\quot\\;//crlf////tab////tab//_Expression:\\quot\\(GroupID='$value$') or (('$value$'='all') and (gt(pos('all'\\comma\\GroupID)\\comma\\0\\comma\\'n')))\\quot\\;//crlf////tab////tab//Expression:\\quot\\if('$value$'='all'\\comma\\gt(pos('all'\\comma\\GroupID)\\comma\\0\\comma\\'n')\\comma\\GroupID='$value$')\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\refreshTable('__salt__')\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Count_Group_Name_By_ID_With_All_Items\\quot\\;//crlf////tab////tab//Selected:\\quot\\All\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter to Inventory Group (no longer used.  Replaced by full group name//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:false>//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\SelectFinalGroup__salt__\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not('$value$'='$select')\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\Final_Group_ID_For_Filter='$value$'\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\refreshTable('__salt__')\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inv_Item_Final_Group_Name_with_Select\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\$select\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\(Record_Type=1) or (Include_In_Inventory_Count)\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter to inventory group (using full group name)//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterToGroup\\quot\\;//crlf////tab////tab//Condition:\\quot\\(not('$value$'='0'))\\quot\\;//crlf////tab////tab//Expression:\\quot\\gte(pos('$value$'\\comma\\Inventory_Item_Full_Group_Name)\\comma\\0\\comma\\'n')\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\refreshTable('__salt__')\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Full_Group_Name_By_Full_Group_Name\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter to items with name containing a text string//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:false>//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\FilterNameContains__salt__\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\pos('$value$'\\comma\\Inventory_Item_Name)>=0\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\Placeholder='Name contains...' onChange=\\quot\\refreshTable('__salt__')\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\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//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'\\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//[!------------------------------------------------------------------------//crlf////tab//Show deleted items//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\Checkbox\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__ShowDeletedItems\\quot\\;//crlf////tab////tab//Condition:\\quot\\'$value$'='false'\\quot\\;//crlf////tab////tab//Expression:\\quot\\not(Deleted)\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\refreshTable('__salt__')\\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 items//crlf////crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\false)>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_PHYSICAL_COUNT\\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\\gfs(addDirSlash(getStoreDir('__StoreID__'))+'physical_count.__Date__.bin')+gfs(addDirSlash(getStoreDir('__StoreID__'))+'countlist.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_PHYSICAL_COUNT~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\__display__\\quot\\;//crlf////tab////tab//ExcludeFields: \\quot\\Final_Group_Name\\comma\\Section_Header_by_Final_Group_Name\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//XDisplayFilter: \\quot\\(not(Deleted)) and (GroupID='//power//All//power//')\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~90182~~pipe~~ASPECT_BACK_OFFICE_PHYSICAL_COUNT~~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\\SelectCountGroup__Salt__\\comma\\__salt__FilterToGroup\\comma\\__salt__ContainsText\\comma\\__salt__ShowDeletedItems\\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//faq: \\quot\\cmBQ1ost\\quot\\;//crlf////tab////tab//procedure: \\quot\\tx54bnC1\\quot\\;//crlf////tab////tab//video: \\quot\\6AKcOGVm\\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\\\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf////crlf//</conditional>//crlf////crlf//^
ID=645635|X=151|Y=33|W=890|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=393441|AttachLeft=|AlignLeft=393441|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//__DtFrom__//crlf////tab//__DtTo__//crlf////tab//{if(fileExists(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache/WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Drivers.html\\quot\\)\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Physical_Count_Summary//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//<h2>Physical Count Summary</h2>//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\\Aspect_BackOffice_Consolidated_Horz_Physical_Count_Summary\\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__'))+'physical_count_summary.*.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~DocumentID=__d__~~pipe~~Widget=__w__~~pipe~~ContainerItemID=consdriver~~pipe~~driver=Aspect_Back_Office_Physical_Count_Summary~~pipe~~StoreID=__StoreID__~~pipe~~DtFrom=__DtFrom__~~pipe~~DtTo=__DtTo__~~pipe~~Metadata=Aspect_Back_Office_Physical_Count_Summary\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~90182~~pipe~~ASPECT_BACK_OFFICE_PHYSICAL_COUNT_SUMMARY~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=139558|X=151|Y=33|W=890|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=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false-->//crlf//__servertimerresults__//crlf//[!------------------------------------------------------------------------//crlf//This item displays records from the inventory item driver.//crlf////crlf//The same item is used to display inventory items\\comma\\ recipes\\comma\\ retail items and all items.//crlf////crlf//The display metadata includes the record type\\comma\\ so a different set of displays is used//crlf//for each record type.  The edit dialog and external params / filters are also based //crlf//on the record type.//crlf////crlf//Params://crlf////tab//StoreID - Store ID//crlf////tab//RecordType - The record type to be displayed.  See below.//crlf////tab//DialogOnly - If true\\comma\\ the table will be hidden and a dialog will be displayed//crlf////tab////tab//for the given ItemID//crlf////tab//ItemID - Used when the DialogOnly parameter is true to indicate the item to be displayed//crlf////tab//ContainsItemID - Optional. Filters records to recipes containing the given item as an ingredient //crlf////tab////tab//either directly or indirectly.  RecordType must be 2 for this parameter to have an effect.//crlf////tab//MenuItemGroupID - Optional.  Filters records to recipes belonging to the given menu category//crlf////crlf//The RecordType parameter is used to filter the driver to a list of //crlf////crlf//0 - All Items//crlf//1 - Inventory Items//crlf//2 - Recipes//crlf//3 - Retail Items//crlf////crlf//- If not specified\\comma\\ the default is 0 which should only be used for support.//crlf//- The RecordType is passed in the driver params so new records can be initialized properly.//crlf//--------------------------------------------------------------------------]//crlf////crlf//<state>//crlf////tab//__StoreID__//crlf////tab//__RecordType__//crlf////tab//__DialogOnly__//crlf////tab//__ItemID__//crlf////tab//__ContainsItemID__//crlf////tab//__MenuItemGroupID__//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_INVENTORY_ITEM\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\12312021\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//1.02//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\\RecordType\\quot\\\\comma\\\\quot\\__RecordType__\\quot\\\\comma\\1)>//crlf//< _include type:expression; expression:htmlConstant(\\quot\\DialogOnly\\quot\\\\comma\\\\quot\\__DialogOnly__\\quot\\\\comma\\true)>//crlf//< _include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\103)>//crlf//--------------------------------------------------------------------------]//crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\RecordType\\quot\\\\comma\\\\quot\\__RecordType__\\quot\\\\comma\\\\quot\\0\\quot\\)>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Inventory_Item//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//No store selected: __StoreID__//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\false)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Display\\quot\\\\comma\\\\quot\\__Display__\\quot\\\\comma\\\\quot\\Inventory Item by Group / Name\\quot\\)>//crlf////crlf////tab//<script ID=\\quot\\JSInventoryItems\\quot\\>//crlf////tab////tab//function openImportInventoryItemsView(TableID) {//crlf////tab////tab////tab//var eTable=document.getElementById(TableID);//crlf////tab////tab////tab//var sDriverParams=eTable.getAttribute(\\quot\\Params\\quot\\);//crlf////tab////tab////tab//var sStoreID=getElementValue(sDriverParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab//openInspectWindow(\\quot\\Import Inventory Items\\quot\\\\comma\\\\quot\\ViewID=ykNGDKPU\\amp\\StoreID=\\quot\\\\plus\\sStoreID);//crlf////tab////tab//};//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Include javascript used to include/exclude items from enterprise reporting//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\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\; //crlf////tab////tab////tab//widget:\\quot\\Inventory Drivers\\quot\\; //crlf////tab////tab////tab//containerItemID:\\quot\\525763\\quot\\; //crlf////tab////tab////tab//params:\\quot\\getContent=1000\\quot\\;>//crlf////crlf////tab//</script>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//External filters.  These are only included when DialogOnly is false//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//External filters for all records (RecordType=0)//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__RecordType__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Filter to a group//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab//ID:\\quot\\SelectFinalGroup__salt__\\quot\\;//crlf////tab////tab////tab////tab//Condition:\\quot\\not(\\apos\\$value$\\apos\\=\\apos\\$select\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab//Expression:\\quot\\Final_Group_ID_For_Filter=\\apos\\$value$\\apos\\\\quot\\;//crlf////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inv_Item_Final_Group_Name_with_Select\\quot\\;//crlf////tab////tab////tab////tab//Selected:\\quot\\$select\\quot\\;//crlf////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__~~pipe~~RecordType=__RecordType__\\quot\\;//crlf////tab////tab////tab////tab//Filter:\\quot\\//crlf////tab////tab////tab////tab////tab//<conditional expression:not(\\quot\\__RecordType__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab//(Record_Type=__RecordType__)//crlf////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//\\quot\\;//crlf////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Filter to items containing text in names and IDs.  Searches all text fields//crlf////tab////tab////tab//for a match.//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<span style=\\quot\\white-space:nowrap\\quot\\>//crlf////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\FilterNameContains__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab//Condition:\\quot\\not(len(trim(\\apos\\$value$\\apos\\))=0)\\quot\\;//crlf////tab////tab////tab////tab////tab//Expression:\\quot\\gte(pos(\\apos\\$value$\\apos\\\\comma\\ID\\plus\\\\apos\\_\\apos\\\\plus\\GroupID\\plus\\\\apos\\_\\apos\\\\plus\\Name\\plus\\\\apos\\_\\apos\\\\plus\\Vendor1_Name\\plus\\\\apos\\_\\apos\\\\plus\\Vendor2_Name\\plus\\\\apos\\_\\apos\\\\plus\\Vendor3_Name\\plus\\\\apos\\_\\apos\\\\plus\\Vendor1_Code\\plus\\\\apos\\_\\apos\\\\plus\\Vendor2_Code\\plus\\\\apos\\_\\apos\\\\plus\\Vendor3_Code\\plus\\\\apos\\_\\apos\\\\plus\\Menu_Item_ID\\plus\\\\apos\\_\\apos\\\\plus\\Menu_Item_POS_ID\\plus\\\\apos\\_\\apos\\\\plus\\Menu_Item_Group_ID\\plus\\\\apos\\_\\apos\\\\plus\\Menu_Item_Group_ID_Override)\\comma\\0\\comma\\\\apos\\n\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\Placeholder=\\apos\\Contains text...\\apos\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab//</span>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//External filters for inventory items (RecordType=1)//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__RecordType__\\quot\\=\\quot\\1\\quot\\)>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Filter to Record Type.  Only available when RecordType is 0//tab//to include //crlf////tab////tab////tab//all record types.  Should not occur except when support package is loaded//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<conditional expression:(\\quot\\__RecordType__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\FilterRecordType__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab//Condition:\\quot\\not(\\apos\\$value$\\apos\\=0)\\quot\\;//crlf////tab////tab////tab////tab////tab//Expression:\\quot\\Record_Type=\\apos\\$value$\\apos\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Lookup_Inventory_Items_Record_Type\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Filter by ID.  Disabled.  Was used for debugging//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<conditional expression:false>//crlf////tab////tab////tab////tab//ID <!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab//InputType:\\quot\\Text\\quot\\;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\SelectID__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab//Condition:\\quot\\not(len(trim(\\apos\\$value$\\apos\\))=0)\\quot\\;//crlf////tab////tab////tab////tab////tab//Expression:\\quot\\ID=\\apos\\$value$\\apos\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Filter to inventory group//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab//ID:\\quot\\__salt__FilterToGroup\\quot\\;//crlf////tab////tab////tab////tab//Condition:\\quot\\(not(\\apos\\$value$\\apos\\=\\apos\\0\\apos\\))\\quot\\;//crlf////tab////tab////tab////tab//Expression:\\quot\\gte(pos(\\apos\\$value$\\apos\\\\comma\\Inventory_Item_Full_Group_Name)\\comma\\0\\comma\\\\apos\\n\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Full_Group_Name_By_Full_Group_Name\\quot\\;//crlf////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Filter to vendor//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab//ID:\\quot\\__salt__FilterToVendor\\quot\\;//crlf////tab////tab////tab////tab//Condition:\\quot\\(not(\\apos\\$value$\\apos\\=\\apos\\select\\apos\\))\\quot\\;//crlf////tab////tab////tab////tab//Expression:\\quot\\(Vendor1=\\apos\\$value$\\apos\\) or (Vendor2=\\apos\\$value$\\apos\\) or (Vendor3=\\apos\\$value$\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Vendor_Names_By_ID_With_Select\\quot\\;//crlf////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Filter to items with name containing a text string//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<span style=\\quot\\white-space:nowrap\\quot\\>//crlf////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\FilterNameContains__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab//Condition:\\quot\\not(len(trim(\\apos\\$value$\\apos\\))=0)\\quot\\;//crlf////tab////tab////tab////tab////tab//Expression:\\quot\\gte(pos(\\apos\\$value$\\apos\\\\comma\\ID\\plus\\\\apos\\_\\apos\\\\plus\\GroupID\\plus\\\\apos\\_\\apos\\\\plus\\Name\\plus\\\\apos\\_\\apos\\\\plus\\Vendor1_Name\\plus\\\\apos\\_\\apos\\\\plus\\Vendor2_Name\\plus\\\\apos\\_\\apos\\\\plus\\Vendor3_Name\\plus\\\\apos\\_\\apos\\\\plus\\Vendor1_Code\\plus\\\\apos\\_\\apos\\\\plus\\Vendor2_Code\\plus\\\\apos\\_\\apos\\\\plus\\Vendor3_Code\\plus\\\\apos\\_\\apos\\\\plus\\Menu_Item_ID\\plus\\\\apos\\_\\apos\\\\plus\\Menu_Item_POS_ID\\plus\\\\apos\\_\\apos\\\\plus\\Menu_Item_Group_ID\\plus\\\\apos\\_\\apos\\\\plus\\Menu_Item_Group_ID_Override)\\comma\\0\\comma\\\\apos\\n\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\Placeholder=\\apos\\Contains text...\\apos\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab//</span>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Show deleted items//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab//InputType:\\quot\\Checkbox\\quot\\;//crlf////tab////tab////tab////tab//ID:\\quot\\__salt__ShowDeletedItems\\quot\\;//crlf////tab////tab////tab////tab//Condition:\\quot\\\\apos\\$value$\\apos\\=\\apos\\false\\apos\\\\quot\\;//crlf////tab////tab////tab////tab//Expression:\\quot\\not(Deleted)\\quot\\;//crlf////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\onChange=refreshTable(\\apos\\aspect_back_office_inventory_item__salt__\\apos\\\\comma\\\\apos\\refresh\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\true)\\quot\\;//crlf////tab////tab////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//> Show inactive items//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//External filters for recipes (RecordType=2)//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__RecordType__\\quot\\=\\quot\\2\\quot\\)>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Filter - Department //tab////crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab//InputType:\\quot\\Select\\quot\\;//crlf////tab////tab////tab////tab//ID:\\quot\\__salt__FilterDepartment\\quot\\;//crlf////tab////tab////tab////tab//Condition:\\quot\\not(\\apos\\$value$\\apos\\=\\apos\\0\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab//Expression:\\quot\\Department_ID=\\apos\\$value$\\apos\\\\quot\\;//crlf////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//CollectionID:\\quot\\POS_Generic_Lookup_Menu_Dept_Name_By_ID_with_Select\\quot\\;//crlf////tab////tab////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Filter to menu category//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<span style=\\quot\\white-space:nowrap\\quot\\>//crlf////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\FilterMenuCategory__Salt__\\quot\\;//crlf////tab////tab////tab////tab////tab//Condition:\\quot\\not(\\apos\\$value$\\apos\\=0)\\quot\\;//crlf////tab////tab////tab////tab////tab//Expression:\\quot\\Menu_Item_Active_Group_ID=\\apos\\$value$\\apos\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Active_Menu_Group_Names_By_ID_W_Select\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\000\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab//</span>//crlf////crlf////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab//ID:\\quot\\FilterContainsIngredients__Salt__\\quot\\;//crlf////tab////tab////tab////tab//Condition:\\quot\\not(\\apos\\$value$\\apos\\=0)\\quot\\;//crlf////tab////tab////tab////tab//Expression:\\quot\\if($value$=1\\comma\\Contains_Ingredients\\comma\\not(Contains_Ingredients))\\quot\\;//crlf////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Menu_Item_Filter_Contains_Ingredients\\quot\\;//crlf////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Filter to items with name containing a text string//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<span style=\\quot\\white-space:nowrap\\quot\\>//crlf////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\FilterNameContains__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab//Condition:\\quot\\not(len(trim(\\apos\\$value$\\apos\\))=0)\\quot\\;//crlf////tab////tab////tab////tab////tab//Expression:\\quot\\gte(pos(\\apos\\$value$\\apos\\\\comma\\ID\\plus\\\\apos\\_\\apos\\\\plus\\GroupID\\plus\\\\apos\\_\\apos\\\\plus\\Name\\plus\\\\apos\\_\\apos\\\\plus\\Menu_Item_ID\\plus\\\\apos\\_\\apos\\\\plus\\Menu_Item_POS_ID\\plus\\\\apos\\_\\apos\\\\plus\\Menu_Item_Group_ID\\plus\\\\apos\\_\\apos\\\\plus\\Menu_Item_Group_ID_Override\\plus\\\\apos\\_\\apos\\\\plus\\Menu_Item_Group_Name)\\comma\\0\\comma\\\\apos\\n\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\Placeholder=\\apos\\Contains text...\\apos\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab//</span>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Show deleted items//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<span style=\\quot\\white-space:nowrap\\quot\\>//crlf////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab//InputType:\\quot\\Checkbox\\quot\\;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__salt__ShowDeletedItems\\quot\\;//crlf////tab////tab////tab////tab////tab//Condition:\\quot\\\\apos\\$value$\\apos\\=\\apos\\false\\apos\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Expression:\\quot\\not(Deleted)\\quot\\;//crlf////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\onChange=refreshTable(\\apos\\aspect_back_office_inventory_item__salt__\\apos\\\\comma\\\\apos\\refresh\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\true)\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//> Show inactive recipes//crlf////tab////tab////tab//</span>//crlf////tab////tab//</conditional>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//NOTE: DO NOT CHANGE THIS TO A !!INCLUDE BECAUSE SELECT BOXES AND TABLES IN//crlf////tab//THE DIALOG WILL NOT WORK PROPERLY//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\aspect_back_office_inventory_item__salt__\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_INVENTORY_ITEM\\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(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\apos\\__StoreID__\\apos\\)\\plus\\\\apos\\item.bin\\apos\\)\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~RecordType=__RecordType__~~pipe~~Metadata=Aspect_Back_Office_Inventory_Item__RecordType__\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\__Display__\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//<conditional expression:(\\quot\\__RecordType__\\quot\\=1)>//crlf////tab////tab////tab//InspectMenu: \\quot\\tXt9oNDL\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:(\\quot\\__RecordType__\\quot\\=2)>//crlf////tab////tab////tab//InspectMenu: \\quot\\sLlMMm6i\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:(\\quot\\__RecordType__\\quot\\=1)>//crlf////tab////tab////tab//ExcludeFields: \\quot\\Final_Group_Name\\comma\\Include_In_Inventory_Count\\comma\\Include_In_Prep_Log\\comma\\//crlf////tab////tab////tab////tab//Menu_Item_ID\\comma\\Menu_Item_POS_ID\\comma\\Menu_Item_Group_ID\\comma\\Menu_Item_Group_ID_Override\\comma\\//crlf////tab////tab////tab////tab//Menu_Item_Group_Name\\comma\\Allow_as_Batch_Recipe\\comma\\Gross_Yield_Prefix\\comma\\Gross_Yield_Unit\\comma\\//crlf////tab////tab////tab////tab//Serve_Size_Prefix\\comma\\Serve_Size_Unit\\comma\\Convert_Volume_Size\\comma\\Convert_Weight_Size\\comma\\//crlf////tab////tab////tab////tab//Default_Price_Prefix\\comma\\Default_Price_Unit\\comma\\Default_Price_Amount\\comma\\Default_Price_Size\\comma\\//crlf////tab////tab////tab////tab//Value_for_Default_Price_Lookup\\comma\\//crlf////tab////tab////tab////tab//Gross_Yield_Size\\comma\\Srving_Size_Size\\comma\\//crlf////tab////tab////tab////tab//Department_ID\\comma\\Department_Name\\comma\\//crlf////tab////tab////tab////tab//Contains_Ingredients\\comma\\Record_Type\\comma\\//crlf////tab////tab////tab////tab//Vendor1_Last_Updated_Date\\comma\\Vendor1_Last_Updated_InvoiceID\\comma\\//crlf////tab////tab////tab////tab//Vendor2_Last_Updated_Date\\comma\\Vendor2_Last_Updated_InvoiceID\\comma\\//crlf////tab////tab////tab////tab//Vendor3_Last_Updated_Date\\comma\\Vendor3_Last_Updated_InvoiceID\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:(\\quot\\__RecordType__\\quot\\=2)>//crlf////tab////tab////tab//ExcludeFields: \\quot\\Final_Group_Name\\comma\\Section_Header_By_Parent_Group_Name\\comma\\//crlf////tab////tab////tab////tab//Inventory_Item_Group_Name\\comma\\Inventory_Item_Parent_Group_ID\\comma\\Inventory_Item_Parent_Group_Name\\comma\\//crlf////tab////tab////tab////tab//Vendor1\\comma\\Vendor2\\comma\\Vendor3\\comma\\Vendor1_Name\\comma\\Vendor2_Name\\comma\\Vendor3_Name\\comma\\//crlf////tab////tab////tab////tab//Vendor1_Size_Prefix\\comma\\Vendor2_Size_Prefix\\comma\\Vendor3_Size_Prefix\\comma\\Vendor1_Size_Unit\\comma\\//crlf////tab////tab////tab////tab//Vendor2_Size_Unit\\comma\\Vendor3_Size_Unit\\comma\\Vendor1_Code\\comma\\Vendor2_Code\\comma\\Vendor3_Code\\comma\\//crlf////tab////tab////tab////tab//Vendor1_Price\\comma\\Vendor2_Price\\comma\\Vendor3_Price\\comma\\Vendor_1_Size\\comma\\Vendor_2_Size\\comma\\Vendor_3_Size\\comma\\//crlf////tab////tab////tab////tab//Menu_Item_ID\\comma\\Convert_Volume_Size\\comma\\Convert_Weight_Size\\comma\\//crlf////tab////tab////tab////tab//Value_for_Default_Price_Lookup\\comma\\//crlf////tab////tab////tab////tab//Record_Type\\comma\\//crlf////tab////tab////tab////tab//Vendor1\\comma\\Vendor2\\comma\\Vendor3\\comma\\//crlf////tab////tab////tab////tab//Default_Price_Prefix\\comma\\Default_Price_Unit\\comma\\Default_Price_Amount\\comma\\Default_Price_Size\\comma\\//crlf////tab////tab////tab////tab//Vendor1_Last_Updated_Date\\comma\\Vendor1_Last_Updated_InvoiceID\\comma\\//crlf////tab////tab////tab////tab//Vendor2_Last_Updated_Date\\comma\\Vendor2_Last_Updated_InvoiceID\\comma\\//crlf////tab////tab////tab////tab//Vendor3_Last_Updated_Date\\comma\\Vendor3_Last_Updated_InvoiceID\\comma\\//crlf////tab////tab////tab////tab//Count_Size1_Prefix\\comma\\Count_Size2_Prefix\\comma\\Count_Size3_Prefix\\comma\\//crlf////tab////tab////tab////tab//Count_Size1_Unit\\comma\\Count_Size2_Unit\\comma\\Count_Size3_Unit\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//XDisplayXFilter___salt__ShowDeletedItems: \\quot\\if($value$\\comma\\true\\comma\\not(Deleted))//power//false//power//true//power//and\\quot\\;//crlf////tab////tab//_XDisplayFilter: \\quot\\not(Deleted)\\quot\\;//crlf////tab////tab//BaseFilter: \\quot\\//crlf////tab////tab////tab//(true) //crlf////tab////tab////tab//<conditional expression:not(\\quot\\__RecordType__\\quot\\=0)>//crlf////tab////tab////tab////tab//and (Record_Type=__RecordType__)//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__ItemID__\\quot\\)>//crlf////tab////tab////tab////tab//and (ID=\\quot\\__ItemID__\\quot\\)//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<_conditional expression:(\\quot\\__RecordType__\\quot\\=2) and (defined(\\quot\\__ContainsItemID__\\quot\\))>//crlf////tab////tab////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab////tab//arItemID=getSensorValue(\\quot\\containsIngredient\\quot\\\\comma\\\\quot\\StoreID=__StoreID__\\amp\\ItemID=__ContainsItemID__\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\arItemID=\\quot\\\\plus\\arItemID)//crlf////tab////tab////tab////tab////tab//s=\\quot\\gte(containsElement(\\quot\\\\plus\\quote(arItemID\\comma\\char(0x27))\\plus\\\\quot\\\\comma\\ID)\\comma\\0\\comma\\\\apos\\n\\apos\\)\\quot\\//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\BaseFilter: \\quot\\\\plus\\\\quot\\ and (\\quot\\\\plus\\s\\plus\\\\quot\\)\\quot\\)//crlf////tab////tab////tab////tab////tab//return(\\quot\\ and (\\quot\\\\plus\\s\\plus\\\\quot\\)\\quot\\)//crlf////tab////tab////tab////tab//\\quot\\>//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<_conditional expression:(\\quot\\__RecordType__\\quot\\=2) and (defined(\\quot\\__MenuItemGroupID__\\quot\\))>//crlf////tab////tab////tab////tab//and (Menu_Item_Active_Group_ID=\\quot\\__MenuItemGroupID__\\quot\\)//crlf////tab////tab////tab//</conditional>//crlf////tab////tab//\\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//<conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//style: \\quot\\display:none\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:(not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly:\\quot\\__ReadOnly__\\quot\\;//crlf////tab////tab//<conditional expression:(\\quot\\__RecordType__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//<conditional expression:getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\hccldm83k\\quot\\)>//crlf////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:not(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\hccldm83k\\quot\\))>//crlf////tab////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:(\\quot\\__RecordType__\\quot\\=\\quot\\1\\quot\\)>//crlf////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab//<conditional expression:boolean(\\quot\\__IsSupport__\\quot\\)>//crlf////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:not(boolean(\\quot\\__IsSupport__\\quot\\))>//crlf////tab////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:(\\quot\\__RecordType__\\quot\\=\\quot\\2\\quot\\)>//crlf////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab//<conditional expression:boolean(\\quot\\__IsSupport__\\quot\\)>//crlf////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:not(boolean(\\quot\\__IsSupport__\\quot\\))>//crlf////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:(\\quot\\__RecordType__\\quot\\=\\quot\\3\\quot\\)>//crlf////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//EmbedValues: \\quot\\//crlf////tab////tab////tab//<conditional expression:(\\quot\\__RecordType__\\quot\\=\\quot\\1\\quot\\)>//crlf////tab////tab////tab////tab//Vendor_1_Size\\comma\\Vendor_2_Size\\comma\\Vendor_3_Size//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:(\\quot\\__RecordType__\\quot\\=\\quot\\2\\quot\\)>//crlf////tab////tab////tab//</conditional>//crlf////tab////tab//\\quot\\;//crlf////tab////tab//_EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~525433~~pipe~~Aspect_Back_Office_Inventory_Item~~pipe~~__salt__\\quot\\;//crlf////tab////tab//EditDialogID:\\quot\\//crlf////tab////tab////tab//<conditional expression:(\\quot\\__RecordType__\\quot\\=\\quot\\1\\quot\\)>//crlf////tab////tab////tab////tab//KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~158371~~pipe~~Aspect_Back_Office_Inventory_Item~~pipe~~__salt__//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:(\\quot\\__RecordType__\\quot\\=\\quot\\2\\quot\\)>//crlf////tab////tab////tab////tab//KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~207174~~pipe~~Aspect_Back_Office_Inventory_Item~~pipe~~__salt__//crlf////tab////tab////tab//</conditional>//crlf////tab////tab//\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//DialogOnly: \\quot\\__DialogOnly__\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\//crlf////tab////tab////tab//<conditional expression:(\\quot\\__RecordType__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab////tab////tab////tab//SelectFinalGroup__salt__\\comma\\FilterNameContains__salt__//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:(\\quot\\__RecordType__\\quot\\=\\quot\\1\\quot\\)>//crlf////tab////tab////tab////tab//__salt__FilterToGroup\\comma\\__salt__FilterToVendor\\comma\\SelectID__salt__\\comma\\FilterNameContains__salt__\\comma\\SelectFinalGroup__salt__\\comma\\FilterRecordType__salt__\\comma\\__salt__ShowDeletedItems//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:(\\quot\\__RecordType__\\quot\\=\\quot\\2\\quot\\)>//crlf////tab////tab////tab////tab//__salt__FilterDepartment\\comma\\FilterMenuCategory__Salt__\\comma\\FilterContainsIngredients__Salt__\\comma\\FilterNameContains__salt__\\comma\\__salt__ShowDeletedItems//crlf////tab////tab////tab//</conditional>//crlf////tab////tab//\\quot\\;//crlf////tab////tab//menu: \\quot\\Import Inventory Items~~pipe~~openImportInventoryItemsView\\comma\\separator\\comma\\Include In Enterprise Reporting~~pipe~~includeInEnterpriseReporting\\comma\\Exclude From Enterprise Reporting~~pipe~~excludeFromEnterpriseReporting\\quot\\;//crlf////tab////tab//faq: \\quot\\ATiK2GNM\\quot\\;//crlf////tab////tab//procedure: \\quot\\MBRArD94\\quot\\;//crlf////tab////tab//video: \\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//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=867471|X=151|Y=33|W=890|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=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_CONVERSIONS\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//1.01//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Conversions//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//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\true)>//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__FilterContainsText\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\gte(pos('$value$'\\comma\\Inventory_Item_Name+Inventory_Item_ID)\\comma\\0\\comma\\n)\\quot\\;//tab////crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder='Contains text'\\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//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_CONVERSIONS\\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__'))+'CONVERSIONS.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=Aspect_Back_Office_Conversions\\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\\500\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~383031~~pipe~~Aspect_Back_Office_Conversions~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\__salt__FilterContainsText\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//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//RefreshInterval: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=680528|X=151|Y=33|W=890|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=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_INVENTORY_ITEM_GROUP\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////crlf////tab////need to consider sales and custom sales fields for sales links//crlf////tab//{@gfs(getStoreDir(\\quot\\__StoreID__\\quot\\)+\\quot\\customsalesfields.bin\\quot\\)}//crlf////tab//{@gfs(getStoreDir(\\quot\\__StoreID__\\quot\\)+\\quot\\sales.*\\quot\\)}//crlf////crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\06062017\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Inventory_Item_Group//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//<include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\false)>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_INVENTORY_ITEM_GROUP\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=Aspect_Back_Office_Inventory_Item_Group\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\250\\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\\ID\\comma\\Name\\comma\\Sub_Of_ID\\comma\\Parent\\comma\\Sort_Key\\comma\\IsSubOfParent\\comma\\Sales_Link\\comma\\GL_Account_Code\\comma\\TagChain_Names\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~538288~~pipe~~Aspect_Back_Office_Inventory_Item_Group~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//faq: \\quot\\gvPer233\\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\\\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf//^
ID=716923|X=151|Y=33|W=890|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=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(POS_Generic_Menu_Item_Dta\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\02102018\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- Servertimer=false-->//crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//POS_Generic_Menu_Item_Dta//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\true)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//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__FilterContainsText\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\gte(pos('$value$'\\comma\\Category_Name+CategoryID+MenuItemID+Name1+Name2+Department_ID+Department_Name+ID+Inventory_Item_ID)\\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////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_Menu_Item_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\\getFilespecState(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__'))+'menuitem.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=POS_Generic_Menu_Item\\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\\150\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~832831~~pipe~~POS_Generic_Menu_Item_Dta~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\__salt__FilterContainsText\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//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//RefreshInterval: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//__ServerTimerResults__//crlf//^
ID=303945|X=151|Y=33|W=890|H=761|AutoHeight=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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(POS_Generic_Menu_Category_Dta\\comma\\\\quot\\StoreID=__StoreID__\\quot\\))}//crlf////tab//{@if(defined(\\quot\\__StoreID__\\quot\\)\\comma\\gfs(getStoreDir(\\quot\\__StoreID__\\quot\\)+\\quot\\item.bin\\quot\\)\\comma\\now())}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\02102018\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Debugging//crlf//< include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\Es134hBQNJBUojYEL0ZGpNLO\\quot\\)>//crlf//--------------------------------------------------------------------------]//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//POS_Generic_Menu_Category_Dta//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\false)>//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__FilterContainsText\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\gte(pos('$value$'\\comma\\Name+Department+Number+Department_ID+Department_Name)\\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//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//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\POS_Generic_Menu_Category_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\\getFilespecState(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__'))+'category.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=POS_Generic_Menu_Category\\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\\250\\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//inspectMenu: \\quot\\NQer9u7j\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\Number\\comma\\Name\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~185543~~pipe~~Aspect_Back_Office_Menu_Item_Group~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\__salt__FilterContainsText\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//faq: \\quot\\xYSR1tro\\quot\\;//crlf////tab////tab//procedure: \\quot\\85TLN3FO\\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\\\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//</conditional>//crlf////crlf//^
ID=98169|X=151|Y=33|W=890|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=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_SIZE\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//1.11//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Size//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//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\false)>//crlf////crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_SIZE\\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__'))+'size.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=Aspect_Back_Office_Size\\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\\250\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~120863~~pipe~~Aspect_Back_Office_Size~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=829102|X=151|Y=33|W=890|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=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_VENDOR\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\03302016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//__DialogOnly__//crlf////tab//__VendorID__//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\12052019\\quot\\\\comma\\now()\\comma\\\\quot\\\\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//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\sdDOhOHNW118U9dNy3yuOwXV\\quot\\)>//crlf//--------------------------------------------------------------------------]//crlf////crlf//<script ID=\\quot\\JS829102\\quot\\>//crlf////tab//function mergeSelectedRecords(TableID) {//crlf////tab////tab//var salt=TableID;//crlf////crlf////tab////tab////get the div used to display the dialog used to select the vendor that will be kept//crlf////tab////tab//var eDiv=document.getElementById(salt+\\quot\\MergeVendorsDialog\\quot\\);//crlf////crlf////tab////tab////get the select box used to select the vendor to be kept//crlf////tab////tab//var eSelect=document.getElementById(salt+\\quot\\MergeVendorsSelect\\quot\\);//crlf////crlf////tab////tab////abort if less than two records are selected//crlf////tab////tab//var arKey=getKeyValues(salt\\comma\\true);//crlf////crlf////tab////tab//if((!arKey) ~~pipe~~~~pipe~~ (arKey.length<2)) {//crlf////tab////tab////tab//showDialog(\\quot\\msg=Select two or more vendors to be merged<br><br>//amp//fnOk=Close\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////add selected records to the multiple-select box //crlf////tab////tab//var eTable=document.getElementById(salt);//crlf////tab////tab//eSelect.setAttribute(\\quot\\size\\quot\\\\comma\\arKey.length);//crlf////tab////tab//eSelect.options.length=0;//crlf////tab////tab//for(var i=0;i<arKey.length;i++) {//crlf////tab////tab////tab//var sVendorName=getTableRowFieldValue(eTable\\comma\\arKey[i]\\comma\\\\quot\\name\\quot\\);//crlf////tab////tab////tab//if(!sVendorName) sVendorName=\\quot\\\\quot\\;//crlf////tab////tab////tab//eSelect.options[i]=new Option(sVendorName+\\quot\\ [\\quot\\+arKey[i]+\\quot\\]\\quot\\\\comma\\arKey[i]\\comma\\false\\comma\\false);//crlf////tab////tab//};//crlf////crlf////tab////tab//setVisible(eDiv\\comma\\true);//crlf////tab//};//crlf////crlf////tab//function executeMergeVendor(salt\\comma\\s) {//crlf////crlf////tab////tab////if complete://crlf////tab////tab//if(s) {//crlf////tab////tab////tab//var sMsg=s;//crlf////tab////tab////tab//if(s.toUpperCase().startsWith(\\quot\\OK\\quot\\)) sMsg=\\quot\\Complete.\\quot\\;//crlf////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+sMsg+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab//refreshTable(salt\\comma\\\\quot\\refresh\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\true);//crlf////tab////tab////tab//return;//crlf////tab////tab//}//crlf////crlf////tab////tab////get the div used to display the dialog used to select the vendor that will be kept//crlf////tab////tab//var eDiv=document.getElementById(salt+\\quot\\MergeVendorsDialog\\quot\\);//crlf////crlf////tab////tab////get the select box used to select the vendor to be kept//crlf////tab////tab//var eSelect=document.getElementById(salt+\\quot\\MergeVendorsSelect\\quot\\);//crlf////tab////tab////crlf////tab////tab////abort if no vendor is selected but don't close the dialog//crlf////tab////tab//if(eSelect.value.length==0) {//crlf////tab////tab////tab//showDialog(\\quot\\msg=Select the vendor into which the others will be merged<br><br>//amp//fnOk=Close\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//var sDestID=eSelect.value;//crlf////tab////tab//var arSourceID=new Array();//crlf////tab////tab//for(var i=0;i<eSelect.options.length;i++) {//crlf////tab////tab////tab//if(eSelect.options[i].value!=sDestID) {//crlf////tab////tab////tab////tab//arSourceID[arSourceID.length]=eSelect.options[i].value;//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab//console.log(\\quot\\sDestID=\\quot\\+sDestID);//crlf////tab////tab//console.log(\\quot\\arSourceID=\\quot\\+arSourceID.toString());//crlf////tab////tab////crlf////tab////tab//setVisible(eDiv\\comma\\false);//crlf////tab////tab//showDialog(\\quot\\msg=Merging vendor records...//amp//icon=true\\quot\\);//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Merge\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//ContainerItemID=action_list//amp//Action=mergeVendor//amp//ActionExec=true\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//SourceID=\\quot\\+arSourceID.toString()+\\quot\\//amp//DestID=\\quot\\+sDestID;//crlf////tab////tab//var sFunc=\\quot\\executeMergeVendor(\\\quot\\\\quot\\+salt+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////crlf////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab//};//crlf//</script>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Aspect_Back_Office_Vendor//crlf//--------------------------------------------------------------------------]//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//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\false)>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Dialog used to merge selected records//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__MergeVendorsDialog\\quot\\ style=\\quot\\padding:10px;display:none;position:absolute;top:100px;left:100px;z-index:2;background-color:white;height:auto;width:300px;border:solid 1px black\\quot\\>//crlf////tab////tab//<p>Select the vendor to keep</p>//crlf////tab////tab//<select ID=\\quot\\__salt__MergeVendorsSelect\\quot\\ style=\\quot\\width:100\\percent\\\\quot\\>//crlf////tab////tab////tab//<option>Vendor 1</option>//crlf////tab////tab////tab//<option>Vendor 2</option>//crlf////tab////tab////tab//<option>Vendor 3</option>//crlf////tab////tab//</select>//crlf////tab////tab//<br><br>//crlf////tab////tab//<div style=\\quot\\clear:both\\quot\\></div>//crlf////tab////tab//<div style=\\quot\\float:right\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\setVisible('__salt__MergeVendorsDialog'\\comma\\false)\\quot\\;>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Merge\\quot\\ onClick=\\quot\\executeMergeVendor('__salt__')\\quot\\>//amp//nbsp;//amp//nbsp;//crlf////tab////tab//</div>//crlf////tab//</div>//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'\\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////tab//<br><br>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//NOTE: DO NOT CHANGE THIS TO A !!INCLUDE BECAUSE SELECT BOXES AND TABLES IN//crlf////tab//THE DIALOG WILL NOT WORK PROPERLY//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_VENDOR\\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__'))+'vendor.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=Aspect_Back_Office_Vendor\\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//basefilter: \\quot\\//crlf////tab////tab////tab//(true) //crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__VendorID__\\quot\\)>//crlf////tab////tab////tab////tab//and (ID=\\quot\\__VendorID__\\quot\\)//crlf////tab////tab////tab//</conditional>//crlf////tab////tab//\\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//<conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//style: \\quot\\display:none\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:(not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//</conditional>//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\\Name\\comma\\Phone\\comma\\Email\\comma\\Contact_Name\\comma\\Website\\comma\\EDI_Customer_Number\\comma\\EDI_Ftp_Site\\comma\\EDI_UserName\\comma\\EDI_Password\\comma\\EDI_Delete_After_Download\\comma\\Export_to_AP\\comma\\Code\\comma\\Customer Account\\comma\\Notes\\comma\\ID\\comma\\EDI_Vendor\\comma\\EDI_Time_Last_Check\\comma\\EDI_Time_Last_Received\\comma\\test\\comma\\Used\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~85430~~pipe~~Aspect_Back_Office_Vendor~~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__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//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\Merge Selected Vendors~~pipe~~mergeSelectedRecords\\quot\\;//crlf////tab////tab//faq: \\quot\\TRVtJ29m\\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\\\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf//^
ID=420191|X=151|Y=33|W=890|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=393441|AttachLeft=|AlignLeft=393441|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 NO LONGER USED.  THE COUNT GROUPS ITEM IS USED INSTEAD.  //crlf//IT COMBINES EDITING OF COUNT GROUP NAMES WITH EDITING OF THE ITEMS IN THE GROUP//crlf//--------------------------------------------------------------------------]//crlf////crlf//<state>//crlf////tab//__StoreID__//crlf////tab//{@gfs(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\//pound//StoreID)+\\quot\\countgroup.bin\\quot\\)}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\02022017\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Area//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//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\false)>//crlf////crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_Back_Office_Count_Group\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\getFilespecState(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__'))+'countgroup.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=Aspect_Back_Office_Count_Group\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\250\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~370502~~pipe~~ASPECT_BACK_OFFICE_COUNT_GROUP~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//menu: \\quot\\\\quot\\;//crlf////tab////tab//faq: \\quot\\tziAal8s\\quot\\;//crlf////tab////tab//procedure: \\quot\\vVefnHwA\\quot\\;//crlf////tab////tab//video: \\quot\\\\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\\\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=170904|X=151|Y=33|W=894|H=706|AutoHeight=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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!--servertimer=false-->//crlf//[!------------------------------------------------------------------------//crlf//Displays a table of invoices for the given store.  Can also be used to //crlf//edit a single invoice in a dialog.//crlf////crlf//Params://crlf////tab//StoreID - Store ID//crlf////tab//DialogOnly - If true\\comma\\ the table will be hidden and the edit dialog will //crlf////tab////tab//be displayed for the given InvoiceID//crlf////tab//InvoiceID - When DialogOnly is true\\comma\\ indicates the invoice to display in //crlf////tab////tab//the edit dialog//crlf//--------------------------------------------------------------------------]//crlf//<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_INVOICE\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\))}//crlf////tab//__DialogOnly__//crlf////tab//__InvoiceID__//crlf////tab//{@if(fileExists(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache/WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Drivers.html\\quot\\)\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\04182018\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//1.0//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Debugging//crlf//< include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\N9lpfj23hzRwtuC0SieHgjcR\\quot\\)>//crlf//--------------------------------------------------------------------------]//crlf////crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//No store selected//crlf//</conditional>//crlf////crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Include javascript//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:not(defined(\\quot\\__EditContainer__\\quot\\))>//crlf////tab////tab//<script ID=\\quot\\JSInvoices__salt__\\quot\\>//crlf////tab////tab////tab///*****************************************************************//crlf////tab////tab////tab//This function is called when the invoice table is refreshed.  It is used to //crlf////tab////tab////tab//display an invoice after it is imported.  The function used to import the invoice //crlf////tab////tab////tab//records the ID (key) of the new record in a hidden element.  When the table is //crlf////tab////tab////tab//refreshed\\comma\\ the dialog is displayed for the key.  They value is clear afterward so //crlf////tab////tab////tab//it will not be displayed again if the table is refreshed.//crlf////tab////tab////tab//*****************************************************************///crlf////tab////tab////tab//function tableRefreshedinvoice__salt__(TableID) {//crlf////tab////tab////tab////tab//var salt=TableID.substring(7);//crlf////tab////tab////tab////tab//var sKey=document.getElementById(\\quot\\invoice\\quot\\+salt+\\quot\\imported_invoice_recordid\\quot\\).value;//crlf////tab////tab////tab////tab//var table=document.getElementById(TableID);//crlf////tab////tab////tab////tab//if(sKey.length>0) {//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\TableID=\\quot\\+TableID+\\quot\\ salt=\\quot\\+salt+\\quot\\ sKey=\\quot\\+sKey);//crlf////tab////tab////tab////tab////tab//var r=getTableRowContainingKey(table\\comma\\sKey);//crlf////tab////tab////tab////tab////tab//if(r>=0) {//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\key=\\quot\\+sKey+\\quot\\ r=\\quot\\+r);//crlf////tab////tab////tab////tab////tab////tab//showTableEditDialogForRow(table\\comma\\r);//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab//document.getElementById(\\quot\\invoice\\quot\\+salt+\\quot\\imported_invoice_recordid\\quot\\).value=\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab//</script>//crlf////crlf////tab////tab//<script ID=\\quot\\JSInvoices\\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\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\; //crlf////tab////tab////tab////tab//widget:\\quot\\Inventory Drivers\\quot\\; //crlf////tab////tab////tab////tab//containerItemID:\\quot\\590607\\quot\\; //crlf////tab////tab////tab////tab//params:\\quot\\\\quot\\;>//tab////tab////crlf////tab////tab//</script>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Styles for dialog//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<style ID=\\quot\\CSInvoiceTable\\quot\\>//crlf////tab////tab//div.paste_invoice_dialog {display:none;width:100\\percent\\;max-width:600px;position:absolute;top:100px;left:100px;z-index:3}//crlf////tab////tab//div.paste_invoice_dialog_title_container {height:35px;background-color://pound//e9e9e9;padding:5px 0px 5px 5px;margin:0px;border:solid 1px black;font-size:10pt;font-weight:bold;}//crlf////tab////tab//div.confirm_invoice_export {display:none;width:100\\percent\\;max-width:400px;position:absolute;top:100px;left:100px;z-index:3;}//crlf////tab////tab//div.confirm_invoice_export_title_container {height:35px;background-color://pound//e9e9e9;padding:5px 0px 5px 5px;margin:0px;border:solid 1px black;font-size:10pt;font-weight:bold;}//crlf////crlf////tab////tab//@media only screen and (min-width:1024px) {//crlf////tab////tab////tab//div.paste_invoice_dialog_title_container {height:20px;padding:0px 0px 0px 5px};//crlf////tab////tab////tab//div.confirm_invoice_export_title_container {height:20px;padding:0px 0px 0px 5px};//crlf////tab////tab//};//crlf////tab//</style>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Dialog used to paste an invoice//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__PasteInvoiceDialog\\quot\\ class=\\quot\\paste_invoice_dialog\\quot\\>//crlf////tab////tab//<div class=\\quot\\paste_invoice_dialog_title_container\\quot\\>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Cancel Icon//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:right\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\clear\\quot\\ style=\\quot\\position:relative;top:-3px\\quot\\ onclick=\\quot\\setVisible('__salt__PasteInvoiceDialog'\\comma\\false)\\quot\\></span>//crlf////tab////tab////tab//</div>//crlf////tab////crlf////tab////tab////tab//<div style=\\quot\\float:left\\quot\\>//crlf////tab////tab////tab////tab//Import Invoice From Clipboard//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Div containing the text area//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div style=\\quot\\border:solid 1px black;padding:5px;margin:0px;width:100\\percent\\;height:auto;background-color:white\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ style=\\quot\\float:right\\quot\\ value=\\quot\\Import Invoice\\quot\\ onClick=\\quot\\importPastedInvoice('__salt__')\\quot\\>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Textarea.  Note that the closing textarea tag must be on the same line as //crlf////tab////tab////tab//the opening tag or the placeholder will not be displayed.//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<textarea ID=\\quot\\__salt__PastedContent\\quot\\ style=\\quot\\width:100\\percent\\;height:300px\\quot\\ placeholder=\\quot\\Paste the contents of the invoice here\\quot\\></textarea>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Dialog used to confirm invoice export//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__confirm_invoice_export\\quot\\ class=\\quot\\confirm_invoice_export\\quot\\>//crlf////tab////tab//<div class=\\quot\\confirm_invoice_export_title_container\\quot\\>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Cancel Icon//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:right\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\clear\\quot\\ style=\\quot\\position:relative;top:-3px\\quot\\ onclick=\\quot\\setVisible('__salt__confirm_invoice_export'\\comma\\false)\\quot\\></span>//crlf////tab////tab////tab//</div>//crlf////tab////crlf////tab////tab////tab//<div style=\\quot\\float:left\\quot\\>//crlf////tab////tab////tab////tab//Export Invoices//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div style=\\quot\\border:solid 1px black;background-color:white;padding:5px 5px 5px 5px;\\quot\\>//crlf////tab////tab////tab//<div style=\\quot\\clear:both\\quot\\>//crlf////tab////tab////tab////tab//Invoices will be exported if:<br><br>//crlf////tab////tab////tab////tab//<hr>//crlf////tab////tab////tab////tab//<ul>//crlf////tab////tab////tab////tab////tab//<li>\\quot\\Export to A/P\\quot\\ is enabled for the vendor</li>//crlf////tab////tab////tab////tab////tab//<li>The invoice is not marked as paid</li>//crlf////tab////tab////tab////tab////tab//<li>The invoice has not already been exported</li>//crlf////tab////tab////tab////tab//</ul>//crlf////tab////tab////tab////tab//<hr>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//<div style=\\quot\\text-align:right\\quot\\>//crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Continue\\quot\\ onClick=\\quot\\setVisible('__salt__confirm_invoice_export'\\comma\\false);exportInvoicesSub('invoice__salt__')\\quot\\>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//These values are used when importing an invoice//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__StoreID\\quot\\ value=\\quot\\__StoreID__\\quot\\>//crlf////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__StoreDirectory\\quot\\ value=\\quot\\{@getStoreDir(\\quot\\__StoreID__\\quot\\)}\\quot\\>//crlf////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__HomeDir\\quot\\ value=\\quot\\{@replaceSubstring(addDirSlash(getToken(\\quot\\homedir\\quot\\))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)}\\quot\\>//crlf////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\invoice__salt__imported_invoice_recordid\\quot\\ value=\\quot\\\\quot\\>//crlf////crlf////tab//<conditional expression:(not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab//<form name=\\quot\\__salt__form\\quot\\>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Filter: Start Date//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab//InputType:\\quot\\date\\quot\\;//crlf////tab////tab////tab////tab//ID:\\quot\\__Salt__StartDate\\quot\\;//crlf////tab////tab////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab////tab////tab//Expression:\\quot\\gte(date(Date\\comma\\true)\\comma\\dateNumber('$value$')\\comma\\'n')\\quot\\;//crlf////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\placeholder='mm-dd-yyyy' name='__salt__StartDt'\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab////tab////amp//nbsp;-//amp//nbsp;//tab////tab////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Filter: End Date//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab//InputType:\\quot\\date\\quot\\;//crlf////tab////tab////tab////tab//ID:\\quot\\__Salt__EndDate\\quot\\;//crlf////tab////tab////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab////tab////tab//Expression:\\quot\\lte(date(Date\\comma\\true)\\comma\\dateNumber('$value$')\\comma\\'n')\\quot\\;//crlf////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\placeholder='mm-dd-yyyy' name='__salt__EndDt'\\quot\\;//crlf////tab////tab////tab//>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Filter: Vendor//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab//InputType:\\quot\\Select\\quot\\;//crlf////tab////tab////tab////tab//ID:\\quot\\__Salt__SelVendor\\quot\\;//crlf////tab////tab////tab////tab//Condition:\\quot\\not('$value$'='select')\\quot\\;//crlf////tab////tab////tab////tab//Expression:\\quot\\VendorID='$value$'\\quot\\;//crlf////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\style=\\quot\\width:200px\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Vendor_Names_By_ID_With_Select\\quot\\;//crlf////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Filter: Invoice export status//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab//InputType:\\quot\\Select\\quot\\;//crlf////tab////tab////tab////tab//ID:\\quot\\__Salt__ExportStatus\\quot\\;//crlf////tab////tab////tab////tab//Condition:\\quot\\not('$value$'='0')\\quot\\;//crlf////tab////tab////tab////tab//Expression:\\quot\\Is_Exported=$value$\\quot\\;//crlf////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\class='medium'\\quot\\;//crlf////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Invoice_Export_Status_for_Filter\\quot\\;//crlf////tab////tab////tab////tab//Selected:\\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Filter: Imported invoices only//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<span style=\\quot\\white-space:nowrap\\quot\\>//crlf////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab//InputType:\\quot\\checkbox\\quot\\;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__salt__FilterImportedOnly\\quot\\;//crlf////tab////tab////tab////tab////tab//Condition:\\quot\\boolean('$value$')\\quot\\;//crlf////tab////tab////tab////tab////tab//Expression:\\quot\\Is_Imported\\quot\\;//crlf////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//> //crlf////tab////tab////tab////tab//Imported invoices only//crlf////tab////tab////tab//</span>//crlf////tab////tab//</form>//crlf////tab//</conditional>//crlf////crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\false)>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//ID: \\quot\\invoice__salt__\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_INVOICE\\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\\gfs(getStoreDir('__StoreID__')+'invoice.bin')+gfs(getStoreDir('__StoreID__')+'vendor.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=Aspect_Back_Office_Invoice\\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//basefilter: \\quot\\//crlf////tab////tab////tab//(true) //crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__InvoiceID__\\quot\\)>//crlf////tab////tab////tab////tab//and (ID=\\quot\\__InvoiceID__\\quot\\)//crlf////tab////tab////tab//</conditional>//crlf////tab////tab//\\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//<conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//style: \\quot\\display:none\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:(not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//</conditional>//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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~177416~~pipe~~Aspect_Back_Office_Invoice~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogOnly: \\quot\\__DialogOnly__\\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__StartDate\\comma\\__Salt__EndDate\\comma\\__Salt__ExportStatus\\comma\\__Salt__SelVendor\\comma\\__salt__FilterImportedOnly\\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//Menu: \\quot\\Import Invoice From File~~pipe~~importInvoice\\comma\\Import Invoice From Clipboard~~pipe~~pasteInvoice\\comma\\separator\\comma\\Export Invoices~~pipe~~exportInvoices\\quot\\;//crlf////tab////tab//faq: \\quot\\yvChqvhP\\quot\\;//crlf////tab////tab//procedure: \\quot\\KEaTBFoE\\comma\\8Zszsg0E\\quot\\;//crlf////tab////tab//video: \\quot\\pv8gz3Ji\\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\\\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//<div style=\\quot\\width:100\\percent\\;min-width:100px;height:600px\\quot\\></div>//crlf//</conditional>//crlf////crlf//__servertimerresults__^
ID=10476|X=151|Y=33|W=1107|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=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_INVOICE_DETAIL\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\11202016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Invoice_Detail//crlf//=============================================================================================//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Debugging//crlf//< include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\KZX2VBNGExCTHrLmixKxY8eJ\\quot\\)>//crlf//< include type:expression; expression:htmlConstant(\\quot\\Date\\quot\\\\comma\\\\quot\\__Date__\\quot\\\\comma\\\\quot\\07-10-2016\\quot\\)>//crlf//--------------------------------------------------------------------------]//crlf////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////crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\AddlParams\\quot\\\\comma\\\\quot\\__AddlParams__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\ExternalFilters\\quot\\\\comma\\\\quot\\__ExternalFilters__\\quot\\\\comma\\\\quot\\\\quot\\)>//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//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_INVOICE_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(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__'))+'invoicedetail.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\__AddlParams__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~Metadata=Aspect_Back_Office_Invoice_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//InspectMenu: \\quot\\ulcZ3KBm\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~778581~~pipe~~Aspect_Back_Office_Invoice_Detail~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\__ExternalParams__\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\__ExternalFilters__\\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//RefreshInterval: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////tab////crlf//^
ID=426565|X=151|Y=33|W=890|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=393441|AttachLeft=|AlignLeft=393441|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//__ExternalParams__//crlf////tab//__ExternalFilters__//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(Aspect_Back_Office_Menu_Item_Detail\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@gfs(getStoreID(\\quot\\__StoreID__\\quot\\)+\\quot\\menuitemdetail.bin\\quot\\)}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\04282020\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Menu_Item_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\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\AddlParams\\quot\\\\comma\\\\quot\\__AddlParams__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\ExternalFilters\\quot\\\\comma\\\\quot\\__ExternalFilters__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\ExternalParams\\quot\\\\comma\\\\quot\\__ExternalParams__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\true)>//crlf////crlf////tab//<script ID=\\quot\\JS426565\\quot\\>//crlf////tab////tab//function deleteDuplicateMenuitemDetails(_tableid\\comma\\s) {//crlf////crlf////tab////tab////tab////created the brief\\comma\\ so refresh the table and play it//crlf////tab////tab////tab////The action returns the ID of the brief//crlf////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab//refreshTable(_tableid\\comma\\\\quot\\refresh\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//showDialog(\\quot\\icon=true//amp//msg=Getting brief...\\quot\\);//crlf////crlf////tab////tab////tab////set params//crlf////tab////tab////tab//sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//Widget=Inventory Merge//amp//ContainerItemID=action_list//amp//action=deleteDuplicateMenuItemDetails//amp//ActionExec=true\\quot\\;//crlf////crlf////tab////tab////tab////add param for StoreID//crlf////tab////tab////tab//var eTable=document.getElementById(_tableid);//crlf////tab////tab////tab//var sParams=eTable.getAttribute(\\quot\\aspectParams\\quot\\);//crlf////tab////tab////tab//var sStoreID=getElementValue(sParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//StoreID=\\quot\\+sStoreID;//crlf////crlf////tab////tab////tab////add HashID//crlf////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////crlf////tab////tab////tab//console.log(\\quot\\sUrl=\\quot\\+sUrl);//crlf////crlf////tab////tab////tab//sFunc=\\quot\\deleteDuplicateMenuitemDetails(\\\quot\\\\quot\\+_tableid+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab//console.log(\\quot\\sUrl=\\quot\\+sUrl);//crlf////tab////tab////tab//console.log(\\quot\\sFunc=\\quot\\+sFunc);//crlf////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc)//crlf////tab////tab//};//crlf////tab//</script>//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'\\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//<conditional expression:(not(\\quot\\__AllRecords__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab//driver: \\quot\\Aspect_Back_Office_Menu_Item_Detail\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:(\\quot\\__AllRecords__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//driver: \\quot\\Aspect_BackOffice_Menu_Item_Detail_All_Records\\quot\\;//crlf////tab////tab//</conditional>//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__'))+'menuitemdetail.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\__AddlParams__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=Aspect_Back_Office_Menu_Item_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\\250\\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\\ItemID\\comma\\Inventory_Item_Name\\comma\\ItemID_Of_Ingredient\\comma\\Quantity\\comma\\Size_Prefix\\comma\\Size_Unit\\comma\\Notes\\comma\\Ingredient_Record_Type\\comma\\Ingredient_Record_Type_Description\\comma\\Cost\\comma\\Gross_Yield_to_Serving_Size_Factor\\comma\\Serving_Size_Price\\comma\\Serving_Size_Prep_Cost\\comma\\Serving_Size_Cost\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~53136~~pipe~~Aspect_Back_Office_Menu_Item_Detail~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\__ExternalParams__\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\__salt__ContainsText\\comma\\__ExternalFilters__\\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//Menu: \\quot\\Delete duplicate records~~pipe~~deleteDuplicateMenuitemDetails\\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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=441164|X=151|Y=33|W=869|H=730|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_DAILY_INVENTORY_SUMMARY\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\05122016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//1.01//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Daily_Inventory_Summary//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Date__\\quot\\)) and (defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter to inventory group//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterToGroup\\quot\\;//crlf////tab////tab//Condition:\\quot\\not('$value$'='_select_')\\quot\\;//crlf////tab////tab//Expression:\\quot\\Inventory_Item_Group_ID='$value$'\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Item_Group_and_Parent_By_ID_W_Select\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Contains text//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__ContainsText\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\Placeholder='Contains text'\\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//<!-- Filter: Active Items Only -->//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\Checkbox\\quot\\;//crlf////tab////tab//ID:\\quot\\FilterActiveItmsOnly__Salt__\\quot\\;//crlf////tab////tab//Condition:\\quot\\'$value$'=true\\quot\\;//crlf////tab////tab//Expression:\\quot\\Is_Active_Item\\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//> Active items only//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_DAILY_INVENTORY_SUMMARY\\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=Inventory_Item_ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_DAILY_INVENTORY_SUMMARY~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~UpdatePerpetual=true\\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\\500\\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\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~111904~~pipe~~ASPECT_BACK_OFFICE_DAILY_INVENTORY_SUMMARY~~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__FilterToGroup\\comma\\__salt__ContainsText\\comma\\FilterActiveItmsOnly__Salt__\\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\\\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\\\quot\\;//crlf////tab//>//crlf////crlf//</conditional>//crlf//^
ID=145156|X=151|Y=33|W=890|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=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=393441|AttachLeft=|AlignLeft=393441|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//__DtFrom__//crlf////tab//__DtTo__//crlf////tab//{if(fileExists(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache/WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Drivers.html\\quot\\)\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Physical_Count//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(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 physical count\\quot\\)//crlf////tab////tab//dt=incrementTime(parseTime(\\quot\\__DtFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\-1)//crlf////tab////tab//DateSet=formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\\\comma\\__DtTo__\\quot\\//crlf////crlf////tab////tab////open a set of system drivers//crlf////tab////tab//arSet=getSetDriver(Aspect_Back_Office_Physical_Count\\comma\\DateSet\\comma\\WRITE\\comma\\\\quot\\Store=__StoreID__~~pipe~~Date=$e$~~pipe~~Description=$e$\\quot\\)//crlf////crlf////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID~~pipe~~Area_ID~~pipe~~Inventory_Item_Name~~pipe~~Inventory_Item_Group_ID~~pipe~~Inventory_Item_Group~~pipe~~Section_Header_By_Inventory_Group\\quot\\//crlf////tab////tab//arFields=\\quot\\Physical_Count~~pipe~~Size_Prefix~~pipe~~Size_Unit_Description~~pipe~~Size~~pipe~~Count\\quot\\//crlf////crlf////tab////tab//sysdrv=getSetConsolidate(\\quot\\horizontal\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\arFields\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\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>^
ID=117990|X=151|Y=33|W=890|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=393441|AttachLeft=|AlignLeft=393441|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//__DtFrom__//crlf////tab//__DtTo__//crlf////tab//{if(fileExists(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache/WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Drivers.html\\quot\\)\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Physical_Count_Summary//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(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 physical count summary\\quot\\)//crlf////tab////tab//dt=incrementTime(parseTime(\\quot\\__DtFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\-1)//crlf////tab////tab//DateSet=formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\\\comma\\__DtTo__\\quot\\//crlf////crlf////tab////tab////open a set of system drivers//crlf////tab////tab//arSet=getSetDriver(Aspect_Back_Office_Physical_Count_Summary\\comma\\DateSet\\comma\\WRITE\\comma\\\\quot\\Store=__StoreID__~~pipe~~Date=$e$~~pipe~~Description=$e$\\quot\\)//crlf////crlf////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID~~pipe~~Area_ID~~pipe~~Inventory_Item_Name~~pipe~~Inventory_Item_Group_ID~~pipe~~Inventory_Item_Group~~pipe~~Section_Header_By_Inventory_Group\\quot\\//crlf////tab////tab//arFields=\\quot\\Physical_Count~~pipe~~Size_Prefix~~pipe~~Size_Unit_Description~~pipe~~Size~~pipe~~Count\\quot\\//crlf////crlf////tab////tab//sysdrv=getSetConsolidate(\\quot\\horizontal\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\arFields\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\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>^
ID=493460|X=151|Y=33|W=765|H=621|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=393441|AttachLeft=|AlignLeft=393441|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 for debugging.  It provides a table of ALL items in the //crlf//physical count list.//crlf//--------------------------------------------------------------------------]//crlf////crlf//<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_PHYSICAL_COUNT_LIST\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\01312018\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Physical_Count_List//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////crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\false)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Display\\quot\\\\comma\\\\quot\\__Display__\\quot\\\\comma\\\\quot\\Items by Group / List Position\\quot\\)>//crlf////crlf////tab//<conditional expression:false>//crlf////tab//==========================================================================//crlf////tab//Filter to count group//crlf////tab//==========================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\Select\\quot\\;//crlf////tab////tab//ID:\\quot\\SelectCountGroup__Salt__\\quot\\;//crlf////tab////tab//Condition:\\quot\\not('$value$'='000')\\quot\\;//crlf////tab////tab//Expression:\\quot\\GroupID='$value$'\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Count_Group_Name_By_ID_With_Select\\quot\\;//crlf////tab////tab//Selected:\\quot\\000\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter to items with name or ID containing a text string//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<span style=\\quot\\white-space:nowrap\\quot\\>//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\FilterNameContains__salt__\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\(pos('$value$'\\comma\\Item_Name)>=0) or (pos('$value$'\\comma\\ItemID)>=0)\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\Placeholder='Name contains...'\\quot\\;//crlf////tab////tab////tab//CollectionID:\\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//</span>//crlf////crlf////tab//<conditional expression:false>//crlf////tab//==========================================================================//crlf////tab//Filter to an inventory item group.  Disabled.  Not useful.//crlf////tab//==========================================================================//crlf////tab//</conditional>//crlf////tab//<conditional expression:false>//crlf////tab////tab//Inventory Group <!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\SelectFinalGroup__salt__\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not('$value$'='$select')\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\Final_Group_ID_For_Filter='$value$'\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inv_Item_Final_Group_Name_with_Select\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\$select\\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////tab//</conditional>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_Back_Office_Physical_Count_List_All_Records\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\getFilespecState(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__'))+'countlist.bin'\\comma\\false\\comma\\false\\comma\\0\\comma\\''\\comma\\true\\comma\\true)\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=ASPECT_BACK_OFFICE_PHYSICAL_COUNT_LIST~~pipe~~ShowAllItems=__ShowAllItems__\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\__Display__\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//IncludeFields: \\quot\\ID\\comma\\Move\\comma\\ItemID\\comma\\Item_Name\\comma\\Default_Size\\comma\\Active_Size\\comma\\Remove_Menu_Item_From_Count_List\\comma\\//crlf////tab////tab////tab//Override_Count_Size\\comma\\List_Position\\comma\\Section_Header_By_Count_Group_Name\\comma\\Record_Type\\comma\\//crlf////tab////tab////tab//Override_Size_Prefix\\comma\\Override_Size_Unit\\comma\\Group_Name\\comma\\GroupID\\comma\\Group_ID_For_Table\\comma\\Item_ID_For_Table\\comma\\//crlf////tab////tab////tab//ItemID_Is_Valid\\comma\\Calc_Store_ID\\comma\\Lookup_To_Confirm_ItemID\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//<conditional expression:false>//crlf////tab////tab////tab//Note: BaseFilter is defined in the driver itself//crlf////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\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\\Default_Size\\comma\\Override_Count_Size\\comma\\Override_Size_Prefix\\comma\\ItemID\\comma\\Item_Name\\comma\\//crlf////tab////tab////tab//GroupID\\comma\\Override_Size_Unit\\comma\\ID\\comma\\Default_Size\\comma\\Active_Size\\comma\\Group_Name\\comma\\GroupID\\comma\\//crlf////tab////tab////tab//Section_Header_By_Count_Group_Name\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~116968~~pipe~~ASPECT_BACK_OFFICE_PHYSICAL_COUNT_LIST~~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\\SelectCountGroup__Salt__\\comma\\FilterNameContains__salt__\\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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=454688|X=151|Y=33|W=763|H=650|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=393441|AttachLeft=|AlignLeft=393441|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 display a table of legitimate usages for a given menu item and//crlf//quantity sold.  //crlf////crlf//A script opens a system driver and then calls invutil.calcLegitimateUsage().  The//crlf//system driver is then used to create a table of legitimate usages which is returned.//crlf////crlf//Params://crlf////tab//StoreID - Store ID//crlf////tab//ItemID - ID of inventory item (recipe)//crlf////tab//Qty - Quantity sold//crlf////tab//Prefix - Size prefix of quantity sold//crlf////tab//SizeID - Size unit of quantity sold//crlf////tab//Display - Name of default display//crlf//--------------------------------------------------------------------------]//crlf//<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(Aspect_Back_Office_Legitimate_Usage_Temp_File\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\06022016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:false>//crlf////tab//{htmlTable(\\quot\\__PageArgs__\\quot\\\\comma\\\\quot\\~\\quot\\\\comma\\\\quot\\=\\quot\\)}//crlf////tab//<br><br>//crlf//</conditional>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\Salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\uppercase(getSalt(4)))>//crlf////crlf//<conditional expression:undefined(\\quot\\__ItemID__\\quot\\)>//crlf////tab//Missing ItemID//crlf//</conditional>//crlf////crlf//<conditional expression:defined(\\quot\\__ItemID__\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sFilename=getToken(\\quot\\temporary_files\\quot\\)+\\quot\\calc_legit___ItemID__.$$$\\quot\\//crlf////tab////tab//fileDelete(sFilename)//crlf////tab////tab//driverOpen(Aspect_Back_Office_Legitimate_Usage_Temp_File\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\+sFilename+\\quot\\~~pipe~~Store=__StoreID__\\quot\\)//crlf////tab////tab//calcLegitimateUsage(\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\__Qty__\\comma\\__Prefix__\\comma\\\\quot\\__SizeID__\\quot\\\\comma\\d)//crlf////tab////tab//scriptSetResult(htmlConstant(\\quot\\Filename\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sFilename))//crlf////tab//\\quot\\>//crlf////crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Display\\quot\\\\comma\\\\quot\\__Display__\\quot\\\\comma\\\\quot\\Ingredients by Batch Recipe / Ingredient Name\\quot\\)>//crlf////crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_Back_Office_Legitimate_Usage_Temp_File\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Legit_Usage_Table~~pipe~~StoreID=__StoreID__~~pipe~~Filename=__Filename__\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\__Display__\\quot\\;//crlf////tab////tab//InspectMenu: \\quot\\DreTbbyB\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//<conditional expression:false>//crlf////tab////tab////tab//Note: The Quantity\\comma\\Standard_Quantity fields are excluded so that subtotals are not //crlf////tab////tab////tab//displayed in the table.  The Quantity_No_Subtotal and Standard_Quantity_No_Subtotal//crlf////tab////tab////tab//fields are used instead.//tab////tab////crlf////tab////tab//</conditional>//crlf////tab////tab//ExcludeFields: \\quot\\Quantity\\comma\\Standard_Quantity\\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\\ASPECT_BACK_OFFICE_LEGITIMATE_USAGEDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=610700|X=151|Y=33|W=814|H=673|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACKOFFICE_PHYSICAL_COUNT_BATCH_DETAIL\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\02092017\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Physical_Count//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing Store ID//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__Date__\\quot\\)))>//crlf////tab//Error: Missing date//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\))>//crlf////tab//<h2>Physical Count Batch Detail __Date__t</h2>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACKOFFICE_PHYSICAL_COUNT_BATCH_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(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__'))+'physical_count_batch_detail.__Date__.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACKOFFICE_PHYSICAL_COUNT_BATCH_DETAIL~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//_ExcludeFields: \\quot\\ID\\comma\\Used\\comma\\Top_Item_ID\\comma\\Batch_Item_ID\\comma\\Batch_Item_Name\\comma\\Inventory_Item_ID\\comma\\Top_Item_Original_Size_Prefix\\comma\\Top_Item_Original_Size_Unit\\comma\\Top_Item_Size_Prefix\\comma\\Top_Item_Size_Unit\\comma\\Top_Item_Qty\\comma\\Top_Item_Size\\comma\\Calc_Store_ID\\comma\\Size_Prefix\\comma\\Size_Unit\\comma\\Standard_Size_Prefix\\comma\\Standard_Size_Unit\\comma\\Inventory_Item_Group_ID\\comma\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\\\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\\\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\\\quot\\;//crlf////tab//>//crlf////crlf//</conditional>//crlf////crlf//^
ID=734354|X=151|Y=33|W=716|H=582|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(Aspect_Back_Office_Waste_Count_List\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~ShowAllItems=__ShowAllItems__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\04012016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Waste_Count_List//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//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\false)>//crlf////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\\Double quotes can be used in htmlparams.  E.g. onBlur=\\quot\\alert('test')\\quot\\\\quot\\;//crlf////tab////tab//InputType:\\quot\\Select\\quot\\;//crlf////tab////tab//ID:\\quot\\SelectCountGroup__Salt__\\quot\\;//crlf////tab////tab//Condition:\\quot\\not('$value$'='000')\\quot\\;//crlf////tab////tab//Expression:\\quot\\GroupID='$value'\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Count_Group_Name_By_ID_With_Select\\quot\\;//crlf////tab////tab//Selected:\\quot\\000\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_Back_Office_Waste_Count_List\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_Back_Office_Waste_Count_List~~pipe~~StoreID=__StoreID__~~pipe~~ShowAllItems=__ShowAllItems__\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\__Display__\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//IncludeFields: \\quot\\Move\\comma\\ItemID\\comma\\Item_Name\\comma\\Default_Size\\comma\\Active_Size\\comma\\//crlf////tab////tab////tab//Override_Count_Size\\comma\\List_Position\\comma\\Section_Header_By_Count_Group_Name\\comma\\//crlf////tab////tab////tab//Override_Size_Prefix\\comma\\Override_Size_Unit\\comma\\Group_Name\\comma\\GroupID\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//<conditional expression:false>//crlf////tab////tab////tab//Note: BaseFilter is defined in the driver itself//crlf////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\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\\Default_Size\\comma\\Override_Count_Size\\comma\\Override_Size_Prefix\\comma\\ItemID\\comma\\Item_Name\\comma\\//crlf////tab////tab////tab//GroupID\\comma\\Override_Size_Unit\\comma\\ID\\comma\\Default_Size\\comma\\Active_Size\\comma\\Group_Name\\comma\\GroupID\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~786737~~pipe~~ASPECT_BACK_OFFICE_WASTE_COUNT_LIST~~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\\SelectCountGroup__Salt__\\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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=599267|X=151|Y=33|W=719|H=590|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(Aspect_Back_Office_Waste_Count\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\04012016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Waste_Count//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing Store ID//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__Date__\\quot\\)))>//crlf////tab//Error: Missing date//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\))>//crlf////crlf////tab//<!conditional expression:false>//crlf////tab//========================================================================//crlf////tab//Filter to Inventory Group//crlf////tab//========================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\SelectFinalGroup__salt__\\quot\\;//crlf////tab////tab//Condition:\\quot\\not('$value$'='$select')\\quot\\;//crlf////tab////tab//Expression:\\quot\\Final_Group_ID_For_Filter='$value$'\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inv_Item_Final_Group_Name_with_Select\\quot\\;//crlf////tab////tab//Selected:\\quot\\$select\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//<conditional expression:false>//crlf////tab//========================================================================//crlf////tab//Filter to count group//crlf////tab//========================================================================//crlf////tab//</conditional>//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\\Double quotes can be used in htmlparams.  E.g. onBlur=\\quot\\alert('test')\\quot\\\\quot\\;//crlf////tab////tab//InputType:\\quot\\Select\\quot\\;//crlf////tab////tab//ID:\\quot\\SelectCountGroup__Salt__\\quot\\;//crlf////tab////tab//Condition:\\quot\\not('$value$'='all')\\quot\\;//crlf////tab////tab//Expression:\\quot\\GroupID='$value$'\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Count_Group_Name_By_ID_With_All_Items\\quot\\;//crlf////tab////tab//Selected:\\quot\\//power//All//power//\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\false)>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_Back_Office_Waste_Count\\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__'))+'waste_count.__Date__.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_Back_Office_Waste_Count~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__\\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\\500\\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\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~90182~~pipe~~ASPECT_BACK_OFFICE_PHYSICAL_COUNT~~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\\SelectFinalGroup__salt__\\comma\\SelectCountGroup__Salt__\\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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf////crlf//</conditional>//crlf////crlf//^
ID=222939|X=151|Y=33|W=737|H=580|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(Aspect_BackOffice_Waste_Count_Batch_Detail\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_BackOffice_Waste_Count_Batch_Detail//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing Store ID//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__Date__\\quot\\)))>//crlf////tab//Error: Missing date//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\))>//crlf////tab//<h2>Physical Count Batch Detail __Date__t</h2>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_BackOffice_Waste_Count_Batch_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(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__'))+'waste_count_batch_detail.__Date__.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_BackOffice_Waste_Count_Batch_Detail~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__\\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\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\\\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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf////crlf//</conditional>//crlf////crlf//^
ID=92301|X=151|Y=33|W=852|H=683|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_LEGITIMATE_USAGE\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\08262020\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Legitimate_Usage//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing Store ID//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__Date__\\quot\\)))>//crlf////tab//Error: Missing date//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\))>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Contains text//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__ContainsText\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder='Contains text'\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_LEGITIMATE_USAGE\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_LEGITIMATE_USAGE~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__\\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\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT_BACK_OFFICE_LEGITIMATE_USAGEDialog\\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//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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=284436|X=151|Y=33|W=749|H=631|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//This is a dependent driver updated by the updateInvoiceDetailSummary agent //crlf//action in the Invoice Detail Summary widget.  It is just a concatenation of //crlf//daily invoice details for a given period.//crlf////crlf//This driver is used when adding purchases to the inventory extensions.  //crlf//--------------------------------------------------------------------------]//crlf//<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_INVOICE_DETAIL_SUMMARY\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@gfs(getStoreDir(\\quot\\__StoreID__\\quot\\)+\\quot\\invoicedetail_summary.__DateFrom__-__DateTo__.bin\\quot\\)}//crlf////tab//{@if(fileSize(getStoreDir(\\quot\\__StoreID__\\quot\\)+\\quot\\invoicedetail_summary.__DateFrom__-__DateTo__.bin\\quot\\)=0\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\09082016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Aspect_Back_Office_Invoice_Detail_Summary//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////crlf////tab//<script ID=\\quot\\JSInvoiceDetailSummary\\quot\\>//crlf////tab////tab//function invoiceDetailGroupSelected(salt) {//crlf////tab////tab////tab//var eSelectGroup=document.getElementById(salt+\\quot\\FilterToGroup\\quot\\);//crlf////tab////tab////tab//var eSelectItem=document.getElementById(salt+\\quot\\FilterToItem\\quot\\);//crlf////tab////tab////tab//eSelectItem.disabled=true;//crlf////tab////tab////tab//var sFilter=\\quot\\\\quot\\;//crlf////tab////tab////tab//if(eSelectGroup.value!=\\quot\\0\\quot\\) {//crlf////tab////tab////tab////tab//sFilter=\\quot\\startsWith('Inventory_Item_Full_Group_Name'\\comma\\'\\quot\\+eSelectGroup.value+\\quot\\')\\quot\\;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//eSelectItem.setAttribute(\\quot\\filter\\quot\\\\comma\\sFilter);//crlf////tab////tab////tab//updateOptions(salt+\\quot\\FilterToItem\\quot\\\\comma\\\\quot\\000\\quot\\\\comma\\true);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter to Vendor//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterToVendor\\quot\\;//crlf////tab////tab//Condition:\\quot\\(gt(len('$value$')\\comma\\0\\comma\\n)) and (not('$value$'='select'))\\quot\\;//crlf////tab////tab//Expression:\\quot\\VendorID='$value$'\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder='Select vendor'\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Vendor_Names_By_ID_With_Select\\quot\\;//crlf////tab////tab//Datalist:\\quot\\true\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter to inventory group//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterToGroup\\quot\\;//crlf////tab////tab//Condition:\\quot\\(gt(len('$value$')\\comma\\0\\comma\\n)) and (not('$value$'='0'))\\quot\\;//crlf////tab////tab//Expression:\\quot\\gte(pos('$value$'\\comma\\Inventory_Item_Full_Group_Name)\\comma\\0\\comma\\'n')\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder='Select group' onChange=\\quot\\invoiceDetailGroupSelected('__salt__')\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Full_Group_Name_By_Full_Group_Name\\quot\\;//crlf////tab////tab//Datalist:\\quot\\true\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter to Item//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterToItem\\quot\\;//crlf////tab////tab//Condition:\\quot\\(gt(len('$value$')\\comma\\0\\comma\\n)) and (not('$value$'='000'))\\quot\\;//crlf////tab////tab//Expression:\\quot\\ItemID='$value$'\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder='Select item'\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Items_by_ID_with_Select\\quot\\;//crlf////tab////tab//Datalist:\\quot\\true\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Contains text//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__ContainsText\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder='Contains text'\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_INVOICE_DETAIL_SUMMARY\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_INVOICE_DETAIL_SUMMARY~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\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\\250\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT_BACK_OFFICE_INVOICE_DETAIL_SUMMARYDialog\\quot\\;//crlf////tab////tab//InspectMenu: \\quot\\C1sHE1EQ\\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\\comma\\__salt__FilterToGroup\\comma\\__salt__FilterToVendor\\comma\\__salt__FilterToItem\\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\\\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf////crlf//</conditional>//crlf//^
ID=596515|X=151|Y=33|W=674|H=609|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//05-10-2016: This appears to be an old driver that is no longer used.//crlf//--------------------------------------------------------------------------]//crlf//<state>//crlf////tab//__ItemID__//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_INVOICE_DETAIL_SUMMARY\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Invoice_Detail_Summary//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__DateFrom__\\quot\\)) and (defined(\\quot\\__DateTo__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_INVOICE_DETAIL_SUMMARY\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_INVOICE_DETAIL_SUMMARY_Inspect~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~ItemID=__ItemID__\\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\\500\\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\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~778581~~pipe~~Aspect_Back_Office_Invoice_Detail~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf////crlf//</conditional>//crlf//^
ID=515979|X=151|Y=33|W=876|H=725|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACKOFFICE_PERIOD_INVENTORY_SUMMARY\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\03062020\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_BackOffice_Period_Inventory_Summary//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//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////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter to inventory group//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterToGroup\\quot\\;//crlf////tab////tab//Condition:\\quot\\not('$value$'='_select_')\\quot\\;//crlf////tab////tab//Expression:\\quot\\Inventory_Item_Group_ID='$value$'\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Item_Group_and_Parent_By_ID_W_Select\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//<!-- Filter: Item ID -->//crlf////tab//Item ID <!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\Text\\quot\\;//crlf////tab////tab//ID:\\quot\\SelectID__salt__\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\Inventory_Item_ID='$value$'\\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//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Contains text//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__ContainsText\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder='Contains text'\\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//<!-- Filter: Active Items Only -->//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\Checkbox\\quot\\;//crlf////tab////tab//ID:\\quot\\FilterActiveItmsOnly__Salt__\\quot\\;//crlf////tab////tab//Condition:\\quot\\'$value$'=true\\quot\\;//crlf////tab////tab//Expression:\\quot\\Is_Active_Item\\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//> Active items only//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACKOFFICE_PERIOD_INVENTORY_SUMMARY\\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=Inventory_Item_ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACKOFFICE_PERIOD_INVENTORY_SUMMARY~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\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\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT_BACKOFFICE_PERIOD_INVENTORY_SUMMARYDialog\\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\\comma\\__salt__FilterToGroup\\comma\\SelectID__salt__\\comma\\FilterActiveItmsOnly__Salt__\\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\\\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf//^
ID=108500|X=151|Y=33|W=898|H=709|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACKOFFICE_PERIOD_INVENTORY_SUMMARY\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\05122016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_BackOffice_Period_Inventory_Summary//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__ItemID__\\quot\\)) and (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>Inventory Summary - Inspect</h1>//crlf////crlf////tab//<form name=\\quot\\filterdates__salt__\\quot\\>//crlf////tab////tab//From <input type=\\quot\\text\\quot\\ control=\\quot\\date\\quot\\ style=\\quot\\width:80px\\quot\\ value=\\quot\\__DateFrom__\\quot\\ ID=\\quot\\__salt__From\\quot\\ name=\\quot\\__salt__From\\quot\\ Param=\\quot\\DateFrom=$value$\\quot\\>//crlf////tab////tab//To <input type=\\quot\\text\\quot\\ control=\\quot\\date\\quot\\ style=\\quot\\width:80px\\quot\\ value=\\quot\\__DateTo__\\quot\\ ID=\\quot\\__salt__To\\quot\\ name=\\quot\\__salt__To\\quot\\ Param=\\quot\\DateTo=$value$\\quot\\>//crlf////tab//</form>//crlf////crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_BackOffice_Period_Inventory_Summary_Inspect\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_BackOffice_Period_Inventory_Summary_Inspect~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~ItemID=__ItemID__\\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\\500\\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\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT_BACKOFFICE_PERIOD_INVENTORY_SUMMARYDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\__salt__From\\comma\\__salt__To\\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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf//^
ID=337711|X=151|Y=33|W=790|H=681|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_PREP_LIST\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\04012016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//   1.00//crlf////tab//debug=true//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Prep_List//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Display\\quot\\\\comma\\\\quot\\__Display__\\quot\\\\comma\\\\quot\\Items by Group / List Position\\quot\\)>//crlf////crlf////tab//<conditional expression:false>//crlf////tab//==========================================================================//crlf////tab//Filter to Prep group//crlf////tab//==========================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\Select\\quot\\;//crlf////tab////tab//ID:\\quot\\SelectPrepGroup__Salt__\\quot\\;//crlf////tab////tab//Condition:\\quot\\not('$value$'='000')\\quot\\;//crlf////tab////tab//Expression:\\quot\\GroupID=\\quot\\$value\\quot\\\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Prep_Group_Name_By_ID_With_Select\\quot\\;//crlf////tab////tab//Selected:\\quot\\000\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_PREP_LIST\\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(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\//pound//StoreID)+'preplist.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_PREP_LIST~~pipe~~StoreID=__StoreID__\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//IncludeFields: \\quot\\Move\\comma\\ItemID\\comma\\Item_Name\\comma\\Default_Size\\comma\\Active_Size\\comma\\//crlf////tab////tab////tab//Override_Count_Size\\comma\\List_Position\\comma\\Section_Header_By_Prep_Group_Name\\comma\\//crlf////tab////tab////tab//Override_Size_Prefix\\comma\\Override_Size_Unit\\comma\\Group_Name\\comma\\GroupID\\quot\\;//crlf////tab////tab//BaseFilter: \\quot\\not(GroupID=getToken('Aspect_BackOffice_All_Items_Count_Group_ID'))\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\Default_Size\\comma\\Override_Count_Size\\comma\\Override_Size_Prefix\\comma\\ItemID\\comma\\Item_Name\\comma\\//crlf////tab////tab////tab//GroupID\\comma\\Override_Size_Unit\\comma\\ID\\comma\\Default_Size\\comma\\Active_Size\\comma\\Group_Name\\comma\\GroupID\\comma\\//crlf////tab////tab////tab//Section_Header_By_Prep_Group_Name\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~686346~~pipe~~ASPECT_BACK_OFFICE_PREP_LIST~~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\\SelectPrepGroup__Salt__\\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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=694859|X=151|Y=33|W=778|H=642|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_PREP_LIST\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf////crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_PREP_LIST\\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(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\//pound//StoreID)+'preplist.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_PREP_LIST~~pipe~~StoreID=__StoreID__~~pipe~~ShowAllItems=true\\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\\ASPECT_BACK_OFFICE_PREP_LISTDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=594454|X=151|Y=33|W=824|H=656|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_PREP_LOG\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Prep_Log//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_PREP_LOG\\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(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__')+'prep_log.__date__.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_PREP_LOG~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~759192~~pipe~~ASPECT_BACK_OFFICE_PREP_LOG~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=154486|X=151|Y=33|W=778|H=650|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_PREP_LOG_BATCH_DETAIL\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Prep_Log_Batch_Detail//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_PREP_LOG_BATCH_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(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__'))+'prep_log_batch_detail.__date__.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_PREP_LOG_BATCH_DETAIL~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__\\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\\ASPECT_BACK_OFFICE_PREP_LOG_BATCH_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//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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=48876|X=151|Y=33|W=763|H=548|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(Aspect_BackOffice_Waste_Count_Batch_Detail_Summary\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_BackOffice_Waste_Count_Batch_Detail//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing Store ID//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__DateFrom__\\quot\\)))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__DateTo__\\quot\\)))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\))>//crlf////tab//<h2>Physical Count Batch Detail Summary __DateFrom__ - __DateTo__</h2>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACKOFFICE_WASTE_COUNT_BATCH_DETAIL_SUMMARY\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACKOFFICE_WASTE_COUNT_BATCH_DETAIL_SUMMARY~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\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\\\\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////crlf//^
ID=726284|X=151|Y=33|W=817|H=696|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_INVOICE_DETAIL\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Invoice_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\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_INVOICE_DETAIL_CONCATENATED\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_INVOICE_DETAIL_CONCATENATED~~pipe~~StoreID=__StoreID__\\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\\ASPECT_BACK_OFFICE_INVOICE_DETAIL_CONCATENATEDDialog\\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////tab////crlf//^
ID=117863|X=151|Y=33|W=800|H=719|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_INVENTORY_EXTENSIONS\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\05312016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Inventory_Extensions//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab//<h1>Inventory Extensions</h1>//crlf////crlf////tab//<!-- Filter: Item ID -->//crlf////tab//Item ID <!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\Text\\quot\\;//crlf////tab////tab//ID:\\quot\\SelectID__salt__\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\Inventory_Item_ID='$value$'\\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//>//crlf////crlf////tab//<!-- Filter: Active Items Only -->//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\Checkbox\\quot\\;//crlf////tab////tab//ID:\\quot\\FilterActiveItmsOnly__Salt__\\quot\\;//crlf////tab////tab//Condition:\\quot\\'$value$'=true\\quot\\;//crlf////tab////tab//Expression:\\quot\\Is_Active_Item\\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//> Active items only//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_Back_Office_Inventory_Extensions_Part1\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_Back_Office_Inventory_Extensions_Part1~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\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\\500\\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\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~959087~~pipe~~ASPECT_BACK_OFFICE_INVENTORY_EXTENSIONS~~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\\SelectID__salt__\\comma\\FilterActiveItmsOnly__Salt__\\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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf//^
ID=609798|X=151|Y=33|W=791|H=721|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//03-12-2017: This item appears to be unused.  The state expression refers//crlf//to inventory extensions and there is an H1 tag referencing Inventory Extensions.//crlf//Need to investigate further to see if it may serve a purpose.//crlf//--------------------------------------------------------------------------]//crlf//<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_INVENTORY_EXTENSIONS\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\05312016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Inventory_Extensions//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab//<h1>Inventory Extensions</h1>//crlf////crlf////tab//<!-- Filter: Item ID -->//crlf////tab//Item ID <!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\Text\\quot\\;//crlf////tab////tab//ID:\\quot\\SelectID__salt__\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\Inventory_Item_ID='$value$'\\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//>//crlf////crlf////tab//<!-- Filter: Active Items Only -->//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\Checkbox\\quot\\;//crlf////tab////tab//ID:\\quot\\FilterActiveItmsOnly__Salt__\\quot\\;//crlf////tab////tab//Condition:\\quot\\'$value$'=true\\quot\\;//crlf////tab////tab//Expression:\\quot\\Is_Active_Item\\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//> Active items only//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_BackOffice_Legit_Usage_Summary_For_Table\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_BackOffice_Legit_Usage_Summary~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\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\\500\\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\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\SelectID__salt__\\comma\\FilterActiveItmsOnly__Salt__\\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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf//^
ID=872686|X=151|Y=33|W=889|H=731|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Inspect legitimate uasge//crlf////crlf//Params://crlf////tab//StoreID - ID of store//crlf////tab//DateFrom - Starting date//crlf////tab//DateTo - Ending date//crlf//--------------------------------------------------------------------------]//crlf//<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACKOFFICE_PERIOD_INVENTORY_SUMMARY\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\06022016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_BackOffice_Period_Inventory_Summary//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//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:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_BackOffice_Period_Inventory_Summary_Inspect\\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=Inventory_Item_ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_BackOffice_Period_Inventory_Summary_Inspect_Legitimate_Usage_Period~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~ItemID=__ItemID__\\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//InspectMenu: \\quot\\nGCKaOs3\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\\\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\\\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf//^
ID=872900|X=151|Y=33|W=889|H=731|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=393441|AttachLeft=|AlignLeft=393441|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//__ItemID__//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(Aspect_Back_Office_Physical_Count\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Physical_Count//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\Aspect_Back_Office_Physical_Count\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_Back_Office_Physical_Count_Inspect~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~ItemID=__ItemID__\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\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\\\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab////tab//>//crlf//</conditional>//crlf//^
ID=872903|X=151|Y=33|W=889|H=731|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=393441|AttachLeft=|AlignLeft=393441|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//__ItemID__//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(Aspect_Back_Office_Waste_Count\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Waste_Count//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\Aspect_Back_Office_Waste_Count\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_Back_Office_Waste_Count_Inspect~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~ItemID=__ItemID__\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\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\\\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab////tab//>//crlf//</conditional>//crlf//^
ID=872904|X=151|Y=33|W=889|H=731|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=393441|AttachLeft=|AlignLeft=393441|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//__ItemID__//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(Aspect_Back_Office_Prep_Log\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//XXX//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\Aspect_Back_Office_Prep_Log\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_Back_Office_Prep_Log_Inspect_Day~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~ItemID=__ItemID__\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\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\\\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab////tab//>//crlf//</conditional>//crlf//^
ID=872905|X=151|Y=33|W=889|H=731|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//This view is used to inspect a price for an item.  It can be used to inspect//crlf//a beginning inventory price\\comma\\ an ending inventory price or a legitimate usage//crlf//price.  They are all handled the same way.//crlf////crlf//The table uses the Aspect_Back_Office_Inspect_Price driver which is a script//crlf//driver.  The script used to open the driver creates a new system driver//crlf//using the Aspect_Back_Office_Inspect_Price structure.  It then calls //crlf//calcPrice()\\comma\\ passing the driver as a parameter.  The calcPrice() method writes//crlf//data to the system driver and the system driver is used to create the table.//crlf//--------------------------------------------------------------------------]//crlf//<state>//crlf////tab//__StoreID__//crlf////tab//__Date__//crlf////tab//__Qty__//crlf////tab//__QtyOnHand__//crlf////tab//__Prefix__//crlf////tab//__Unit__//crlf////tab//__ItemID__//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\02062017\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////crlf////tab//Note: The state would also need to take into account the filespecstate of invoices\\comma\\//crlf////tab//counts\\comma\\ conversions and possible other values//crlf////tab//{@now()}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Quantity on hand defaults to 0 if not defined.  The quantity on hand value//crlf//is used when calculating the price of a legitimate usage quantity.  The //crlf//quantity remaining on hand must be accounted for first\\comma\\ and the i//crlf//--------------------------------------------------------------------------]//crlf//<include type:expression; expression:htmlConstant(\\quot\\NewQtyOnHand\\quot\\\\comma\\\\quot\\__QtyOnHand__\\quot\\\\comma\\0)>//crlf////crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Qty__\\quot\\))>//crlf////tab//Error: Missing Qty//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Prefix__\\quot\\))>//crlf////tab//Error: Missing Prefix//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Unit__\\quot\\))>//crlf////tab//Error: Missing Unit//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\))and (defined(\\quot\\__ItemID__\\quot\\)) and (defined(\\quot\\__Qty__\\quot\\))  and (defined(\\quot\\__Unit__\\quot\\))  and (defined(\\quot\\__Prefix__\\quot\\))>//crlf////tab////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Lookup the item name//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\ItemName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lookup(Aspect_BackOffice_Lookup_Inventory_Item_Name_by_ID\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\))>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Size\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatSize(__Prefix__\\comma\\__Unit__\\comma\\\\quot\\__StoreID__\\quot\\))>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Title//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Inspect price calculation: __ItemName__\\quot\\;>//crlf////tab//<!!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab//<table class=\\quot\\inline\\quot\\>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Quantity To Price: </td>//crlf////tab////tab////tab//<td>__Qty__</td>//crlf////tab////tab//</tr>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Size: </td>//crlf////tab////tab////tab//<td>__Size__</td>//crlf////tab////tab//</tr>//crlf////tab//</table>//crlf////tab//<br>//crlf////crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_Back_Office_Inspect_Price\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\true\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_Back_Office_Inspect_Price~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~ItemID=__ItemID__~~pipe~~Qty=__Qty__~~pipe~~QtyOnHand=0~~pipe~~Prefix=__Prefix__~~pipe~~Unit=__Unit__\\quot\\;//crlf////tab////tab//InspectMenu: \\quot\\Ka6pZrA7\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\Price Calculation\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\\\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//faq: \\quot\\YIoPhuLT\\quot\\;//crlf////tab////tab//procedure: \\quot\\DFXbQ5Rn\\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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\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\\\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=872906|X=151|Y=33|W=889|H=731|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=393441|AttachLeft=|AlignLeft=393441|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//__StoreD__//crlf////tab//__Date__//crlf////tab//__ItemID__//crlf////tab//__Qty__//crlf////tab//__QtyOnHand__//crlf////tab//__Prefix__//crlf////tab//__Unit__//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\02062017\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////crlf////tab//Note: The state would also need to take into account the filespecstate of invoices\\comma\\//crlf////tab//counts\\comma\\ conversions and possible other values//crlf////tab//{@now()}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Inspect Beginning Price//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Qty__\\quot\\))>//crlf////tab//Error: Missing Qty//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Prefix__\\quot\\))>//crlf////tab//Error: Missing Prefix//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Unit__\\quot\\))>//crlf////tab//Error: Missing Unit//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\))and (defined(\\quot\\__ItemID__\\quot\\)) and (defined(\\quot\\__Qty__\\quot\\))  and (defined(\\quot\\__Unit__\\quot\\))  and (defined(\\quot\\__Prefix__\\quot\\))>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\Aspect_Back_Office_Inspect_Price\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\true\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_Back_Office_Inspect_Price~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~ItemID=__ItemID__~~pipe~~Qty=__Qty__~~pipe~~QtyOnHand=0~~pipe~~Prefix=__Prefix__~~pipe~~Unit=__Unit__\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//faq: \\quot\\YIoPhuLT\\quot\\;//crlf////tab////tab////tab//procedure: \\quot\\DFXbQ5Rn\\quot\\;//crlf////tab////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\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\\\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab////tab//>//crlf//</conditional>//crlf//^
ID=872907|X=151|Y=33|W=889|H=731|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=393441|AttachLeft=|AlignLeft=393441|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 similar to the one used to inspect a beginning price except //crlf//that it also takes into account the quantity on hand (QtyOnHand).//crlf////crlf//When calculating the price of a legitimate usage\\comma\\ the quantity on hand //crlf//must be accounted for first.  Then the legitimate usage quantity is accounted//crlf//for by looking through the invoice details.//crlf//--------------------------------------------------------------------------]//crlf////crlf//<state>//crlf////tab//__StoreID__//crlf////tab//__Date__//crlf////tab//__Qty__//crlf////tab//__QtyOnHand__//crlf////tab//__Prefix__//crlf////tab//__Unit__//crlf////tab//__ItemID__//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\02062017\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////crlf////tab//Note: The state would also need to take into account the filespecstate of invoices\\comma\\//crlf////tab//counts\\comma\\ conversions and possible other values//crlf////tab//{@now()}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Inspect Beginning Price//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Qty__\\quot\\))>//crlf////tab//Error: Missing Qty//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__QtyOnHand__\\quot\\))>//crlf////tab//Error: Missing QtyOnHand//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Prefix__\\quot\\))>//crlf////tab//Error: Missing Prefix//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Unit__\\quot\\))>//crlf////tab//Error: Missing Unit//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\))and (defined(\\quot\\__ItemID__\\quot\\)) and (defined(\\quot\\__Qty__\\quot\\))  and (defined(\\quot\\__Unit__\\quot\\))  and (defined(\\quot\\__Prefix__\\quot\\))>//crlf////tab////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Lookup the item name//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\ItemName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lookup(Aspect_BackOffice_Lookup_Inventory_Item_Name_by_ID\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\))>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Size\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatSize(__Prefix__\\comma\\__Unit__\\comma\\\\quot\\__StoreID__\\quot\\))>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Title//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Inspect price calculation: __ItemName__\\quot\\;>//crlf////tab//<!!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab//<table class=\\quot\\inline\\quot\\>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Quantity To Price: </td>//crlf////tab////tab////tab//<td>__Qty__</td>//crlf////tab////tab//</tr>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Quantity On Hand: </td>//crlf////tab////tab////tab//<td>__QtyOnHand__</td>//crlf////tab////tab//</tr>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Size: </td>//crlf////tab////tab////tab//<td>__Size__</td>//crlf////tab////tab//</tr>//crlf////tab//</table>//crlf////tab//<br>//crlf////crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_Back_Office_Inspect_Price\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\true\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_Back_Office_Inspect_Usage_Price~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~ItemID=__ItemID__~~pipe~~Qty=__Qty__~~pipe~~QtyOnHand=__QtyOnHand__~~pipe~~Prefix=__Prefix__~~pipe~~Unit=__Unit__\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\Legitimate Usage Price Calculation\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\\\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//faq: \\quot\\FTAlVUmk\\quot\\;//crlf////tab////tab//procedure: \\quot\\NqZTn6Q8\\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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\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\\\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf//^
ID=864254|X=151|Y=33|W=807|H=680|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=393441|AttachLeft=|AlignLeft=393441|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//__ItemID__//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(Aspect_BackOffice_Physical_Count_Batch_Detail\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\02062017\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Physical_Count//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\Aspect_BackOffice_Physical_Count_Batch_Detail\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_BackOffice_Physical_Count_Batch_Detail_Inspect~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~ItemID=__ItemID__\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\ID\\comma\\Used\\comma\\Top_Item_ID\\comma\\Batch_Item_ID\\comma\\Batch_Item_Name\\comma\\Inventory_Item_ID\\comma\\Top_Item_Original_Size_Prefix\\comma\\Top_Item_Original_Size_Unit\\comma\\Top_Item_Size_Prefix\\comma\\Top_Item_Size_Unit\\comma\\Top_Item_Qty\\comma\\Top_Item_Size\\comma\\Calc_Store_ID\\comma\\Size_Prefix\\comma\\Size_Unit\\comma\\Standard_Size_Prefix\\comma\\Standard_Size_Unit\\comma\\Inventory_Item_Group_ID\\comma\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//inspectMenu: \\quot\\y75GWid3\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//faq: \\quot\\Ulh5O2Q7\\quot\\;//crlf////tab////tab////tab//procedure: \\quot\\ZMs4pBjv\\quot\\;//crlf////tab////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\\\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\\\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\\\quot\\;//crlf////tab////tab//>//crlf//</conditional>//crlf////crlf//^
ID=557111|X=151|Y=33|W=882|H=711|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=393441|AttachLeft=|AlignLeft=393441|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//__ItemID__//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(Aspect_Back_Office_Prep_Log_Batch_Detail\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Prep_Log_Batch_Detail//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\Aspect_Back_Office_Prep_Log_Batch_Detail\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_Back_Office_Prep_Log_Batch_Detail_Inspect~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~ItemID=__ItemID__\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\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\\\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab////tab//>//crlf//</conditional>//crlf//^
ID=141248|X=151|Y=33|W=764|H=626|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=393441|AttachLeft=|AlignLeft=393441|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//__ItemID__//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(Aspect_BackOffice_Waste_Count_Batch_Detail\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_BackOffice_Waste_Count_Batch_Detail//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\Aspect_BackOffice_Waste_Count_Batch_Detail\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_BackOffice_Waste_Count_Batch_Detail_Inspect~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~ItemID=__ItemID__\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\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\\\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab////tab//>//crlf//</conditional>//crlf//^
ID=22917|X=151|Y=33|W=796|H=636|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACKOFFICE_PERIOD_INVENTORY_SUMMARY\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_BackOffice_Period_Inventory_Summary//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//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:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_BackOffice_Period_Inventory_Summary_Inspect\\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=Inventory_Item_ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_BackOffice_Period_Inventory_Summary_Inspect_Prep_Count~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~ItemID=__ItemID__\\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\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\\\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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf//^
ID=744105|X=151|Y=33|W=831|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=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACKOFFICE_PERIOD_INVENTORY_SUMMARY\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_BackOffice_Period_Inventory_Summary//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//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:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_BackOffice_Period_Inventory_Summary_Inspect\\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=Inventory_Item_ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_BackOffice_Period_Inventory_Summary_Inspect_Waste_Count~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~ItemID=__ItemID__\\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\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\\\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\\SelectID__salt__\\comma\\FilterActiveItmsOnly__Salt__\\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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf//^
ID=89074|X=151|Y=33|W=807|H=691|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACKOFFICE_PERIOD_INVENTORY_SUMMARY\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_BackOffice_Period_Inventory_Summary//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//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:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_BackOffice_Period_Inventory_Summary_Inspect\\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=Inventory_Item_ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_BackOffice_Period_Inventory_Summary_Inspect_Prep_Count_Batch_Detail_Period~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~ItemID=__ItemID__\\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\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\\\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\\SelectID__salt__\\comma\\FilterActiveItmsOnly__Salt__\\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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf//^
ID=594917|X=151|Y=33|W=795|H=679|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(Aspect_BackOffice_Period_Inventory_Summary_Inspect\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_BackOffice_Period_Inventory_Summary//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//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:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_BackOffice_Period_Inventory_Summary_Inspect\\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=Inventory_Item_ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_BackOffice_Period_Inventory_Summary_Inspect_Waste_Count_Batch_Detail_Period~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~ItemID=__ItemID__\\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\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\\\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\\SelectID__salt__\\comma\\FilterActiveItmsOnly__Salt__\\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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf//^
ID=697568|X=151|Y=33|W=852|H=715|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=393441|AttachLeft=|AlignLeft=393441|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 inspect legitimate usages for a single store and //crlf//date.  //crlf////crlf//Params://crlf////tab//StoreID - Store ID//crlf////tab//Date - Date (MM-dd-yyyy)//crlf////tab//ItemID - Optional.  If defined\\comma\\ the driver will be filtered to the given item//crlf//--------------------------------------------------------------------------]//crlf//<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_LEGITIMATE_USAGE\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\06022016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Legitimate_Usage//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing Store ID//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__Date__\\quot\\)))>//crlf////tab//Error: Missing date//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//The SubtotalUsages option is used to determine which quantity field is included from //crlf//the structure.  There are two fields in the structure\\comma\\ one for quantity and one for //crlf//standard quantity.  Subtotals are enabled for these fields.  There is an additional field //crlf//for these two fields that does not have subtotaling enabled.  Subtotals should only //crlf//be included when the list is filtered to a single item.  They make no sense when the list //crlf//contains multiple different items//crlf//--------------------------------------------------------------------------]//crlf//<include type:expression; expression:htmlConstant(\\quot\\SubtotalUsages\\quot\\\\comma\\\\quot\\__SubtotalUsages__\\quot\\\\comma\\\\quot\\true\\quot\\)>//crlf////crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_LEGITIMATE_USAGE\\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//InspectMenu: \\quot\\8avPMIeZ\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_LEGITIMATE_USAGE~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~ItemID=__ItemID__\\quot\\;//crlf////tab////tab//BaseFilter: \\quot\\//crlf////tab////tab////tab//(true)//crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__ItemID__\\quot\\)>//crlf////tab////tab////tab////tab//and (Inventory_Item_ID='__ItemID__')//crlf////tab////tab////tab//</conditional>//crlf////tab////tab//\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//<conditional expression:(__SubtotalUsages__)>//crlf////tab////tab////tab//ExcludeFields: \\quot\\Quantity_No_Subtotal\\comma\\Standard_Quantity_No_Subtotal\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:not(__SubtotalUsages__)>//crlf////tab////tab////tab//ExcludeFields: \\quot\\Quantity\\comma\\Standard_Quantity\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT_BACK_OFFICE_LEGITIMATE_USAGEDialog\\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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=216272|X=151|Y=33|W=839|H=708|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=393441|AttachLeft=|AlignLeft=393441|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//__Qty__//crlf////tab//__QtyOnHand__//crlf////tab//__Prefix__//crlf////tab//__Unit__//crlf////tab//__ItemID__//crlf////crlf////tab//Note: The state would also need to take into account the filespecstate of invoices\\comma\\//crlf////tab//counts\\comma\\ conversions and possible other values//crlf////tab//{@now()}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Inspect Beginning Price//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Qty__\\quot\\))>//crlf////tab//Error: Missing Qty//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__QtyOnHand__\\quot\\))>//crlf////tab//Error: Missing QtyOnHand//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Prefix__\\quot\\))>//crlf////tab//Error: Missing Prefix//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Unit__\\quot\\))>//crlf////tab//Error: Missing Unit//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\))and (defined(\\quot\\__ItemID__\\quot\\)) and (defined(\\quot\\__Qty__\\quot\\))  and (defined(\\quot\\__Unit__\\quot\\))  and (defined(\\quot\\__Prefix__\\quot\\))>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\Aspect_Back_Office_Inspect_Price\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\true\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_Back_Office_Inspect_Usage_Price~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~ItemID=__ItemID__~~pipe~~Qty=__Qty__~~pipe~~QtyOnHand=__QtyOnHand__~~pipe~~Prefix=__Prefix__~~pipe~~Unit=__Unit__\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//faq: \\quot\\YIoPhuLT\\quot\\;//crlf////tab////tab////tab//procedure: \\quot\\DFXbQ5Rn\\quot\\;//crlf////tab////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\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\\\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab////tab//>//crlf//</conditional>//crlf//^
ID=35739|X=151|Y=33|W=760|H=614|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=393441|AttachLeft=|AlignLeft=393441|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(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\//pound//StoreID)+\\quot\\prepgroup.bin\\quot\\)}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\04012016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Area//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//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\false)>//crlf////crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_PREP_GROUP\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\getFilespecState(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__'))+'prepgroup.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=ASPECT_BACK_OFFICE_PREP_GROUP\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\250\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~509786~~pipe~~ASPECT_BACK_OFFICE_PREP_GROUP~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=335756|X=151|Y=33|W=805|H=628|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getContent\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//=========================================================================//crlf////tab//ContainerItem (Select Driver)//crlf////tab//=========================================================================//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ParamName__\\quot\\=\\quot\\ContainerItem\\quot\\)>//crlf////tab////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab////tab//return(true);//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab////tab//return(Value);//crlf////tab////tab////tab//};//crlf////tab////tab//</script>//crlf////crlf////tab////tab//<select name=\\quot\\__ParamName__\\quot\\ ID=\\quot\\__ParamID__\\quot\\ onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>=========Inventory Items===========</option>//crlf////tab////tab////tab//<option value='680528'>Inventory Item Group</option>//crlf////tab////tab////tab//<option value='139558'>Inventory Item</option>//crlf////tab////tab////tab//<option value='867471'>Conversions</option>//crlf////tab////tab////tab//<option value='98169'>Sizes</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>=========Menu Items===========</option>//crlf////tab////tab////tab//<option value='303945'>Menu Category</option>//crlf////tab////tab////tab//<option value='716923'>Menu Item From POS System</option>//crlf////tab////tab////tab//<option value='426565'>Menu Item Detail</option>//crlf////tab////tab////tab//<option value='454688'>Calc Legitimate Usage Table</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>=========Physical Count===========</option>//crlf////tab////tab////tab//<option value='420191'>Count Groups</option>//crlf////tab////tab////tab//<option value='493460'>Physical Count List</option>//crlf////tab////tab////tab//<option value='639719'>Physical Count</option>//crlf////tab////tab////tab//<option value='610700'>Physical Count Batch Detail</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>=========Prep Count===========</option>//crlf////tab////tab////tab//<option value='35739'>Prep Groups</option>//crlf////tab////tab////tab//<option value='337711'>Prep List</option>//crlf////tab////tab////tab//<option value='694859'>Prep List (With All Items)</option>//crlf////tab////tab////tab//<option value='594454'>Prep Count</option>//crlf////tab////tab////tab//<option value='154486'>Prep Count Batch Detail</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>=========Waste Count===========</option>//crlf////tab////tab////tab//<option value='734354'>Waste Count List</option>//crlf////tab////tab////tab//<option value='599267'>Waste Count</option>//crlf////tab////tab////tab//<option value='222939'>Waste Count Batch Detail</option>//crlf////tab////tab////tab//<option value='48876'>Waste Count Batch Detail Summary</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>=========Legitimate Usage===========</option>//crlf////tab////tab////tab//<!-- This is used to open the driver usage.mm-dd-yyyy.bin driver -->//crlf////tab////tab////tab//<option value='92301'>Legitimate Usages - All Items</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>=========Invoices===========</option>//crlf////tab////tab////tab//<option value='829102'>Vendors</option>//crlf////tab////tab////tab//<option value='170904'>Invoices</option>//crlf////tab////tab////tab//<option value='10476'>Invoice Details</option>//crlf////tab////tab////tab//<option value='726284'>Invoice Details (Concatenated)</option>//crlf////tab////tab////tab//<option value='284436'>Invoice Detail Summary</option>//crlf////tab////tab////tab//<option value='596515'>Invoice Detail Summary - Inspect</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>=========Dependent Drivers===========</option>//crlf////tab////tab////tab//<option value='441164'>Daily Inventory Summary</option>//crlf////tab////tab////tab//<option value='515979'>Period Inventory Summary</option>//crlf////tab////tab////tab//<option value='108500'>Period Inventory Summary - Inspect</option>//crlf////tab////tab////tab//<option value='117863'>Inventory Extensions (Part 1)</option>//crlf////tab////tab////tab//<option value='205178'>Inventory Extensions</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>=========Inspect Legitimate Usage===========</option>//crlf////tab////tab////tab//<option value='872686'>Inspect Legitimate Usages - Period</option>//crlf////tab////tab////tab//<option value='697568'>Inspect Legitimate Usages - Day</option>//crlf////tab////tab////tab//<option value='609798'>Legitimate Usage Summary (Unused)</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>=========Inspect Physical Count===========</option>//crlf////tab////tab////tab//<option value='872900'>Inspect Physical Count</option>//crlf////tab////tab////tab//<option value='864254'>Inspect Physical Count Batch Detail</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>=========Inspect Prep Count===========</option>//crlf////tab////tab////tab//<option value='22917'>Inspect Prep Count - Period</option>//crlf////tab////tab////tab//<option value='872904'>Inspect Prep Count - Day</option>//crlf////tab////tab////tab//<option value='89074'>Inspect Prep Count Batch Detail - Period</option>//crlf////tab////tab////tab//<option value='557111'>Inspect Prep Count Batch Detail - Day</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>=========Inspect Waste Count===========</option>//crlf////tab////tab////tab//<option value='744105'>Inspect Waste Count - Period</option>//crlf////tab////tab////tab//<option value='872903'>Inspect Waste Count - Day</option>//crlf////tab////tab////tab//<option value='594917'>Inspect Waste Count Batch Detail - Period</option>//crlf////tab////tab////tab//<option value='141248'>Inspect Waste Count Batch Detail - Day</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab//</select>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:false>//crlf////tab//=========================================================================//crlf////tab//Date From//crlf////tab//=========================================================================//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ParamName__\\quot\\=\\quot\\DateFrom\\quot\\)>//crlf////tab////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab////tab//if(Value.length==0) return(false);//crlf////tab////tab////tab////tab//return(true);//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab////tab//return(Value);//crlf////tab////tab////tab//};//crlf////tab////tab//</script>//crlf////crlf////tab////tab//<conditional expression:pos(\\quot\\~~pipe~~__ContainerItem__~~pipe~~\\quot\\\\comma\\\\quot\\~~pipe~~48876~~pipe~~726284~~pipe~~284436~~pipe~~596515~~pipe~~515979~~pipe~~108500~~pipe~~117863~~pipe~~205178~~pipe~~872686~~pipe~~609798~~pipe~~22917~~pipe~~89074~~pipe~~744105~~pipe~~594917~~pipe~~\\quot\\)=-1>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__ParamID__\\quot\\ Name=\\quot\\__ParamName__\\quot\\ value=\\quot\\{@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}\\quot\\ >//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<conditional expression:not(pos(\\quot\\~~pipe~~__ContainerItem__~~pipe~~\\quot\\\\comma\\\\quot\\~~pipe~~48876~~pipe~~726284~~pipe~~284436~~pipe~~596515~~pipe~~515979~~pipe~~108500~~pipe~~117863~~pipe~~205178~~pipe~~872686~~pipe~~609798~~pipe~~22917~~pipe~~89074~~pipe~~744105~~pipe~~594917~~pipe~~\\quot\\)=-1)>//crlf////tab////tab////tab//<form name=\\quot\\{@getSalt()}__ParamID__DateForm\\quot\\ style=\\quot\\display:inline;margin:0px;padding:0px\\quot\\>//crlf////tab////tab////tab////tab//{@if(defined(\\quot\\__Label__\\quot\\)\\comma\\\\quot\\__Label__ \\quot\\\\comma\\\\quot\\\\quot\\)}<input type=\\quot\\text\\quot\\ ID=\\quot\\__ParamID__\\quot\\ Name=\\quot\\__ParamName__\\quot\\ value={@getDefault(\\quot\\__ParamID__\\quot\\\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\))} onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ style=\\quot\\width:80px\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ datatype=\\quot\\time\\quot\\ control=\\quot\\date\\quot\\>//crlf////tab////tab////tab//</form>//crlf////tab////tab//</conditional>//crlf////crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:false>//crlf////tab//=========================================================================//crlf////tab//Date To//crlf////tab//=========================================================================//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ParamName__\\quot\\=\\quot\\DateTo\\quot\\)>//crlf////tab////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab////tab//if(Value.length==0) return(false);//crlf////tab////tab////tab////tab//return(true);//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab////tab//return(Value);//crlf////tab////tab////tab//};//crlf////tab////tab//</script>//crlf////crlf////tab////tab//<conditional expression:pos(\\quot\\~~pipe~~__ContainerItem__~~pipe~~\\quot\\\\comma\\\\quot\\~~pipe~~639719~~pipe~~610700~~pipe~~594454~~pipe~~154486~~pipe~~599267~~pipe~~222939~~pipe~~92301~~pipe~~10476~~pipe~~441164~~pipe~~697568~~pipe~~872900~~pipe~~864254~~pipe~~872904~~pipe~~557111~~pipe~~872903~~pipe~~141248~~pipe~~639719~~pipe~~610700~~pipe~~594454~~pipe~~154486~~pipe~~599267~~pipe~~222939~~pipe~~92301~~pipe~~10476~~pipe~~441164~~pipe~~697568~~pipe~~872900~~pipe~~864254~~pipe~~872904~~pipe~~557111~~pipe~~872903~~pipe~~141248~~pipe~~48876~~pipe~~726284~~pipe~~284436~~pipe~~596515~~pipe~~515979~~pipe~~108500~~pipe~~117863~~pipe~~205178~~pipe~~872686~~pipe~~609798~~pipe~~22917~~pipe~~89074~~pipe~~744105~~pipe~~594917~~pipe~~\\quot\\)=-1>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__ParamID__\\quot\\ Name=\\quot\\__ParamName__\\quot\\ value=\\quot\\{@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}\\quot\\ >//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<conditional expression:not(pos(\\quot\\~~pipe~~__ContainerItem__~~pipe~~\\quot\\\\comma\\\\quot\\~~pipe~~639719~~pipe~~610700~~pipe~~594454~~pipe~~154486~~pipe~~599267~~pipe~~222939~~pipe~~92301~~pipe~~10476~~pipe~~441164~~pipe~~697568~~pipe~~872900~~pipe~~864254~~pipe~~872904~~pipe~~557111~~pipe~~872903~~pipe~~141248~~pipe~~639719~~pipe~~610700~~pipe~~594454~~pipe~~154486~~pipe~~599267~~pipe~~222939~~pipe~~92301~~pipe~~10476~~pipe~~441164~~pipe~~697568~~pipe~~872900~~pipe~~864254~~pipe~~872904~~pipe~~557111~~pipe~~872903~~pipe~~141248~~pipe~~48876~~pipe~~726284~~pipe~~284436~~pipe~~596515~~pipe~~515979~~pipe~~108500~~pipe~~117863~~pipe~~205178~~pipe~~872686~~pipe~~609798~~pipe~~22917~~pipe~~89074~~pipe~~744105~~pipe~~594917~~pipe~~\\quot\\)=-1)>//crlf////tab////tab////tab//<form name=\\quot\\{@getSalt()}__ParamID__DateForm\\quot\\ style=\\quot\\display:inline;margin:0px;padding:0px\\quot\\>//crlf////tab////tab////tab////tab//{@if(defined(\\quot\\__Label__\\quot\\)\\comma\\\\quot\\__Label__ \\quot\\\\comma\\\\quot\\\\quot\\)}<input type=\\quot\\text\\quot\\ ID=\\quot\\__ParamID__\\quot\\ Name=\\quot\\__ParamName__\\quot\\ value={@getDefault(\\quot\\__ParamID__\\quot\\\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\))} onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ style=\\quot\\width:80px\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ datatype=\\quot\\time\\quot\\ control=\\quot\\date\\quot\\>//crlf////tab////tab////tab//</form>//crlf////tab////tab//</conditional>//crlf////crlf////tab//</conditional>//crlf////crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//^
ID=421504|X=151|Y=33|W=878|H=667|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:defined(\\quot\\__getContent__\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//======================================================================//crlf////tab//Open Driver//crlf////tab//======================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; //crlf////tab////tab//documentID:\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\; widget:\\quot\\Inventory Drivers\\quot\\; //crlf////tab////tab//containerItemID:\\quot\\__ContainerItem__\\quot\\; //crlf////tab////tab//params:\\quot\\getContent=true//amp//StoreID=__StoreID__//amp//Date=__DateTo__//amp//DateFrom=__DateFrom__//amp//DateTo=__DateTo__\\quot\\;>//crlf//</conditional>^
ID=666833|X=151|Y=33|W=869|H=627|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Driver include from xml export of inventory extensions from Aspect6.  This //crlf//driver is used to compare inventory in Aspect6 with Aspect7//crlf////crlf//Params://crlf////tab//Filename - The name of an xml export of inventory extensions//crlf//--------------------------------------------------------------------------]//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_INVENTORY_EXTENSIONS\\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=openAspect6XMLInventoryExtensions~~pipe~~filename=__Filename__~~pipe~~keyexpression=DiskIndex~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT6_XML_EXPORT_INVENTORY_EXTENSIONS\\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\\ASPECT6_XML_EXPORT_INVENTORY_EXTENSIONSDialog\\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//<conditional expression:not(defined(\\quot\\__filename__\\quot\\))>//crlf////tab//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//</conditional>//crlf//^
ID=312985|X=151|Y=33|W=872|H=640|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Opens the period inventory summary to inspect purchases for an item over//crlf//a given range of dates//crlf////crlf//Params://crlf////tab//StoreID - ID of store//crlf////tab//DateFrom - Starting date//crlf////tab//DateTo - Ending Date//crlf////tab//ItemID - ID of inventory item to be inspected//crlf//--------------------------------------------------------------------------]//crlf//<state>//crlf////tab//__StoreID__//crlf////tab//__DateFrom__//crlf////tab//__DateTo__//crlf////tab//__ItemID__//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACKOFFICE_PERIOD_INVENTORY_SUMMARY\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\05132016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf////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\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACKOFFICE_PERIOD_INVENTORY_SUMMARY\\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=Inventory_Item_ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACKOFFICE_PERIOD_INVENTORY_SUMMARY_Inspect_Purchases~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\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//BaseFilter: \\quot\\Inventory_Item_ID='__ItemID__'\\quot\\;//crlf////tab////tab//IncludeFields: \\quot\\Date\\comma\\Inventory_Item_Name\\comma\\Purchase_Dollar\\comma\\Purchase_Quantity\\comma\\Standard_Size\\comma\\Standard_Purchase_Dollar\\comma\\Standard_Purchase_Quantity\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT_BACKOFFICE_PERIOD_INVENTORY_SUMMARYDialog\\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\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_TableRefreshInterval\\quot\\)>\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\<!include type:expression; expression:getToken(\\quot\\Aspect_BackOffice_DebugTables\\quot\\)>\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf//^
ID=844801|X=151|Y=33|W=891|H=641|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Opens the period inventory summary to inspect purchases for an item over//crlf//a given range of dates//crlf////crlf//Params://crlf////tab//StoreID - ID of store//crlf////tab//DateFrom - Starting date//crlf////tab//DateTo - Ending Date//crlf////tab//ItemID - ID of inventory item to be inspected//crlf//--------------------------------------------------------------------------]//crlf//<state>//crlf////tab//__StoreID__//crlf////tab//__DateFrom__//crlf////tab//__DateTo__//crlf////tab//__ItemID__//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACKOFFICE_PERIOD_INVENTORY_SUMMARY\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\08192016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf////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\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_Back_Office_Invoice_Detail_Summary\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_Back_Office_Invoice_Detail_Summary_Inspect_Purchases~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\;//crlf////tab////tab//InspectMenu: \\quot\\6PxvtCyT\\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//BaseFilter: \\quot\\ItemID='__ItemID__'\\quot\\;//crlf////tab////tab//IncludeFields: \\quot\\Item_Name\\comma\\Invoice_Date\\comma\\Invoice_Number\\comma\\Vendor\\comma\\Quantity\\comma\\Size\\comma\\Extended_Price\\comma\\Standard_Quantity\\comma\\Standard_Size\\comma\\Unit_Price\\comma\\Inventory_Item_Full_Group_Name\\comma\\GL_Account\\comma\\Inventory_Item_Group_Name\\comma\\ItemID\\comma\\Section_Header_By_Vendor\\comma\\Section_Header_by_Full_Group_Name\\comma\\Inventory_Item_Top_Group_Name\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT_BACKOFFICE_PERIOD_INVENTORY_SUMMARYDialog\\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\\\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf//^
ID=10960|X=151|Y=33|W=1167|H=697|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=393441|AttachLeft=|AlignLeft=393441|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 inspect extensions for an inventory group.  It is //crlf//called from the inspect menu in the cost of sales.//crlf////crlf//Parameters://crlf////tab//StoreID - Store ID//crlf////tab//DateFrom - Starting date of period (MM-dd-yyyy)//crlf////tab//DateTo - Ending date of period (MM-dd-yyyy)//crlf////tab//InventoryItemGroupID - ID of the inventory group to be inspected.  The //crlf////tab////tab//selected group and any groups that are a sub of the selected group//crlf////tab////tab//will be included//crlf////tab//AllFieldsVisible - If true\\comma\\ all fields will be available in the display options\\comma\\//crlf////tab////tab//even if they are disabled in the structure//crlf//--------------------------------------------------------------------------]//crlf//<state>//crlf////tab//__AllFieldsVisible__//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_INVENTORY_EXTENSIONS\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\08192016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//[!------------------------------------------------------------------------//crlf//< include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\KSgWUSkuQ6lmWrLVXXV3aHWv\\quot\\)>//crlf//< include type:expression; expression:htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\04-20-2016\\quot\\)>//crlf//< include type:expression; expression:htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\04-26-2016\\quot\\)>//crlf//< include type:expression; expression:htmlConstant(\\quot\\InventoryItemGroupID\\quot\\\\comma\\\\quot\\__InventoryItemGroupID__\\quot\\\\comma\\\\quot\\28\\quot\\)>//crlf//--------------------------------------------------------------------------]//crlf////crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Inventory_Extensions//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__InventoryItemGroupID__\\quot\\))>//crlf////tab//Error: Missing InventoryItemGroupID//crlf//</conditional>//crlf////crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter: Active Items Only//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\Checkbox\\quot\\;//crlf////tab////tab//ID:\\quot\\FilterActiveItmsOnly__Salt__\\quot\\;//crlf////tab////tab//Condition:\\quot\\'$value$'=true\\quot\\;//crlf////tab////tab//Expression:\\quot\\Is_Active_Item\\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//> Active items only//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_INVENTORY_EXTENSIONS\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_INVENTORY_EXTENSIONS~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~SelectedInventoryGroup=__InventoryItemGroupID__\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//InspectMenu: \\quot\\vCdKfYj7\\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//BaseFilter: \\quot\\(Inventory_Item_Group_ID='__InventoryItemGroupID__') or (isSubOfSelectedInventoryGroup)\\quot\\;//crlf////tab////tab//AllFieldsVisible: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab//_EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~959087~~pipe~~ASPECT_BACK_OFFICE_INVENTORY_EXTENSIONS~~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\\FilterActiveItmsOnly__Salt__\\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\\\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:undefined(\\quot\\__StoreID__\\quot\\)>//crlf////tab//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//</conditional>//crlf//^
ID=931087|X=151|Y=33|W=966|H=706|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Driver include fro xml export of inventory extensions from Aspect6.  This //crlf//driver is used to compare inventory in Aspect6 with Aspect7//crlf////crlf//Params://crlf////tab//Filename - The name of an xml export of inventory extensions//crlf//--------------------------------------------------------------------------]//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_Cost_Of_Sales\\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=openAspect6XMLInventoryExtensions~~pipe~~filename=__Filename__~~pipe~~keyexpression=DiskIndex~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect6_XML_Export_Cost_Of_Sales\\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\\ASPECT6_XML_EXPORT_INVENTORY_EXTENSIONSDialog\\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//<conditional expression:not(defined(\\quot\\__filename__\\quot\\))>//crlf////tab//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//</conditional>//crlf//^
ID=57258|X=151|Y=33|W=968|H=686|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=393441|AttachLeft=|AlignLeft=393441|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//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\05202016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Debugging constants//crlf//--------------------------------------------------------------------------]//crlf//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\KSgWUSkuQ6lmWrLVXXV3aHWv\\quot\\)>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\salt1\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\salt2\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\salt3\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\salt4\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Size//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////crlf////tab//<!-- The TableEditDialogTabsContainerExclusive and TableEditDialogSelectContainerExclusive//crlf////tab////tab//classes are used to make either the tabs or the select box visible\\comma\\ depending on the//crlf////tab////tab//size of the browser.  If only one or two tabs are to be included\\comma\\ the //crlf////tab////tab//TableEditDialogTabsContainer class can be used for the tabs and the select box can//crlf////tab////tab//be ommitted.//crlf////tab//-->//crlf////tab//<div class=\\quot\\TableEditDialogTabsContainerExclusive\\quot\\>//crlf////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__volume')\\quot\\>Volume</span></td>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__weight')\\quot\\>Weight</span></td>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__each')\\quot\\>Each</span></td>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__other')\\quot\\>Other</span></td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</table>//tab////crlf////tab//</div>//crlf////crlf////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab//<select onChange=\\quot\\showTab(this);this.blur();\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab//<option value='__salt__volume'>Volume</option>//crlf////tab////tab////tab//<option value='__salt__weight'>Weight</option>//crlf////tab////tab////tab//<option value='__salt__each'>Each</option>//crlf////tab////tab////tab//<option value='__salt__other'>Other</option>//crlf////tab////tab//</select>//crlf////tab//</div>//crlf////crlf////tab//<!-- Volume -->//crlf////tab//<div ID=\\quot\\__salt__volume\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\table__salt1__volume\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_SIZE\\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\\getFilespecState(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__'))+'size.bin')\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=Aspect_Back_Office_Size~~pipe~~SizeType=1\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\Type=1\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab//readOnly:\\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~120863~~pipe~~Aspect_Back_Office_Size~~pipe~~__salt1__\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//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\\0\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf////crlf////tab//<!-- Weight -->//crlf////tab//<div ID=\\quot\\__salt__weight\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\table__salt2__weight\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_SIZE\\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\\getFilespecState(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__'))+'size.bin')\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=Aspect_Back_Office_Size~~pipe~~SizeType=2\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\Type=2\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab//readOnly:\\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~120863~~pipe~~Aspect_Back_Office_Size~~pipe~~__salt2__\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//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\\0\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf////crlf////tab//<!-- Each -->//crlf////tab//<div ID=\\quot\\__salt__each\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\table__salt3__each\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_SIZE\\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\\getFilespecState(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__'))+'size.bin')\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=Aspect_Back_Office_Size~~pipe~~SizeType=3\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\Type=3\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab//readOnly:\\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~120863~~pipe~~Aspect_Back_Office_Size~~pipe~~__salt3__\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//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\\0\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf////crlf////tab//<!-- Other -->//crlf////tab//<div ID=\\quot\\__salt__other\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\table__salt4__other\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_SIZE\\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\\getFilespecState(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__StoreID__'))+'size.bin')\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=Aspect_Back_Office_Size_Other~~pipe~~SizeType=4\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\Type=4\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab//readOnly:\\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~120863~~pipe~~Aspect_Back_Office_Size~~pipe~~__salt4__\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//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\\0\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//^
ID=590607|X=1500|Y=26|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=/************************************************************//crlf//Called when the \\quot\\Export Invoices\\quot\\ menu item is selected.  //crlf//Exports all selected invoice records using the export format//crlf//specified for the store//crlf//************************************************************///crlf//function exportInvoices(TableID)//crlf//{//crlf////tab////the salt value is the same as the table ID//crlf////tab//var salt=TableID.substring(7);//crlf////crlf////tab////abort if missing start or end date//crlf////tab//var sDateFrom=document.getElementById(salt+\\quot\\StartDate\\quot\\).value;//crlf////tab//var sDateTo=document.getElementById(salt+\\quot\\EndDate\\quot\\).value;//crlf////tab//if((sDateFrom.trim().length==0) ~~pipe~~~~pipe~~ (sDateTo.trim().length==0)) {//crlf////tab////tab//showDialog(\\quot\\msg=Please select a starting and ending date before exporting invoices.<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////show the dialog used to confirm the export//crlf////tab//setVisible(salt+\\quot\\confirm_invoice_export\\quot\\\\comma\\true);//crlf//};//crlf////crlf//function exportInvoicesSub(TableID\\comma\\s) {//crlf////tab////if complete\\comma\\ display message and exit//crlf////tab//if(s) {//crlf////tab////tab//if(s.toUpperCase().startsWith(\\quot\\ERROR\\quot\\)) {//crlf////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab////if the result is successful\\comma\\ the first line is a message followed by a cr and then the output//crlf////tab////tab////tab//var n=s.indexOf(\\quot\\\r\\quot\\);//crlf////tab////tab////tab//var sMsg=s.substring(0\\comma\\n);//crlf////tab////tab////tab//var sOutput=s.substring(n+1);//crlf////crlf////tab////tab////tab////add a crlf to the output.  This may be required for Quickbooks//crlf////tab////tab////tab//sOutput+=\\quot\\\r\n\\quot\\;//crlf////crlf////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+sMsg+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab//refreshTable(TableID\\comma\\\\quot\\refresh\\quot\\);//crlf////crlf////tab////tab////tab//if (navigator.appName !='Microsoft Internet Explorer'){//crlf////tab////tab////tab////tab//window.open('data:text/csv;charset=utf-8\\comma\\' + escape(sOutput));//crlf////tab////tab////tab//}  else{//crlf////tab////tab////tab////tab//var popup=window.open(''\\comma\\'csv'\\comma\\'');//crlf////tab////tab////tab////tab//popup.document.write(sOutput);//crlf////tab////tab////tab//}//crlf////tab////tab//};//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////get array of selected invoice ID's.  These are the keys of the records.//crlf////tab//var arInvoiceID=getKeyValues(TableID\\comma\\true);//crlf////crlf////tab////the salt value is the same as the table ID//crlf////tab//var salt=TableID.substring(7);//crlf////crlf////tab////get starting/ending dates//crlf////tab//var sDateFrom=document.getElementById(salt+\\quot\\StartDate\\quot\\).value;//crlf////tab//var sDateTo=document.getElementById(salt+\\quot\\EndDate\\quot\\).value;//crlf////crlf////tab////convert date format from yyyy-mm-dd to mm-dd-yyyy//crlf////tab//sDateFrom=sDateFrom.substring(5)+\\quot\\-\\quot\\+sDateFrom.substring(0\\comma\\4);//crlf////tab//sDateTo=sDateTo.substring(5)+\\quot\\-\\quot\\+sDateTo.substring(0\\comma\\4);//crlf////crlf////tab////get the store ID//crlf////tab//var sStoreID=document.getElementById(salt+\\quot\\StoreID\\quot\\).value;//crlf////crlf////tab////get the HashID of the computer used to create the table.  This is the source//crlf////tab////for the agent action//crlf////tab//var eTable=document.getElementById(TableID);//crlf////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////export invoices//crlf////tab//showDialog(\\quot\\icon=true//amp//msg=Exporting invoices...\\quot\\);//crlf////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab//sUrl +=\\quot\\//amp//Widget=Export Invoices//amp//ContainerItemID=action_list\\quot\\;//crlf////tab//sUrl +=\\quot\\//amp//Action=exportInvoices//amp//ActionExec=true\\quot\\;//crlf////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+sStoreID;//crlf////tab//sUrl +=\\quot\\//amp//DateFrom=\\quot\\+sDateFrom;//crlf////tab//sUrl +=\\quot\\//amp//DateTo=\\quot\\+sDateTo;//crlf////tab////sUrl +=\\quot\\//amp//InvoiceID=\\quot\\+arInvoiceID;//crlf////tab//sUrl +=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab//sFunc=\\quot\\exportInvoicesSub('\\quot\\+TableID+\\quot\\'\\comma\\s)\\quot\\;//crlf////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf///************************************************************//crlf//Called when the \\quot\\paste invoice from clipboard\\quot\\ menu item is//crlf//selected.  Makes the dialog used to paste the invoice visible//crlf//************************************************************///crlf//function pasteInvoice(TableID) {//crlf////tab////the salt value is the same as the table ID//crlf////tab//var salt=TableID.substring(7);//crlf////crlf////tab////show the dialog used to paste the invoice//crlf////tab//setVisible(salt+\\quot\\PasteInvoiceDialog\\quot\\\\comma\\true);//crlf//};//crlf////crlf///************************************************************//crlf//Called when the import button is clicked in the dialog used to//crlf//paste an invoice.  Calls the importInvoiceFromClipboard agent//crlf//to import the invoice.//crlf//************************************************************///crlf//function importPastedInvoice(salt\\comma\\s) {//crlf////tab////if complete...//crlf////tab//if(s) {//crlf////tab////tab//if(s.toUpperCase().startsWith(\\quot\\OK\\quot\\)) {//crlf////tab////tab////tab////if successful\\comma\\ refresh the table and close the status message//crlf////tab////tab////tab//var ar=getSubStringArray(s\\comma\\\\quot\\:\\quot\\);//crlf////crlf////tab////tab////tab////record the ID if the invoice record.  It will be opened when the table is refreshed//crlf////tab////tab////tab////by a call to the table listener.  The javascript for this is in the item containing //crlf////tab////tab////tab////the invoice table.//crlf////tab////tab////tab//document.getElementById(\\quot\\invoice\\quot\\+salt+\\quot\\imported_invoice_recordid\\quot\\).value=ar[1];//crlf////crlf////tab////tab////tab//refreshTable(\\quot\\invoice\\quot\\+salt\\comma\\\\quot\\refresh\\quot\\);//crlf////tab////tab////tab//showDialog();//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab//};//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////get the text to be imported//crlf////tab//var sContent=document.getElementById(salt+\\quot\\PastedContent\\quot\\).value.trim();//crlf////crlf////tab////abort if no content was found//crlf////tab//if(sContent.length==0) {//crlf////tab////tab//showDialog(\\quot\\msg=Error: No content to import<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////hide the dialog used to paste the invoice and clear the textarea//crlf////tab//setVisible(salt+\\quot\\PasteInvoiceDialog\\quot\\\\comma\\false);//crlf////tab//document.getElementById(salt+\\quot\\PastedContent\\quot\\).value=\\quot\\\\quot\\;//crlf////crlf////tab////tokenize special characters in the content//crlf////tab//sContent=replaceAllSubstrings(sContent\\comma\\\\quot\\<\\quot\\\\comma\\\\quot\\*\\quot\\+\\quot\\_l_\\quot\\+\\quot\\*\\quot\\);//crlf////tab//sContent=replaceAllSubstrings(sContent\\comma\\\\quot\\<\\quot\\\\comma\\\\quot\\*\\quot\\+\\quot\\_g_\\quot\\+\\quot\\*\\quot\\);//crlf////tab//sContent=replaceAllSubstrings(sContent\\comma\\\\quot\\;\\quot\\\\comma\\\\quot\\*\\quot\\+\\quot\\_s_\\quot\\+\\quot\\*\\quot\\);//crlf////tab//sContent=replaceAllSubstrings(sContent\\comma\\\\quot\\\x22\\quot\\\\comma\\\\quot\\*\\quot\\+\\quot\\_q_\\quot\\+\\quot\\*\\quot\\);//crlf////tab//sContent=replaceAllSubstrings(sContent\\comma\\\\quot\\\x0D\\quot\\\\comma\\\\quot\\*\\quot\\+\\quot\\_cr_\\quot\\+\\quot\\*\\quot\\);//crlf////tab//sContent=replaceAllSubstrings(sContent\\comma\\\\quot\\\x0A\\quot\\\\comma\\\\quot\\*\\quot\\+\\quot\\_lf_\\quot\\+\\quot\\*\\quot\\);//crlf////tab//sContent=replaceAllSubstrings(sContent\\comma\\\\quot\\//amp//\\quot\\\\comma\\\\quot\\*\\quot\\+\\quot\\_a_\\quot\\+\\quot\\*\\quot\\);//crlf////crlf////tab////get the store ID//crlf////tab//var sStoreID=document.getElementById(salt+\\quot\\StoreID\\quot\\).value;//crlf////crlf////tab////get the HashID of the computer used to create the table.  This is the source//crlf////tab////for the agent action//crlf////tab//var eTable=document.getElementById(\\quot\\invoice\\quot\\+salt);//crlf////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////import the content//crlf////tab//showDialog(\\quot\\icon=true//amp//msg=Importing invoice...\\quot\\);//crlf////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=L4HxWEciR8sT7E30IKVZXD70\\quot\\;//crlf////tab//sUrl +=\\quot\\//amp//Widget=Import Vendor Invoice//amp//ContainerItemID=action_list\\quot\\;//crlf////tab//sUrl +=\\quot\\//amp//Action=importInvoiceFromClipboard//amp//ActionExec=true\\quot\\//crlf////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+sStoreID+\\quot\\//amp//Content=\\quot\\+sContent;//crlf////tab//sUrl +=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab//sFunc=\\quot\\importPastedInvoice('\\quot\\+salt+\\quot\\'\\comma\\s)\\quot\\;//crlf////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf///************************************************************//crlf//Called when the \\quot\\Import Invoice From File\\quot\\ menu option is selected.//crlf//Calls the selectFile() function to display the select file //crlf//dialog.//crlf//************************************************************///crlf//function importInvoice(TableID) {//crlf////tab////the salt value is the same as the table ID//crlf////tab//var salt=TableID.substring(7);//crlf////crlf////tab////get the store directory and filespec//crlf////tab//var sStoreDir=document.getElementById(salt+\\quot\\StoreDirectory\\quot\\).value;//crlf////tab//var sHomeDir=document.getElementById(salt+\\quot\\HomeDir\\quot\\).value;//crlf////tab////var sFilespec=sStoreDir+\\quot\\invoices\\import\\\\quot\\;//crlf////tab//var sFilespec=sHomeDir+\\quot\\invoices\\\\quot\\;//crlf////crlf////tab////get the HashID of the computer used to create the table.  This is the source//crlf////tab////for the agent action//crlf////tab//var eTable=document.getElementById(\\quot\\invoice\\quot\\+salt);//crlf////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab//selectFile(salt\\comma\\sFilespec\\comma\\\\quot\\file\\quot\\\\comma\\true\\comma\\\\quot\\invoiceSelectionOk\\quot\\\\comma\\\\quot\\invoiceSelectionCancel\\quot\\\\comma\\100\\comma\\\\quot\\center\\quot\\\\comma\\sHashID);//crlf//};//crlf////crlf///************************************************************//crlf//Called when a file is selected from the \\quot\\select file\\quot\\ dialog.//crlf//Calls the importVendorInvoice agent action to import the file.//crlf//************************************************************///crlf//function invoiceSelectionOk(salt\\comma\\Filename\\comma\\s) {//crlf////tab////if complete...//crlf////tab//if(s) {//crlf////tab////tab//if(s.toUpperCase().startsWith(\\quot\\OK\\quot\\)) {//crlf////tab////tab////tab////if successful\\comma\\ refresh the table and close the status message//crlf////tab////tab////tab//var ar=getSubStringArray(s\\comma\\\\quot\\:\\quot\\);//crlf////crlf////tab////tab////tab////record the ID of the invoice record.  It will be opened when the table is refreshed//crlf////tab////tab////tab////by a call to the table listener.  The javascript for this is in the item containing //crlf////tab////tab////tab////the invoice table.  The element containing the value is in the invoice driver item.//crlf////tab////tab////tab//document.getElementById(\\quot\\invoice\\quot\\+salt+\\quot\\imported_invoice_recordid\\quot\\).value=ar[1];//crlf////crlf////tab////tab////tab//refreshTable(\\quot\\invoice\\quot\\+salt\\comma\\\\quot\\refresh\\quot\\);//crlf////tab////tab////tab//showDialog();//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab//};//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////get the store ID//crlf////tab//var sStoreID=document.getElementById(salt+\\quot\\StoreID\\quot\\).value;//crlf////crlf////tab////get the HashID of the computer used to create the table.  This is the source//crlf////tab////for the agent action//crlf////tab//var eTable=document.getElementById(\\quot\\invoice\\quot\\+salt);//crlf////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////import the invoice//crlf////tab//showDialog(\\quot\\icon=true//amp//msg=Importing invoice...\\quot\\);//crlf////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=L4HxWEciR8sT7E30IKVZXD70\\quot\\;//crlf////tab//sUrl +=\\quot\\//amp//Widget=Import Vendor Invoice//amp//ContainerItemID=action_list\\quot\\;//crlf////tab//sUrl +=\\quot\\//amp//Action=importVendorInvoice//amp//ActionExec=true\\quot\\//crlf////tab//sUrl +=\\quot\\//amp//Filename=\\quot\\+Filename+\\quot\\//amp//StoreID=\\quot\\+sStoreID;//crlf////tab//sUrl +=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab//sFunc=\\quot\\invoiceSelectionOk('\\quot\\+salt+\\quot\\'\\comma\\'\\quot\\+Filename+\\quot\\'\\comma\\s)\\quot\\;//crlf////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf//function invoiceSelectionCancel(salt) {//crlf////tab////alert(\\quot\\Import invoice cancelled\\quot\\);//crlf//};^
ID=507781|X=151|Y=33|W=849|H=609|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//This view embeds the \\quot\\Invoice Details by Group (Dimensional Driver)\\quot\\ dimensoinal //crlf//view.  The dimensional view uses the Aspect_BackOffice_Invoice_Detail_Group_Summary//crlf//driver which is a dependent driver containing totals for each inventory group over//crlf//a period of time.//crlf////crlf//There is really no benefit to using a dimensional driver here.  The//crlf//Aspect_BackOffice_Invoice_Detail_Group_Summary driver could be opened directly to achieve//crlf//the same thing.//crlf////crlf//The dimensional view was created because it seemed like a good idea at the time.  //crlf//Once of the challenges was to create fields for each inventory group so they could be //crlf//displayed horizontally instead of just vertically.  This can be accomplished by opening the //crlf//Aspect_BackOffice_Invoice_Detail_Group_Summary table and using pivots.  Even with the //crlf//dimensional view\\comma\\ pivots are still used in the same way.//crlf////crlf//Creating this table using a dimensional view did help identify and solve several problems //crlf//including bugs in the sorting algorithm involving subtotals and it helped determine a //crlf//standard way to embed a dimensional driver with external filters and driver params.//crlf////crlf//This view also provides an example of using additional fields in the dimensional driver //crlf//to include section headers and   The calc_store_id in the //crlf//Aspect_Back_Office_Invoice_Group_Detail structure also illustrates how to get a driver //crlf//param from a dimensional driver using DimDriverParams.//crlf////crlf//This view also led the way to simplifying the include tag used to embed a dimensional //crlf//driver.  Previously\\comma\\ a DimDriverParams parameter would have been necessary in the include //crlf//tag.  Now\\comma\\ all parameters can be passed using the //amp// delimiter as illustrated below.//crlf////crlf//Even though this view could be implemented by opening the //crlf//Aspect_BackOffice_Invoice_Detail_Group_Summary driver directly\\comma\\ it is being left in place //crlf//to serve as an example for other situations in which a dimensional driver is required.//crlf//--------------------------------------------------------------------------]//crlf//<state>//crlf////tab//{@gfs(getSetTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\1440*60\\comma\\\\quot\\MM-dd-yyyy\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\getStoreDir(\\quot\\__StoreID__\\quot\\)+\\quot\\invoice_detail.$e$.bin;\\quot\\\\comma\\char(0x3B)) + char(0x3B) + getStoreDir(\\quot\\__StoreID__\\quot\\)+\\quot\\invoice.bin\\quot\\ + char(0x3B) + getStoreDir(\\quot\\__StoreID__\\quot\\)+\\quot\\vendor.bin\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression; expression:undefined(\\quot\\__StoreID__\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf////crlf//<conditional expression; expression:undefined(\\quot\\__DateFrom__\\quot\\)>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf////crlf//<conditional expression; expression:undefined(\\quot\\__DateTo__\\quot\\)>//crlf////tab//Error: Missing DateTo//crlf//</conditional>//crlf////crlf//<conditional expression; expression:(defined(\\quot\\__StoreID__\\quot\\)) and (defined(\\quot\\__DateFrom__\\quot\\)) and (defined(\\quot\\__DateTo__\\quot\\))>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter to Vendor//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterToVendor\\quot\\;//crlf////tab////tab//Condition:\\quot\\not('$value$'='select')\\quot\\;//crlf////tab////tab//Expression:\\quot\\VendorID='$value$'\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Vendor_Names_By_ID_With_Select\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//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__FilterContainsText\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\gte(pos('$value$'\\comma\\nvoice_Date+Invoice_Number+Extended_Price+Inventory_Item_Full_Group_Name+InvoiceID+Inventory_Item_Parent_Group_Name+Inventory_Item_Top_Group_Name+VendorID+Vendor)\\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//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 //crlf////tab////tab//type:view; //crlf////tab////tab//viewid:\\quot\\5DXHIPVX\\quot\\; //crlf////tab////tab//Source:\\quot\\\\quot\\; //crlf////tab////tab//params:\\quot\\salt=__salt__//amp////crlf////tab////tab////tab//ExternalFilters=__salt__FilterToVendor\\comma\\__salt__FilterContainsText//amp////crlf////tab////tab////tab//StoreID=__StoreID__//amp////crlf////tab////tab////tab//DateFrom=__DateFrom__//amp////crlf////tab////tab////tab//DateTo=__DateTo__//amp////crlf////tab////tab////tab//InspectMenu=ZVU5gJbS\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=649921|X=151|Y=33|W=947|H=593|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//This driver is for debuggins.  It is used to open an //crlf//Aspect_BackOffice_Invoice_Detail_Group_Summary driver.  This driver is //crlf//created by subtotaling the Aspect_Back_Office_Invoice_Detail_Summary driver//crlf//for a range of days to totals for each invoice ID and inventory group.//crlf////crlf//This driver is used by the Invoice Detail By Group view which uses this driver//crlf//in a dimensional view.  It provides an efficient way to create invoice reports //crlf//that contain only the inventory group totals and not the individual items.//crlf//--------------------------------------------------------------------------]//crlf////crlf//<conditional expression; expression:undefined(\\quot\\__StoreID__\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf////crlf//<conditional expression; expression:undefined(\\quot\\__DateFrom__\\quot\\)>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf////crlf//<conditional expression; expression:undefined(\\quot\\__DateTo__\\quot\\)>//crlf////tab//Error: Missing DateTo//crlf//</conditional>//crlf////crlf//<conditional expression; expression:(defined(\\quot\\__StoreID__\\quot\\)) and (defined(\\quot\\__DateFrom__\\quot\\)) and (defined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACKOFFICE_INVOICE_DETAIL_GROUP_SUMMARY\\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~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACKOFFICE_INVOICE_DETAIL_GROUP_SUMMARY\\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_INVOICE_DETAIL_GROUP_SUMMARYDialog\\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//^
ID=687084|X=151|Y=33|W=942|H=731|AutoHeight=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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false -->//crlf//<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\gfs(getStoreDir(//pound//StoreID)+\\quot\\countgroup.bin\\quot\\))}//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\gfs(getStoreDir(//pound//StoreID)+\\quot\\size.bin\\quot\\))}//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_PHYSICAL_COUNT_LIST\\comma\\\\quot\\StoreID=__StoreID__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\12112019\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Debugging//crlf//--------------------------------------------------------------------------]//crlf//<include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\fZcw1GYINpAKkHrCzx3QTjPW\\quot\\)>//crlf////crlf//<conditional expression:(true) or (\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__salt__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf////tab//<script ID=\\quot\\JSASPECT_BACK_OFFICE_PHYSICAL_COUNT_LIST_DIALOG\\quot\\>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Called when the dialog is opened to edit an item in the count group//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//function editCountGroupDetail(DialogID\\comma\\bInitialized) {//crlf////tab////tab////tab//if(bInitialized) {//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////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 sItemID=document.getElementById(\\quot\\ItemID\\quot\\+salt+\\quot\\_input_submit\\quot\\).value;//crlf////tab////tab////tab//if(sItemID!=\\quot\\000\\quot\\) {//crlf////tab////tab////tab////tab//var sName=document.getElementById(salt+\\quot\\HiddenItemName\\quot\\).value;//crlf////tab////tab////tab////tab//appendToLog(\\quot\\sName:\\quot\\+sName);//crlf////crlf////tab////tab////tab////tab////------------------------------------------------------------------------------------------------------------//crlf////tab////tab////tab////tab////make sure the item exists in the datalist containing all items.  Deleted items will not be included in the datalists initially//crlf////tab////tab////tab////tab////------------------------------------------------------------------------------------------------------------//crlf////tab////tab////tab////tab//var eDataList=document.getElementById(\\quot\\ItemID\\quot\\+salt);//crlf////tab////tab////tab////tab//var bExists=false;//crlf////tab////tab////tab////tab//for(var i=0;(!bExists) //amp////amp// (i<eDataList.options.length);i++) {//crlf////tab////tab////tab////tab////tab//var sValue=eDataList.options[i].value;//crlf////tab////tab////tab////tab////tab//var sAspectID=eDataList.options[i].getAttribute(\\quot\\aspectid\\quot\\);//crlf////tab////tab////tab////tab////tab//if(sAspectID.equalsIgnoreCase(sItemID)) {//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Found item in \\quot\\+eDataList.id+\\quot\\ sValue=\\quot\\+sValue+\\quot\\ sAspectID=\\quot\\+sAspectID);//crlf////tab////tab////tab////tab////tab////tab//bExists=true;//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//if(!bExists) {//crlf////tab////tab////tab////tab////tab//var sOption=\\quot\\<option value=\\\quot\\\\quot\\+sName+\\quot\\\\\quot\\ aspectid=\\\quot\\\\quot\\+sItemID+\\quot\\\\\quot\\></option>\\quot\\//crlf////tab////tab////tab////tab////tab//eDataList.innerHTML=sOption+eDataList.innerHTML;//crlf////tab////tab////tab////tab////tab//document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItem_input\\quot\\).value=sName;//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Added option: \\quot\\+sOption+\\quot\\ to datalist: \\quot\\+eDataList.id);//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab////clear the --select item-- text//crlf////tab////tab////tab////tab////document.getElementById(\\quot\\ItemID\\quot\\+salt+\\quot\\_input\\quot\\).value=\\quot\\\\quot\\;//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Updates the default size when the item selection changes//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//function dataSubmittedListenerItemID(HashID\\comma\\TableID\\comma\\DriverID\\comma\\Key\\comma\\Value) {//crlf////tab////tab////tab//var salt=replaceAllSubstrings(TableID\\comma\\\\quot\\physicalcountlist\\quot\\\\comma\\\\quot\\\\quot\\);//crlf////tab////tab////tab//var eDefaultSize=document.getElementById(\\quot\\DefaultSize\\quot\\+salt);//crlf////tab////tab////tab//var sItemID=document.getElementById(\\quot\\ItemID\\quot\\+salt+\\quot\\_input_submit\\quot\\).value;//crlf////tab////tab////tab//appendToLog(\\quot\\sItemID=\\quot\\+sItemID);//crlf////tab////tab////tab//if(sItemID==\\quot\\000\\quot\\) return;//crlf////tab////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Items\\quot\\;//crlf////tab////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=sensor_list//amp//sensor=getDefaultSize//amp//SensorExec=true\\quot\\;//crlf////tab////tab////tab//sUrl +=\\quot\\//amp//StoreID=__StoreID__//amp//ItemID=\\quot\\+sItemID+\\quot\\//amp//Return=Size\\quot\\;//crlf////tab////tab////tab//appendToLog(\\quot\\sUrl=\\quot\\+sUrl);//crlf////tab////tab////tab//showStatusIcon(eDefaultSize);//crlf////tab////tab////tab//asynchInclude(eDefaultSize\\comma\\sUrl);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!-- Dialog used to edit a record -->//crlf////tab//<div ID=\\quot\\ASPECT_BACK_OFFICE_COUNT_GROUP__salt__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ AdjustHeight=\\quot\\false\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:800px; display:none;\\quot\\>//crlf////tab////tab//<div style=\\quot\\padding:5px;width:100\\percent\\\\quot\\>//crlf////tab////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab////tab//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this)\\quot\\></div>//crlf////crlf////tab////tab////tab//<!--//tab//Note:  If a a Javascript function named initializeDialogxxx where xxx is the dialog ID is defined\\comma\\ //crlf////tab////tab////tab////tab//it will be called//tab//after the dialog values have been set and before the dialog is made visible.//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//An initialization function may also be specified by including it in an attribute named 'aspectinit'//crlf////tab////tab////tab////tab//in the dialog div above.  Only include the function name with no parentheses or arguments.  //crlf////tab////tab////tab////tab//Arguments can be made//tab//available to the function by including them as attributes or by embedding //crlf////tab////tab////tab////tab//them in this div.  Use this method when the dialog ID is randomized to allow for multiple instances//crlf////tab////tab////tab////tab//in one document.//crlf////crlf////tab////tab////tab////tab//If an Aspect script is defined with the ID xxx_DataSubmitted where xxx is the driver ID\\comma\\ it will//crlf////tab////tab////tab////tab//be called whenever data is submitted due to an edit in either the table or the dialog.//crlf////tab////tab////tab////tab//Arguments passed to the script are in the form://crlf////crlf////tab////tab////tab////tab////tab//driver=xxx//amp//r=n//amp//fields=//amp//values=//crlf////crlf////tab////tab////tab////tab//where driver is the name of a system driver\\comma\\ r is the absolute record number\\comma\\//crlf////tab////tab////tab////tab//fields is a pipe-delimited list of field ID's and values is a pipe-delimited list of//crlf////tab////tab////tab////tab//values.  Ampersands and pipes in the values are tokenized by surrounding//crlf////tab////tab////tab////tab//them with two forward slashes.//crlf////tab////tab////tab//-->//crlf////tab// //crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//This is a hidden element used to pass the count group ID to the count list//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__CountGroupID\\quot\\ name=\\quot\\ID\\quot\\ param=\\quot\\GroupID=$value$\\quot\\ Expression=\\quot\\GroupID='$value$'\\quot\\>//crlf////crlf////tab////tab////tab//<!-- The TableEditDialogTabsContainerExclusive and TableEditDialogSelectContainerExclusive//crlf////tab////tab////tab////tab//classes are used to make either the tabs or the select box visible\\comma\\ depending on the//crlf////tab////tab////tab////tab//size of the browser.  If only one or two tabs are to be included\\comma\\ the //crlf////tab////tab////tab////tab//TableEditDialogTabsContainer class can be used for the tabs and the select box can//crlf////tab////tab////tab////tab//be ommitted.//crlf////tab////tab////tab//-->//crlf////tab////tab////tab//<div class=\\quot\\TableEditDialogTabsContainerExclusive\\quot\\>//crlf////tab////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__count_group')\\quot\\>Count Group</span></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//tab////crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab////tab//<select onChange=\\quot\\showTab(this);this.blur();\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab////tab//<option value='__salt__count_group'>Count Group</option>//crlf////tab////tab////tab////tab//</select>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Count Group//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div ID=\\quot\\__salt__count_group\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab////tab//<table style=\\quot\\width:auto\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Name</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:300px;\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Name\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab//<br>//crlf////crlf////tab////tab////tab////tab//<!-- Dialog used to edit a record -->//crlf////tab////tab////tab////tab//<div ID=\\quot\\ASPECT_BACK_OFFICE_PHYSICAL_COUNT_LIST__salt__\\quot\\ salt=\\quot\\__salt__\\quot\\ aspectinit=\\quot\\editCountGroupDetail\\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\\Inventory Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>;\\quot\\>//crlf////tab////tab////tab////tab////tab//<div style=\\quot\\padding:5px;width:100\\percent\\\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab////tab////tab////tab////tab//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this)\\quot\\></div>//crlf////crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__HiddenItemName\\quot\\ name=\\quot\\Item_Name\\quot\\>//crlf////crlf////tab////tab////tab////tab////tab////tab//<div class=\\quot\\TableEditDialogTabsContainerExclusive\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__main')\\quot\\>Edit Item</span></td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab////tab//</table>//tab////crlf////tab////tab////tab////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab////tab////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab//<select onChange=\\quot\\showTab(this)\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<option value='__salt__main'>Edit Item</option>//crlf////tab////tab////tab////tab////tab////tab////tab//</select>//crlf////tab////tab////tab////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab////tab////tab////tab//<!-- main -->//crlf////tab////tab////tab////tab////tab////tab//<div ID=\\quot\\__salt__main\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<td>Item Name</td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//<!!!include type:Collection;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//ID:\\quot\\ItemID__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//Name:\\quot\\ItemID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//DataList:\\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//SubmitDialogCell:\\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Items_by_ID_with_Select\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//_HtmlParams:\\quot\\onChange=\\quot\\submitDialogCell(this)~0x3B~countListItemSelected(this)\\quot\\ style=\\quot\\width:250px\\quot\\ Salt=\\quot\\__Salt__\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\placeholder='Type the name of an item' style=\\quot\\width:250px\\quot\\ Salt=\\quot\\__Salt__\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//Filter:\\quot\\(Record_Type=1) or (Include_In_Inventory_Count)\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<td>//amp//nbsp;</td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ ID=\\quot\\__salt__IncludeInactiveItems\\quot\\> Include inactive items//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<td>Default Size</td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<td><span ID=\\quot\\DefaultSize__Salt__\\quot\\ name=\\quot\\Default_Size\\quot\\></span></td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//<div style=\\quot\\padding-top:10px\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Override_Count_Size\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//Change count size to //crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Override_Size_Prefix\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Override_Size_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab////tab//</div>//crlf////tab////tab////tab////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab////tab////tab//</div>//crlf////tab////tab////tab////tab//</div>//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ID: \\quot\\physicalcountlist__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_PHYSICAL_COUNT_LIST\\quot\\;//crlf////tab////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~salt=__salt__~~pipe~~Metadata=ASPECT_BACK_OFFICE_PHYSICAL_COUNT_LIST\\quot\\;//crlf////tab////tab////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//display: \\quot\\Items by Sort Order\\quot\\;//crlf////tab////tab////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab////tab//maxrecords: \\quot\\300\\quot\\;//crlf////tab////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//InsertPosition: \\quot\\bottom\\quot\\;//crlf////tab////tab////tab////tab////tab//RefreshOnDataSubmit: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//EmbedValues: \\quot\\Default_Size\\comma\\Override_Count_Size\\comma\\Override_Size_Prefix\\comma\\ItemID\\comma\\Item_Name\\comma\\//crlf////tab////tab////tab////tab////tab////tab//GroupID\\comma\\Override_Size_Unit\\comma\\ID\\comma\\Default_Size\\comma\\Active_Size\\comma\\Group_Name\\comma\\GroupID\\comma\\//crlf////tab////tab////tab////tab////tab////tab//Section_Header_By_Count_Group_Name\\comma\\List_Position\\quot\\;//crlf////tab////tab////tab////tab////tab//EditDialogID: \\quot\\ASPECT_BACK_OFFICE_PHYSICAL_COUNT_LIST__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab//_EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~116968~~pipe~~ASPECT_BACK_OFFICE_PHYSICAL_COUNT_LIST~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//ExternalParams: \\quot\\__salt__CountGroupID\\quot\\;//crlf////tab////tab////tab////tab////tab//ExternalFilters: \\quot\\__salt__CountGroupID\\quot\\;//crlf////tab////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//RecordCount: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//Timestamp: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_COUNT_GROUP\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~StoreID=__StoreID__~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_COUNT_GROUP\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\300\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab//InsertPosition: \\quot\\top\\quot\\;//crlf////tab////tab//RefreshOnDataSubmit: \\quot\\true\\quot\\;//crlf////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT_BACK_OFFICE_COUNT_GROUP__salt__\\quot\\;//crlf////tab////tab//_EditDialogID: \\quot\\DocumentID~~pipe~~Widget~~pipe~~Item~~pipe~~ASPECT_BACK_OFFICE_COUNT_GROUP~~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>//crlf////crlf//<conditional expression:not(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//</conditional>//crlf////crlf//__servertimerresults__//crlf//^
ID=543904|X=151|Y=33|W=924|H=750|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_PHYSICAL_COUNT\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\02052017\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Physical_Count//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__StoreID__\\quot\\))) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing Store ID//crlf//</conditional>//crlf//<conditional expression:(not(defined(\\quot\\__Date__\\quot\\)))>//crlf////tab//Error: Missing date//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\))>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Constants//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\display\\quot\\\\comma\\\\quot\\__display__\\quot\\\\comma\\\\quot\\Counts by Inventory Group / Item Name\\quot\\)>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter to item ID.  Disabled.  Used for debugging.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//Item ID <!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab//ID:\\quot\\FilterItemID__salt__\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\ItemID='$value$'\\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//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter to Inventory Group//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\SelectFinalGroup__salt__\\quot\\;//crlf////tab////tab//Condition:\\quot\\not('$value$'='$select')\\quot\\;//crlf////tab////tab//Expression:\\quot\\Final_Group_ID_For_Filter='$value$'\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inv_Item_Final_Group_Name_with_Select\\quot\\;//crlf////tab////tab//Selected:\\quot\\$select\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Show deleted items//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\Checkbox\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__ShowDeletedItems\\quot\\;//crlf////tab////tab//Condition:\\quot\\'$value$'='false'\\quot\\;//crlf////tab////tab//Expression:\\quot\\not(Deleted)\\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 items//crlf////crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\false)>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_PHYSICAL_COUNT\\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__'))+'physical_count.__Date__.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_PHYSICAL_COUNT~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\__display__\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~90182~~pipe~~ASPECT_BACK_OFFICE_PHYSICAL_COUNT~~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\\FilterItemID__salt__\\comma\\SelectFinalGroup__salt__\\comma\\__salt__ShowDeletedItems\\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//faq: \\quot\\cmBQ1ost\\quot\\;//crlf////tab////tab//procedure: \\quot\\tx54bnC1\\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\\\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf////crlf//</conditional>//crlf////crlf//^
ID=761414|X=151|Y=33|W=1115|H=755|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=393441|AttachLeft=|AlignLeft=393441|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=//crlf////crlf//<!-- servertimer=false -->//crlf//[!------------------------------------------------------------------------//crlf//This is copied from the dimensional drivers widget.  It is a quick way to allow //crlf//for adding a header including the store and dates at the top.  //crlf//--------------------------------------------------------------------------]//crlf////crlf//<!-- this is for testing -->//crlf//<include type:expression; expression:htmlConstant(\\quot\\DimensionalViewID\\quot\\\\comma\\\\quot\\__DimensionalViewID__\\quot\\\\comma\\\\quot\\3nkfgnlI\\quot\\)>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__salt__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Note: Values for InspectMenu\\comma\\ Faq\\comma\\ Procedure and Video get special handling.  The//crlf//Open Dimensional System Driver item reads these values from the dimensional driver setup //crlf//and adds them as driver params when the system driver is opened.  TAspectDriver looks for //crlf//faq\\comma\\ procedure\\comma\\ video and inspectmenu in both the driver include tags AND in the driver //crlf//params.  This means that these values don't need to be included in the table if they //crlf//are defined in the dimensional view dialog.//crlf//--------------------------------------------------------------------------]//crlf//<include type:expression; expression:htmlConstant(\\quot\\InspectMenu\\quot\\\\comma\\\\quot\\__InspectMenu__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\TableVisible\\quot\\\\comma\\\\quot\\__TableVisible__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf//<_include type:expression; expression:htmlConstant(\\quot\\Chart\\quot\\\\comma\\\\quot\\__Chart__\\quot\\\\comma\\\\quot\\true\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\style\\quot\\\\comma\\\\quot\\__style__\\quot\\\\comma\\\\quot\\width:auto\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\CellFormatting\\quot\\\\comma\\\\quot\\__CellFormatting__\\quot\\\\comma\\\\quot\\false\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\Display\\quot\\\\comma\\\\quot\\__Display__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\EditDialogID\\quot\\\\comma\\\\quot\\__EditDialogID__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\canEdit\\quot\\\\comma\\\\quot\\__canEdit__\\quot\\\\comma\\\\quot\\false\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\canDelete\\quot\\\\comma\\\\quot\\__canDelete__\\quot\\\\comma\\\\quot\\false\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\canAdd\\quot\\\\comma\\\\quot\\__canAdd__\\quot\\\\comma\\\\quot\\false\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\CanSelect\\quot\\\\comma\\\\quot\\__CanSelect__\\quot\\\\comma\\\\quot\\false\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\EmbedValues\\quot\\\\comma\\\\quot\\__EmbedValues__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\Menu\\quot\\\\comma\\\\quot\\__Menu__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\XDisplayFilter\\quot\\\\comma\\\\quot\\__XDisplayFilter__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\ExternalParams\\quot\\\\comma\\\\quot\\__ExternalParams__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\ExternalFilters\\quot\\\\comma\\\\quot\\__ExternalFilters__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\BaseFilter\\quot\\\\comma\\\\quot\\__BaseFilter__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\Debug\\quot\\\\comma\\\\quot\\__Debug__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\ChartWidth\\quot\\\\comma\\\\quot\\__ChartWidth__\\quot\\\\comma\\\\quot\\100\\percent\\\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\ChartHeight\\quot\\\\comma\\\\quot\\__ChartHeight__\\quot\\\\comma\\480)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\ChartTitle\\quot\\\\comma\\\\quot\\__ChartTitle__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\ChartStyle\\quot\\\\comma\\\\quot\\__ChartStyle__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\ChartVisible\\quot\\\\comma\\\\quot\\__ChartVisible__\\quot\\\\comma\\true)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\MaxRecords\\quot\\\\comma\\\\quot\\__MaxRecords__\\quot\\\\comma\\500)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\ChartPosition\\quot\\\\comma\\\\quot\\__ChartPosition__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\ChartCanClose\\quot\\\\comma\\\\quot\\__ChartCanClose__\\quot\\\\comma\\\\quot\\false\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\TableControls\\quot\\\\comma\\\\quot\\__TableControls__\\quot\\\\comma\\true)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\TableHeader\\quot\\\\comma\\\\quot\\__TableHeader__\\quot\\\\comma\\true)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\TableBorder\\quot\\\\comma\\\\quot\\__TableBorder__\\quot\\\\comma\\true)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\SelectDisplay\\quot\\\\comma\\\\quot\\__SelectDisplay__\\quot\\\\comma\\true)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\EditDisplay\\quot\\\\comma\\\\quot\\__EditDisplay__\\quot\\\\comma\\true)>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\PageArgs1\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\replaceSubstring(\\quot\\__PageArgs__\\quot\\\\comma\\char(0x3B)\\comma\\\\quot\\\\quot\\))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//If a chart title is defined\\comma\\ it is included here.  The showGoogleChartSub()//crlf//javascript function looks for an element with the ID [TableID][CharTitle]//crlf//when creating the chart.//crlf////crlf//The chart title can also be specified using an external driver param.  In //crlf//that case\\comma\\ it does not need to be passed in the params for the dimensional //crlf//driver.  See the Horizon Analysis 2 for an example.//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:defined(\\quot\\__ChartTitle__\\quot\\)>//crlf////tab//<span ID=\\quot\\__salt__ChartTitle\\quot\\ style=\\quot\\display:none\\quot\\>__ChartTitle__</span>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Javascript can be included here by creating a view pointing to the javascript//crlf//item and passing the ID of the view in the JSViewID parameter.  See the //crlf//Labor Detail dimensional driver for an example.  //crlf//--------------------------------------------------------------------------]//crlf//<conditional type:expresion; expression:(defined(\\quot\\__JSViewID__\\quot\\)) and (gt(len(\\quot\\__JSViewID__\\quot\\)\\comma\\0\\comma\\n))>//crlf////tab//<script ID=\\quot\\JS__JSViewID__\\quot\\>//crlf////tab////tab//<!include type:view; viewid:\\quot\\__JSViewID__\\quot\\; Source:\\quot\\\\quot\\; params:\\quot\\\\quot\\;> //crlf////tab//</script>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=======================================================================================//crlf//Create a constant named MetadataAddendum that will be added to the display metadata.//crlf//This is necessary because a single dimensional view (template) may be defined and other//crlf//views may use that template\\comma\\ passing different dimensions to it.  If only the dimensional//crlf//view ID was used in the metadata\\comma\\ these views would all share the same displays even though //crlf//their X\\comma\\\\comma\\Y\\comma\\M dimensions are different and that would not work.//crlf////crlf//This script checks for all params staring with YDim\\comma\\ XDim or Measure.  This is done because //crlf//multiple values for a dimension may be passed as long as they start with one of these //crlf//prefixes.  E.g. YDim1=//amp//YDim2=...//crlf////crlf//This script also looks for a param named metadata which can be passed to the driver//crlf//as a parameter to create a unique display metadata value.  For example\\comma\\ the item used //crlf//to inspect overtime passes a metadata value to the embedded view so it has its own set//crlf//of displays.//crlf//=======================================================================================//crlf//</conditional>//crlf//<!include type:script; commands:\\quot\\//crlf////tab//c=getElementCount(\\quot\\__PageArgs1__\\quot\\\\comma\\\\quot\\~\\quot\\)//crlf////tab//n=0//crlf////tab//sReturn=\\quot\\\\quot\\//crlf////tab//while(n<c)//crlf////tab////tab//s1=getElement(\\quot\\__PageArgs1__\\quot\\\\comma\\n\\comma\\\\quot\\~\\quot\\)//crlf////tab////tab//if((startsWith(s1\\comma\\\\quot\\YDim\\quot\\)) or (startsWith(s1\\comma\\\\quot\\XDim\\quot\\)) or (startsWith(s1\\comma\\\\quot\\Measure\\quot\\)) or (startsWith(s1\\comma\\\\quot\\MetadataAdd\\quot\\)))//crlf////tab////tab////tab//sReturn=sReturn + s1//crlf////tab////tab//endif//crlf////tab////tab//n++//crlf////tab//endwhile//crlf////tab//return(htmlConstant(\\quot\\MetadataAddendum\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sReturn))//crlf//\\quot\\>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Debugging//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(false) and (getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\4idczse69\\quot\\)>//crlf////tab//<hr>//crlf////tab//<b>Dimensional Table</b>//crlf////tab//<hr>//crlf////tab//<table>//crlf////tab////tab//<tr><td>Salt</td><td>__Salt__</td></tr>//crlf////tab////tab//<tr><td>ReportID</td><td>__ReportID__</td></tr>//crlf////tab////tab//<tr><td>AddReportID</td><td>__AddReportID__</td></tr>//crlf////tab////tab//<tr><td>Chart</td><td>__Chart__</td></tr>//crlf////tab////tab//<tr><td>display</td><td>__display__</td></tr>//crlf////tab////tab//<tr><td>XDisplayFilter</td><td>__XDisplayFilter__</td></tr>//crlf////tab////tab//<tr><td>BaseFilter</td><td>__BaseFilter__</td></tr>//crlf////tab////tab//<tr><td>DriverFilter</td><td>__DriverFilter__</td></tr>//crlf////tab////tab//<tr><td>DimDriverParams</td><td>{@replaceSubstring(\\quot\\__DimDriverParams__\\quot\\\\comma\\\\quot\\//power//\\quot\\\\comma\\\\quot\\//power// \\quot\\)}</td></tr>//crlf////tab////tab//<tr><td>XDisplayFilter1Param</td><td>__XDisplayFilter1Param__</td></tr>//crlf////tab////tab//<tr><td>XDisplayFilter1Value</td><td>__XDisplayFilter1Value__</td></tr>//crlf////tab//</table>//crlf////tab//<hr>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Hesder//crlf//--------------------------------------------------------------------------]//crlf//<div>//crlf////tab//<h1>{@getStoreName(\\quot\\__StoreID__\\quot\\)}</h1>//crlf////tab//<h1>Cost Of Sales : __DateFrom__ - __DateTo__</h1>//crlf//</div>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Chart//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__chart__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div name=\\quot\\ChartName\\quot\\ //crlf////tab////tab//<conditional expression:defined(\\quot\\__TableID__\\quot\\)>//crlf////tab////tab////tab//ID=\\quot\\__TableID__Chart\\quot\\//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:not(defined(\\quot\\__TableID__\\quot\\))>//crlf////tab////tab////tab//ID=\\quot\\__salt__Chart\\quot\\ //crlf////tab////tab//</conditional>//crlf////tab////tab//style=\\quot\\width:__ChartWidth__;height:__ChartHeight__;display:none\\quot\\>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf////crlf//<conditional expression:defined(\\quot\\__DimensionalViewID__\\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\\__salt__\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Greenlight_Dimensional_System_Driver\\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\\ReportID=__ReportID__~~pipe~~DimDriverParams=__DimDriverParams__~~pipe~~DimensionalViewID=__DimensionalViewID__~~pipe~~Metadata=ASPECT_DIMENSIONAL_DRIVER7edJYe8PDim\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\__Display__\\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//XDisplayFilter: \\quot\\__XDisplayFilter__\\quot\\;//crlf////tab////tab//<conditional expression:false>//crlf////tab////tab////tab//These XDisplayFilter params are passed from the Dimensional Report Viewer.//crlf////tab////tab////tab//They are used to set specific external filter values when the table //crlf////tab////tab////tab//is first loaded.  See the \\quot\\Wrapper For Consolidated Data Series\\quot\\ item in the Dashboards //crlf////tab////tab////tab//widget of the investing package for an example.  That item sets the values as://crlf////crlf////tab////tab////tab//XDisplayFilter1Param=XDisplayXFilter___salt__FilterDateFrom//amp////crlf////tab////tab////tab//XDisplayFilter1Value=(gte(Date\\comma\\'__DateFrom__'\\comma\\d))//power//__DateFrom__//power//true//power//and//amp////crlf////crlf////tab////tab////tab//See the faq: Table functions and driver include tags for more information.//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:defined(\\quot\\__XDisplayFilter1Param__\\quot\\)>//crlf////tab////tab////tab//__XDisplayFilter1Param__: \\quot\\__XDisplayFilter1Value__\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:defined(\\quot\\__XDisplayFilter2Param__\\quot\\)>//crlf////tab////tab////tab//__XDisplayFilter2Param__: \\quot\\__XDisplayFilter2Value__\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:defined(\\quot\\__XDisplayFilter3Param__\\quot\\)>//crlf////tab////tab////tab//__XDisplayFilter3Param__: \\quot\\__XDisplayFilter3Value__\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//BaseFilter: \\quot\\__BaseFilter__\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\__MaxRecords__\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//<conditional expression:(\\quot\\__TableVisible__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab////tab//style: \\quot\\display:none\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:not(\\quot\\__TableVisible__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab////tab//style: \\quot\\__style__\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//CellFormatting: \\quot\\__CellFormatting__\\quot\\;//crlf////tab////tab//height:\\quot\\auto\\quot\\;//crlf////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab//canSelect: \\quot\\__canSelect__\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\__CanEdit__\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\__canDelete__\\quot\\;//crlf////tab////tab//InspectMenu: \\quot\\__InspectMenu__\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\__EmbedValues__\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\__EditDialogID__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\__ExternalParams__\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\__ExternalFilters__\\quot\\;//crlf////tab////tab//TableControls: \\quot\\__TableControls__\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\__TableHeader__\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\__TableBorder__\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\__SelectDisplay__\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\__EditDisplay__\\quot\\;//crlf////tab////tab//Menu: \\quot\\__Menu__\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\__ChartWidth__\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\__ChartHeight__\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\__ChartLabels__\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\__ChartTitle__\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\__ChartStyle__\\quot\\;//crlf////tab////tab//ChartVisible: \\quot\\__ChartVisible__\\quot\\;//crlf////tab////tab//ChartCanClose: \\quot\\__ChartCanClose__\\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\\__Debug__\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//================================================================//crlf//Can't add blank space here because it causes a problem when a view//crlf//is embedded using a view tag.  Need to figure out a solution if//crlf//display options dialog is not visible for tables with only a few//crlf//records.//crlf//================================================================//crlf//</conditional>//crlf//<conditional expression:false>//crlf////tab//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//</conditional>//crlf////crlf//__servertimerresults__//crlf//
</widget><widget name="Inventory Setup" group="" category="" description="Old widget from 2014.  Should be deleted." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Inventory Setup" modified="08-15-2015 19:57:41" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=07-03-2015 12:54:27: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=1107|toolboxy=271|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Inventory Setup.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'742621')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'drivers')\\quot\\>Drivers</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'consdriver')\\quot\\>Consolidated Drivers</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'calc_legit_table')\\quot\\>Calc Legit</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'732053')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=742621|X=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=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=var arTabs=[\\quot\\area_count\\quot\\\\comma\\\\quot\\physical_count\\quot\\\\comma\\\\quot\\batch_count\\quot\\\\comma\\\\quot\\daily_summary\\quot\\\\comma\\\\quot\\inventory_extensions\\quot\\\\comma\\\\quot\\invoices\\quot\\\\comma\\\\quot\\invoice_details\\quot\\\\comma\\\\quot\\inventory_item_group\\quot\\\\comma\\\\quot\\inventory_items\\quot\\\\comma\\\\quot\\conversions\\quot\\\\comma\\\\quot\\menu_item_group\\quot\\\\comma\\\\quot\\menu_items\\quot\\\\comma\\\\quot\\menu_item_details\\quot\\\\comma\\\\quot\\vendors\\quot\\\\comma\\\\quot\\sizes\\quot\\\\comma\\\\quot\\areas\\quot\\\\comma\\\\quot\\menu_item_sales\\quot\\];//crlf////crlf//var arImportAllTabs=[\\quot\\vendors\\quot\\\\comma\\\\quot\\sizes\\quot\\\\comma\\\\quot\\areas\\quot\\\\comma\\\\quot\\inventory_item_group\\quot\\\\comma\\\\quot\\inventory_items\\quot\\\\comma\\\\quot\\Conversions\\quot\\\\comma\\\\quot\\menu_item_group\\quot\\\\comma\\\\quot\\menu_items\\quot\\\\comma\\\\quot\\menu_item_details\\quot\\\\comma\\\\quot\\menu_item_sales\\quot\\\\comma\\\\quot\\area_count\\quot\\\\comma\\\\quot\\begin_count\\quot\\\\comma\\\\quot\\end_count\\quot\\\\comma\\\\quot\\invoices\\quot\\\\comma\\\\quot\\invoice_details\\quot\\\\comma\\];//crlf//var arImportSetupTabs=[\\quot\\vendors\\quot\\\\comma\\\\quot\\sizes\\quot\\\\comma\\\\quot\\areas\\quot\\\\comma\\\\quot\\inventory_item_group\\quot\\\\comma\\\\quot\\inventory_items\\quot\\\\comma\\\\quot\\menu_item_group\\quot\\\\comma\\\\quot\\menu_items\\quot\\\\comma\\\\quot\\menu_item_details\\quot\\];//crlf//var arImportPeriodTabs=[\\quot\\area_count\\quot\\\\comma\\\\quot\\physical_count\\quot\\\\comma\\\\quot\\batch_count\\quot\\\\comma\\\\quot\\invoices\\quot\\\\comma\\\\quot\\invoice_details\\quot\\\\comma\\\\quot\\menu_item_sales\\quot\\];//crlf////crlf//initialize();//crlf////crlf//function initialize()//crlf//{//crlf////tab//var d=document.getElementById(\\quot\\import_aspect6_data\\quot\\);//crlf////tab//if(!d) {//crlf////tab////tab//setTimeout(\\quot\\initialize()\\quot\\\\comma\\100);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////setVisible(d\\comma\\false);//crlf//};//crlf////crlf//function calcPrice(DialogID\\comma\\s)//crlf//{//crlf////tab//if(s) {//crlf////tab////tab//showDialog();//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab//var Aspect7StoreID=document.getElementById(\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\).value;//crlf////tab//if(Aspect7StoreID==\\quot\\0\\quot\\) {//crlf////tab////tab//showDialog(\\quot\\Msg=Aspect7 store not selected<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab//var Url=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab//Url +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Setup\\quot\\;//crlf////tab//Url +=\\quot\\//amp//ContainerItemID=AspectScript//amp//query=calcPrice\\quot\\;//crlf////tab//Url +=\\quot\\//amp//StoreID=\\quot\\+Aspect7StoreID;//crlf////tab//Url +=\\quot\\//amp//ItemID=\\quot\\+document.getElementById(\\quot\\Inventory_Item_ID\\quot\\).value;//crlf////tab//Url +=\\quot\\//amp//Date=\\quot\\+document.getElementById(\\quot\\calc_price_date\\quot\\+DialogID).value;//crlf////tab//Url +=\\quot\\//amp//Qty=\\quot\\+document.getElementById(\\quot\\calc_price_qty\\quot\\+DialogID).value;//crlf////tab//Url +=\\quot\\//amp//Prefix=\\quot\\+document.getElementById(\\quot\\count_size1_prefix\\quot\\+DialogID).value;//crlf////tab//Url +=\\quot\\//amp//SizeID=\\quot\\+document.getElementById(\\quot\\count_size1_unit\\quot\\+DialogID).value;//crlf////tab//appendToLog(\\quot\\url=\\quot\\+Url);//crlf////crlf////tab//showDialog(\\quot\\icon=true//amp//msg=Calculating price...\\quot\\);//crlf////tab//var e=document.getElementById(\\quot\\calc_price_result\\quot\\+DialogID);//crlf////tab//var sFunc=\\quot\\calcPrice(\\\quot\\\\quot\\+DialogID+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab//asynchInclude(e\\comma\\Url\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf//function calcLegit(DialogID)//crlf//{//crlf////tab//var Aspect7StoreID=document.getElementById(\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\).value;//crlf////tab//if(Aspect7StoreID==\\quot\\0\\quot\\) {//crlf////tab////tab//showDialog(\\quot\\Msg=Aspect7 store not selected<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab//var d=document.getElementById(\\quot\\calc_legit_table\\quot\\+DialogID);//crlf////tab//var Url=d.getAttribute(\\quot\\baseurl\\quot\\);//crlf////tab//Url +=\\quot\\//amp//MenuItemID=\\quot\\+document.getElementById(\\quot\\Menu_Item_ID\\quot\\).value;//crlf////tab//Url +=\\quot\\//amp//StoreID=\\quot\\+Aspect7StoreID;//crlf////tab//Url +=\\quot\\//amp//Qty=\\quot\\+document.getElementById(\\quot\\calc_legit_qty\\quot\\+DialogID).value;//crlf////tab//Url +=\\quot\\//amp//Prefix=\\quot\\+document.getElementById(\\quot\\Gross_Yeild_Prefix\\quot\\+DialogID).value;//crlf////tab//Url +=\\quot\\//amp//SizeID=\\quot\\+document.getElementById(\\quot\\Gross_Yeild_Unit\\quot\\+DialogID).value;//crlf////tab//d.setAttribute(\\quot\\url\\quot\\\\comma\\Url);//crlf////tab//setInterval(d\\comma\\0\\comma\\true);//crlf//};//crlf////crlf//function convertSize(s)//crlf//{//crlf////tab//if(s) {//crlf////tab////tab//document.getElementById(\\quot\\convert_to_amount\\quot\\).innerHTML=s.trim();//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab//var Aspect7StoreID=document.getElementById(\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\).value;//crlf////tab//var sUrl=getServer()+\\quot\\/?Network=Greenlight//amp//ID=getWidget\\quot\\;//crlf////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Setup\\quot\\;//crlf////tab//sUrl +=\\quot\\//amp//ContainerItemID=AspectScript//amp//query=convertSize\\quot\\;//crlf////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+document.getElementById(\\quot\\Inventory_Item_ID\\quot\\).value;//crlf////tab//sUrl +=\\quot\\//amp//Aspect7StoreID=\\quot\\+Aspect7StoreID;//crlf////tab//sUrl +=\\quot\\//amp//FromAmount=\\quot\\+document.getElementById(\\quot\\convert_from_amount\\quot\\).value;//crlf////tab//sUrl +=\\quot\\//amp//FromPrefix=\\quot\\+document.getElementById(\\quot\\convert_from_prefix\\quot\\).value;//crlf////tab//sUrl +=\\quot\\//amp//FromSizeID=\\quot\\+document.getElementById(\\quot\\convert_from_unit\\quot\\).value;//crlf////tab//sUrl +=\\quot\\//amp//ToPrefix=\\quot\\+document.getElementById(\\quot\\convert_to_prefix\\quot\\).value;//crlf////tab//sUrl +=\\quot\\//amp//ToSizeID=\\quot\\+document.getElementById(\\quot\\convert_to_unit\\quot\\).value;//crlf////crlf////tab//var sFunc=\\quot\\convertSize(s)\\quot\\;//crlf////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf///***********************************************************************************//crlf//Called when the import button is pressed to import data from Aspect6.  //crlf//***********************************************************************************///crlf//function importFromAspect6(s)//crlf//{//crlf////tab////abort if Aspect7 store is not selected//crlf////tab//var Aspect7StoreID=document.getElementById(\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\).value;//crlf////tab//if(Aspect7StoreID==\\quot\\0\\quot\\) {//crlf////tab////tab//showDialog(\\quot\\Msg=Aspect7 store not selected<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////abort if Aspect6 store is not selected//crlf////tab//var Aspect6StoreDir=document.getElementById(\\quot\\Aspect6_Store_Directories\\quot\\).value;//crlf////tab//if(Aspect6StoreDir==\\quot\\0\\quot\\) {//crlf////tab////tab//showDialog(\\quot\\Msg=Aspect6 store not selected<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////get tabs to be imported//crlf////tab//var eSelectImport=document.getElementById(\\quot\\import_selection\\quot\\);//crlf////tab////crlf////tab//var arImport=new Array();//crlf////tab//for(var i=0;i<arTabs.length;i++) {//crlf////tab////tab//if(eSelectImport.value==\\quot\\all\\quot\\) {//crlf////tab////tab////tab//if(arImportAllTabs.indexOf(arTabs[i])>=0) arImport[arImport.length]=arTabs[i];//crlf////tab////tab//}//crlf////tab////tab//else if(eSelectImport.value==\\quot\\setup\\quot\\) {//crlf////tab////tab////tab//if(arImportSetupTabs.indexOf(arTabs[i])>=0) arImport[arImport.length]=arTabs[i];//crlf////tab////tab//}//crlf////tab////tab//else if(eSelectImport.value==\\quot\\period\\quot\\) {//crlf////tab////tab////tab//if(arImportPeriodTabs.indexOf(arTabs[i])>=0) arImport[arImport.length]=arTabs[i];//crlf////tab////tab//}//crlf////tab////tab//else if(eSelectImport.value==\\quot\\visible\\quot\\) {//crlf////tab////tab////tab//if(isVisible(arTabs[i])) {//crlf////tab////tab////tab////tab//arImport[arImport.length]=arTabs[i];//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab////if this is a callback after the import is complete...//crlf////tab//if(s) {//crlf////tab////tab////enable the import button//crlf////tab////tab//document.getElementById(\\quot\\btImportAspect6Data\\quot\\).disabled=false;//crlf////crlf////tab////tab////refresh the tables//crlf////tab////tab//for(var i=0;i<arImport.length;i++) {//crlf////tab////tab////tab//var e=document.getElementById(\\quot\\div_\\quot\\+arImport[i]);//crlf////tab////tab////tab//setInterval(e\\comma\\0\\comma\\true\\comma\\\\quot\\\\quot\\);//crlf////tab////tab//};//crlf////crlf////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnok=close\\quot\\);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////disable the import button//crlf////tab//document.getElementById(\\quot\\btImportAspect6Data\\quot\\).disabled=true;//crlf////crlf////tab////hide the import dialog//crlf////tab//setVisible(\\quot\\import_aspect6_data\\quot\\\\comma\\false);//crlf////crlf////tab////import data //crlf////tab//showDialog(\\quot\\icon=true//amp//msg=Importing...\\quot\\);//crlf////crlf////tab//var sUrl=getServer()+\\quot\\/?Network=Greenlight//amp//ID=getWidget\\quot\\;//crlf////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Setup\\quot\\;//crlf////tab//sUrl +=\\quot\\//amp//ContainerItemID=AspectScript//amp//query=importFromAspect6\\quot\\;//crlf////tab//sUrl +=\\quot\\//amp//Aspect7StoreID=\\quot\\+Aspect7StoreID;//crlf////tab//sUrl +=\\quot\\//amp//Aspect6StoreDir=\\quot\\+Aspect6StoreDir;//crlf////tab//sUrl +=\\quot\\//amp//Import=\\quot\\+arImport.toString();//crlf////tab//sUrl +=\\quot\\//amp//Replace=\\quot\\+document.getElementById(\\quot\\ckDeleteExisting\\quot\\).checked;//crlf////tab//sUrl +=\\quot\\//amp//DtFrom=\\quot\\+document.getElementById(\\quot\\periodstart\\quot\\).value;//crlf////tab//sUrl +=\\quot\\//amp//DtTo=\\quot\\+document.getElementById(\\quot\\periodend\\quot\\).value;//crlf////crlf////tab//var sFunc=\\quot\\importFromAspect6(s)\\quot\\;//crlf////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf///***********************************************************************************//crlf//Called when a store is selected in the drop-down list.  Sets the store code in the//crlf//url used to display contents in all tabs.  The interval is set to -1 for all tabs//crlf//except the visible one which is refreshed using the new store code.//crlf//***********************************************************************************///crlf//function refreshInventoryTables(s)//crlf//{//crlf////tab//for(var i=0;i<arTabs.length;i++) {//crlf////tab////tab//refreshSingleTable(arTabs[i]);//crlf////tab//};//crlf//};//crlf////crlf///***********************************************************************************//crlf//Called by refreshInventoryTables.  Appends the selected store code to the baseurl//crlf//in the div used to display the contents of each tab.  The contents of the visible//crlf//tab are refreshed immediately.  The interval is set to -1 for all other tabs.//crlf////crlf//Params://crlf////tab//name - The ID of the container item to be updated.  The item must contain a div//crlf////tab////tab////tab////tab//with the same name but preceeded by \\quot\\div_\\quot\\//crlf//***********************************************************************************///crlf//function refreshSingleTable(name)//crlf//{//crlf////tab//var d=document.getElementById(\\quot\\div_\\quot\\+name);//crlf////tab//if(!d) alert(\\quot\\cannot locate \\quot\\+\\quot\\div_\\quot\\+name);//crlf////tab//var sUrl=d.getAttribute(\\quot\\baseurl\\quot\\);//crlf////tab//sUrl +=\\quot\\//amp//Store=\\quot\\+document.getElementById(\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\).value;//crlf////tab//sUrl +=\\quot\\//amp//DtFrom=\\quot\\+document.getElementById(\\quot\\periodstart\\quot\\).value;//crlf////tab//sUrl +=\\quot\\//amp//DtTo=\\quot\\+document.getElementById(\\quot\\periodend\\quot\\).value;//crlf////tab//d.setAttribute(\\quot\\url\\quot\\\\comma\\sUrl);//crlf////tab//if(isVisible(name)) {//crlf////tab////tab//setInterval(d\\comma\\0\\comma\\true\\comma\\\\quot\\\\quot\\);//crlf////tab//}//crlf////tab//else {//crlf////tab////tab//setInterval(d\\comma\\-1\\comma\\true\\comma\\\\quot\\\\quot\\);//crlf////tab////tab//d.setAttribute(\\quot\\AspectASynchInclude\\quot\\\\comma\\\\quot\\\\quot\\);//crlf////tab//};//crlf//};//crlf////crlf//
^
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=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<conditional expression:false>//crlf//==================================================================================//crlf//Gets the price of an item//crlf////crlf//Params://crlf////tab//StoreID - ID of the store//crlf////tab//ItemID - ID of the inventory item for which sizes are to be converted//crlf////tab//Date - Date for which the price will be calculated in MM-dd-yyyy format//crlf////tab//Qty - Quantity on hand for which a price will be calculated//crlf////tab//Prefix - Prefix of the size for which the price will be calculated//crlf////tab//SizeID - ID of the size for which the price will be calculated//crlf////crlf//Returns://crlf////tab//The price of the given quantity of the given item on the given date//crlf//==================================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\calcPrice\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\calcPrice Store=__StoreID__ Item=__ItemID__ Date=__Date__ Qty=__Qty__ Prefix=__Prefix__ Size=__SizeID__\\quot\\)//crlf////tab////tab//P=calcPrice(\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\__Date__\\quot\\\\comma\\__Qty__\\comma\\__Prefix__\\comma\\\\quot\\__SizeID__\\quot\\)//crlf////tab////tab//scriptSetResult(formatNumber(P\\comma\\\\quot\\0.00\\quot\\))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//==================================================================================//crlf//Converts a quantity from one size the quantity for a second size//crlf////crlf//Params://crlf////tab//ItemID - ID of the inventory item for which sizes are to be converted//crlf////tab//Aspect7StoreID - ID of the store//crlf////tab//FromAmount - Amount of the first size//crlf////tab//FromPrefix - Prefix of the first size//crlf////tab//FromSizeID - ID of the unit of the first size//crlf////tab//ToPrefix - Prefix of the second size//crlf////tab//ToSizeID - ID of the unit of the second size//crlf////crlf//Returns://crlf////tab//A numeric value for the amount of the second size//crlf//==================================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\convertSize\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\convertSize(__ItemID__\\comma\\__StoreID__\\comma\\__FromAmount__\\comma\\__FromPrefix__\\comma\\__FromSizeID__\\comma\\__ToPrefix__\\comma\\__ToSizeID__)\\quot\\)//crlf////tab////tab//d=convertSize(\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\__FromAmount__\\comma\\__FromPrefix__\\comma\\\\quot\\__FromSizeID__\\quot\\\\comma\\__ToPrefix__\\comma\\\\quot\\__ToSizeID__\\quot\\)//crlf////tab////tab//scriptSetResult(formatNumber(d\\comma\\\\quot\\0.\\pound\\\\pound\\\\pound\\\\pound\\\\quot\\))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//==================================================================================//crlf//Imports data from an Aspect6 store//crlf////crlf//Params://crlf////tab//Aspect7StoreID - ID of the Aspect7 store into which data will be imported//crlf////tab//Aspect6StoreDir - Directory of Aspect6 store containing data to be imported//crlf////tab//Import - Comma-delimited list of tabs to be imported//crlf////tab//Replace - Optional.  If true\\comma\\ existing files will be deleted before imporing//crlf////tab//DtFrom - Starting date required for some imports//crlf////tab//DtTo - Ending date required for some imports//crlf////crlf//Returns://crlf////tab//\\quot\\Ok\\quot\\ or \\quot\\Error\\quot\\//crlf//==================================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\importFromAspect6\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Import from Aspect6 Import=__Import__\\quot\\)//crlf////crlf////tab////tab////abort if the Aspect7 store ID is not specified//crlf////tab////tab//if(undefined(\\quot\\__Aspect7StoreID__\\quot\\))//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Aspect7 store ID not specified\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if the Aspect6 store directory is not specified//crlf////tab////tab//if(undefined(\\quot\\__Aspect6StoreDir__\\quot\\))//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Aspect6 store directory not specified\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if Import is not defined//crlf////tab////tab//if(undefined(\\quot\\__Import__\\quot\\))//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: No tabs specified to import\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//bReplace=(\\quot\\__Replace__\\quot\\=\\quot\\true\\quot\\)//crlf////crlf////tab////tab////get the directory of the Aspect7 store//crlf////tab////tab//sAspect7Dir=lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__Aspect7StoreID__\\quot\\)//crlf////crlf////tab////tab////array of tabs that can be imported\\comma\\ in the order that they should be imported.//crlf////tab////tab////Batch counts are not included because there are no batch counts in Aspect6 to import//crlf////tab////tab//arTabs=\\quot\\sizes\\comma\\vendors\\comma\\areas\\comma\\inventory_item_group\\comma\\inventory_items\\comma\\Conversions\\comma\\menu_item_group\\comma\\menu_items\\comma\\menu_item_details\\comma\\menu_item_sales\\comma\\area_count\\comma\\invoices\\comma\\invoice_details\\comma\\physical_count\\quot\\//crlf////crlf////tab////tab////get the action to be executed based on the visible tab//crlf////tab////tab//c=getElementCount(arTabs)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//s=getElement(arTabs\\comma\\n)//crlf////tab////tab////tab////crlf////tab////tab////tab//if(containsElement(\\quot\\__Import__\\quot\\\\comma\\s)>=0)//crlf////tab////tab////tab////tab//sAction=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//if(s=\\quot\\sizes\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importSizes\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\vendors\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importVendors\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\areas\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importAreas\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\inventory_item_group\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importInventoryItemGroups\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\inventory_items\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importInventoryItems\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\conversions\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importConversions\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\menu_item_group\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importMenuItemGroups\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\menu_items\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importMenuItems\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\menu_item_sales\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importMenuItemSales\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\invoices\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importInvoices\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\invoice_details\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importInvoiceDetails\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\menu_item_details\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importMenuItemDetails\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\physical_count\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importInventoryCount\\quot\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////tab////tab//appendToLog(\\quot\\Import from Aspect6 Action=\\quot\\\\plus\\sAction)//crlf////crlf////tab////tab////tab////tab////abort if action is not valid//crlf////tab////tab////tab////tab//if(sAction=\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid action for \\quot\\\\plus\\s)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////import the data//crlf////tab////tab////tab////tab////tab//sParams=\\quot\\Aspect6StoreDir=__Aspect6StoreDir__\\quot\\//crlf////tab////tab////tab////tab////tab//sParams=sParams \\plus\\ \\quot\\\\amp\\Aspect7StoreDir=\\quot\\\\plus\\sAspect7Dir//crlf////tab////tab////tab////tab////tab//sParams=sParams \\plus\\ \\quot\\\\amp\\Replace=\\quot\\\\plus\\bReplace//crlf////crlf////tab////tab////tab////tab////tab////if importing inventory counts\\comma\\ import from one day prior to the start of the period//crlf////tab////tab////tab////tab////tab//if(sAction=\\quot\\importInventoryCount\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//dt=parseTime(\\quot\\__dtFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\-1)//crlf////tab////tab////tab////tab////tab////tab//sParams=sParams \\plus\\ \\quot\\\\amp\\DtFrom=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//sParams=sParams \\plus\\ \\quot\\\\amp\\DtFrom=__DtFrom__\\quot\\//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//sParams=sParams \\plus\\ \\quot\\\\amp\\DtTo=__DtTo__\\quot\\//crlf////tab////tab////tab////tab////tab//s=execAgentAction(sAction\\comma\\sParams\\comma\\\\quot\\__LeftBarComputer__\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(sAction\\plus\\\\quot\\: \\quot\\\\plus\\s)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf//
^
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_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Setup.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//
^
ID=action_list|X=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\\__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_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Setup.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//
^
ID=debug_console|X=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=732053|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=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h2>Daily Summary</h2>//crlf////crlf//<ul>//crlf////tab//<li>Item ID</li>//crlf////tab//<li>Size</li>//crlf////tab//<li>Price</li>//crlf////tab//<li>Total Count</li>//crlf////tab//<li>Legit Usage</li>//crlf////tab//<li>Perpetual</li>//crlf////tab//<li>Ttl Qty Purchased</li>//crlf////tab//<li>Ttl Dollar Purchased</li>//crlf//</ul>//crlf////crlf//<h2>Extensions</h2>//crlf////crlf//<ul>//crlf////tab//<li>Beginning Count</li>//crlf////tab//<li>Quantity Purchases</li>//crlf////tab//<li>Ending Count</li>//crlf////tab//<li>Legit Usage</li>//crlf////tab//<li>Calc - Usage</li>//crlf////tab//<li>Calc - Usage Vs Legit</li>//crlf////tab//<li>Beginning Dollars</li>//crlf////tab//<li>Dollars Purchased</li>//crlf////tab//<li>Ending Dollars</li>//crlf////tab//<li>Calc - Cost</li>//crlf////tab//<li></li>//crlf////tab//<li></li>//crlf////tab//<li></li>//crlf//</ul>
^
ID=639694|X=183|Y=57|W=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=select_store|AttachLeft=|AlignLeft=select_store|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-------------------------------------------------------------------------------//crlf//The setVisible commands below are used to initialize tables in each tab when a //crlf//tab is selected by setting the interval to 0.//crlf//------------------------------------------------------------------------------->//crlf//<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'inventory_item_group');setVisible('div_inventory_item_group'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Inventory Groups</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'inventory_items');setVisible('div_inventory_items'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Inventory Items</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'conversions');setVisible('div_conversions'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Conversions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'menu_item_group');setVisible('div_menu_item_group'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Menu Item Groups</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'menu_items');setVisible('div_menu_items'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Menu Items</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'menu_item_details');setVisible('div_menu_item_details'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Menu Item Details</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'vendors');setVisible('div_vendors'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Vendors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'sizes');setVisible('div_sizes'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Sizes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'areas');setVisible('div_areas'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Areas</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=inventory_items|X=183|Y=79|W=721|H=658|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf//</state>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_inventory_items\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Setup//crlf////tab////tab////amp//ContainerItemID=drivers//crlf////tab////tab////amp//driver=ASPECT_BACK_OFFICE_INVENTORY_ITEM\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>
^
ID=menu_items|X=183|Y=79|W=721|H=658|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=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf//</state>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_menu_items\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Setup//crlf////tab////tab////amp//ContainerItemID=drivers//crlf////tab////tab////amp//driver=Aspect_Back_Office_Menu_Item\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>
^
ID=vendors|X=183|Y=79|W=721|H=658|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=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf//</state>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_vendors\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Setup//crlf////tab////tab////amp//ContainerItemID=drivers//crlf////tab////tab////amp//driver=Aspect_Back_Office_Vendor\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>
^
ID=sizes|X=183|Y=79|W=721|H=658|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=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf//</state>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_sizes\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Setup//crlf////tab////tab////amp//ContainerItemID=drivers//crlf////tab////tab////amp//driver=Aspect_Back_Office_Size\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>
^
ID=areas|X=183|Y=79|W=721|H=658|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=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf//</state>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_areas\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Setup//crlf////tab////tab////amp//ContainerItemID=drivers//crlf////tab////tab////amp//driver=Aspect_Back_Office_Area\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>
^
ID=select_store|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=__LeftBarComputer__|DefaultSource=true|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=//crlf//<form name=\\quot\\period\\quot\\>//crlf////tab//Store //crlf////tab//<include type:expression; expression:htmlSelect(Aspect_BackOffice_Store_Name_By_ID\\comma\\\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\\\comma\\0\\comma\\\\quot\\ID=\'Aspect_BackOffice_Store_Name_By_ID\' onChange=\'refreshInventoryTables()\' param=\'Store=$value$\'\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\(len(Store_Directory)>0) and (dirExists(Store_Directory))\\quot\\\\comma\\\\quot\\\\quot\\);>//crlf////crlf////tab//Tabs//crlf////tab//<select onChange=\\quot\\showTab(this)\\quot\\>//crlf////tab////tab//<option value='639694'>Setup</option>//crlf////tab////tab//<option value='405040'>Maintenance</option>//crlf////tab////tab//<option value='750579'>Reports</option>//crlf////tab//</select>//crlf////tab////crlf////tab//Period //crlf////tab//<input type=\\quot\\text\\quot\\ name=\\quot\\periodstart\\quot\\ ID=\\quot\\periodstart\\quot\\ style=\\quot\\width:80px\\quot\\ control=\\quot\\date\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ value=\\quot\\06-01-2014\\quot\\ onChange=\\quot\\refreshInventoryTables()\\quot\\>//crlf////tab//to //crlf////tab//<input type=\\quot\\text\\quot\\ name=\\quot\\periodend\\quot\\ ID=\\quot\\periodend\\quot\\ style=\\quot\\width:80px\\quot\\ control=\\quot\\date\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ value=\\quot\\06-14-2014\\quot\\ onChange=\\quot\\refreshInventoryTables()\\quot\\>//crlf////crlf////tab//<input type=\\quot\\button\\quot\\ ID=\\quot\\btImportAspect6Data\\quot\\ value=\\quot\\Import\\quot\\ onClick=\\quot\\setVisible('import_aspect6_data'\\comma\\true);\\quot\\ {@htmlTooltip(\\quot\\Open dialog to import data from Aspect6\\quot\\)}>//crlf//</form>//crlf////crlf//
^
ID=drivers|X=300|Y=122|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=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=__LeftBarComputer__|DefaultSource=true|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=true -->//crlf//<state>//crlf////tab//<include type:script; commands:\\quot\\//crlf////tab////tab//sDir=addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__Store__\\quot\\))//crlf////tab////tab//if(\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Inventory_Item\\quot\\)//crlf////tab////tab////tab//scriptSetResult(fileModified(sDir+\\quot\\item.bin\\quot\\))//crlf////tab////tab//elseif(\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Conversions\\quot\\)//crlf////tab////tab////tab//scriptSetResult(fileModified(sDir+\\quot\\conversions.bin\\quot\\))//crlf////tab////tab//elseif(\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Inventory_Item_Group\\quot\\)//crlf////tab////tab////tab//scriptSetResult(fileModified(sDir+\\quot\\itemgroup.bin\\quot\\))//crlf////tab////tab//elseif(\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Menu_Item\\quot\\)//crlf////tab////tab////tab//scriptSetResult(fileModified(sDir+\\quot\\menuitem.bin\\quot\\))//crlf////tab////tab//elseif(\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Menu_Item_Group\\quot\\)//crlf////tab////tab////tab//scriptSetResult(fileModified(sDir+\\quot\\menuitemgroup.bin\\quot\\))//crlf////tab////tab//elseif(\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Size\\quot\\)//crlf////tab////tab////tab//scriptSetResult(fileModified(sDir+\\quot\\size.bin\\quot\\))//crlf////tab////tab//elseif(\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Vendor\\quot\\)//crlf////tab////tab////tab//scriptSetResult(fileModified(sDir+\\quot\\vendor.bin\\quot\\))//crlf////tab////tab//elseif(\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Area\\quot\\)//crlf////tab////tab////tab//scriptSetResult(fileModified(sDir+\\quot\\area.bin\\quot\\))//crlf////tab////tab//elseif(\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Invoice\\quot\\)//crlf////tab////tab////tab//scriptSetResult(fileModified(sDir+\\quot\\invoice.bin\\quot\\))//crlf////tab////tab//elseif(\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Invoice_Detail\\quot\\)//crlf////tab////tab////tab//scriptSetResult(fileModified(sDir+\\quot\\invoicedetail.bin\\quot\\))//crlf////tab////tab//elseif(\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Menu_Item_Detail\\quot\\)//crlf////tab////tab////tab//scriptSetResult(fileModified(sDir+\\quot\\menuitemdetail.bin\\quot\\))//crlf////tab////tab//elseif(\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Menu_Item_Sales\\quot\\)//crlf////tab////tab////tab//scriptSetResult(fileModified(sDir+\\quot\\__date___mix.bin\\quot\\))//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(6)))>//crlf////crlf//<conditional expression:((undefined(\\quot\\__Store__\\quot\\)) or (\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab//No store selected//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Daily_Summary//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Store__\\quot\\)) and (not(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)) and (\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Daily_Summary\\quot\\)>//crlf////tab//<h1>Daily Summary</h1>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Inventory_Extensions//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Store__\\quot\\)) and (not(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)) and (\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Inventory_Extensions\\quot\\)>//crlf////tab//<h1>Inventory Extensions</h1>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Batch_Count_Summary//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Store__\\quot\\)) and (not(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)) and (\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Batch_Count_Summary\\quot\\)>//crlf////tab//<h2>Batch Count Summary</h2>//crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_Back_Office_batch_Count_Summary\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Store=__Store__~~pipe~~DtFrom=__DtFrom__~~pipe~~DtTo=__DtTo__~~pipe~~Metadata=Aspect_Back_Office_Batch_Count_Summary\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~90182~~pipe~~ASPECT_BACK_OFFICE_COUNT_SUMMARY~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Physical_Count_Summary//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Store__\\quot\\)) and (not(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)) and (\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Physical_Count_Summary\\quot\\)>//crlf////tab//<h2>Physical Count Summary</h2>//crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_BackOffice_Consolidated_Horz_Physical_Count_Summary\\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\\'__Store__'))+'*physical_count.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~DocumentID=__d__~~pipe~~Widget=__w__~~pipe~~ContainerItemID=consdriver~~pipe~~driver=Aspect_Back_Office_Physical_Count_Summary~~pipe~~Store=__Store__~~pipe~~DtFrom=__DtFrom__~~pipe~~DtTo=__DtTo__~~pipe~~Metadata=Aspect_Back_Office_Physical_Count_Summary\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~90182~~pipe~~ASPECT_BACK_OFFICE_PHYSICAL_COUNT_SUMMARY~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Inventory_Count_By_Area//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Store__\\quot\\)) and (not(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)) and (\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Inventory_Count_By_Area\\quot\\)>//crlf////tab//<h1>Inventory Count By Area</h1>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Inventory_Item//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Store__\\quot\\)) and (not(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)) and (\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Inventory_Item\\quot\\)>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_INVENTORY_ITEM\\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\\'__Store__'))+'item.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Store=__Store__~~pipe~~Metadata=Aspect_Back_Office_Inventory_Item\\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\\500\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~525433~~pipe~~Aspect_Back_Office_Inventory_Item~~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\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Conversions//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Store__\\quot\\)) and (not(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)) and (\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Conversions\\quot\\)>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_CONVERSIONS\\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\\'__Store__'))+'CONVERSIONS.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Store=__Store__~~pipe~~Metadata=Aspect_Back_Office_Conversions\\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\\500\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~383031~~pipe~~Aspect_Back_Office_Conversions~~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\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Inventory_Item_Group//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Store__\\quot\\)) and (not(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)) and (\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Inventory_Item_Group\\quot\\)>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_INVENTORY_ITEM_GROUP\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\getFilespecState(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__Store__'))+'itemgroup.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Store=__Store__~~pipe~~Metadata=Aspect_Back_Office_Inventory_Item_Group\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\250\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~538288~~pipe~~Aspect_Back_Office_Inventory_Item_Group~~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\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Menu_Item//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Store__\\quot\\)) and (not(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)) and (\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Menu_Item\\quot\\)>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_MENU_ITEM\\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\\'__Store__'))+'menuitem.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Store=__Store__~~pipe~~Metadata=Aspect_Back_Office_Menu_Item\\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\\500\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~832831~~pipe~~Aspect_Back_Office_Menu_Item~~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\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Menu_Item_Group//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Store__\\quot\\)) and (not(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)) and (\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Menu_Item_Group\\quot\\)>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_MENU_ITEM_GROUP\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\getFilespecState(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__Store__'))+'menuitemgroup.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Store=__Store__~~pipe~~Metadata=Aspect_Back_Office_Menu_Item_Group\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\250\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~185543~~pipe~~Aspect_Back_Office_Menu_Item_Group~~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\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Size//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Store__\\quot\\)) and (not(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)) and (\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Size\\quot\\)>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_SIZE\\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\\'__Store__'))+'size.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Store=__Store__~~pipe~~Metadata=Aspect_Back_Office_Size\\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\\250\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~120863~~pipe~~Aspect_Back_Office_Size~~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\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Vendor//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Store__\\quot\\)) and (not(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)) and (\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Vendor\\quot\\)>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_VENDOR\\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\\'__Store__'))+'vendor.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Store=__Store__~~pipe~~Metadata=Aspect_Back_Office_Vendor\\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\\250\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~85430~~pipe~~Aspect_Back_Office_Vendor~~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\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Area//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Store__\\quot\\)) and (not(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)) and (\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Area\\quot\\)>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_AREA\\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\\'__Store__'))+'area.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Store=__Store__~~pipe~~Metadata=Aspect_Back_Office_Area\\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\\250\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~370502~~pipe~~Aspect_Back_Office_Area~~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\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Invoice//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Store__\\quot\\)) and (not(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)) and (\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Invoice\\quot\\)>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_INVOICE\\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\\'__Store__'))+'invoice.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Store=__Store__~~pipe~~Metadata=Aspect_Back_Office_Invoice\\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\\250\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~177416~~pipe~~Aspect_Back_Office_Invoice~~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////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Invoice_Detail//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Store__\\quot\\)) and (not(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)) and (\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Invoice_Detail\\quot\\)>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_INVOICE_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(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__Store__'))+'invoicedetail.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Store=__Store__~~pipe~~Metadata=Aspect_Back_Office_Invoice_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\\250\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~778581~~pipe~~Aspect_Back_Office_Invoice_Detail~~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////tab////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Menu_Item_Detail//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Store__\\quot\\)) and (not(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)) and (\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Menu_Item_Detail\\quot\\)>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_Back_Office_Menu_Item_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(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__Store__'))+'menuitemdetail.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Store=__Store__~~pipe~~Metadata=Aspect_Back_Office_Menu_Item_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\\500\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~53136~~pipe~~Aspect_Back_Office_Menu_Item_Detail~~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\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Menu_Item_Sales//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Store__\\quot\\)) and (not(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)) and (\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Menu_Item_Sales\\quot\\)>//crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_BackOffice_Consolidated_Vert_Salex_Mix\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\\\quot\\;//crlf////tab////tab//state: \\quot\\getFilespecState(addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\'__Store__'))+'*mix.bin')\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~DocumentID=__d__~~pipe~~Widget=__w__~~pipe~~ContainerItemID=consdriver~~pipe~~driver=Aspect_Back_Office_Menu_Item_Sales~~pipe~~Store=__Store__~~pipe~~DtFrom=__DtFrom__~~pipe~~DtTo=__DtTo__~~pipe~~Metadata=Aspect_Back_Office_Menu_Item_Sales\\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\\500\\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\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Inventory Dialogs~~pipe~~669146~~pipe~~Aspect_Back_Office_Menu_Item_Sales~~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\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//__servertimerresults__//crlf////crlf//
^
ID=inventory_item_group|X=183|Y=79|W=790|H=628|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf//</state>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_inventory_item_group\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Setup//crlf////tab////tab////amp//ContainerItemID=drivers//crlf////tab////tab////amp//driver=Aspect_Back_Office_Inventory_Item_Group\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//
^
ID=menu_item_group|X=183|Y=79|W=840|H=661|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=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf//</state>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_menu_item_group\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Setup//crlf////tab////tab////amp//ContainerItemID=drivers//crlf////tab////tab////amp//driver=Aspect_Back_Office_Menu_Item_Group\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>
^
ID=951701|X=830|Y=19|W=111|H=25|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<input type=\\quot\\button\\quot\\ value=\\quot\\Update Select\\quot\\ onClick=\\quot\\updateOptions('Vendor1Select')\\quot\\>
^
ID=invoices|X=183|Y=79|W=873|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=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf//</state>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_invoices\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Setup//crlf////tab////tab////amp//ContainerItemID=drivers//crlf////tab////tab////amp//driver=Aspect_Back_Office_Invoice\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//
^
ID=invoice_details|X=183|Y=79|W=907|H=753|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf//</state>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_invoice_details\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Setup//crlf////tab////tab////amp//ContainerItemID=drivers//crlf////tab////tab////amp//driver=Aspect_Back_Office_Invoice_Detail\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//
^
ID=menu_item_details|X=183|Y=79|W=913|H=704|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf//</state>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_menu_item_details\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Setup//crlf////tab////tab////amp//ContainerItemID=drivers//crlf////tab////tab////amp//driver=Aspect_Back_Office_Menu_Item_Detail\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf////crlf//
^
ID=menu_item_sales|X=183|Y=79|W=998|H=747|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf//</state>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_menu_item_sales\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Setup//crlf////tab////tab////amp//ContainerItemID=drivers//crlf////tab////tab////amp//driver=Aspect_Back_Office_Menu_Item_Sales\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf////crlf//
^
ID=260060|X=938|Y=17|W=249|H=104|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:400px;height:auto:\\quot\\ onMouseOver=setVisible(\\quot\\notes\\quot\\\\comma\\true) onMouseOut=setVisible(\\quot\\notes\\quot\\\\comma\\false)>//crlf//Mptes//crlf//<div ID=\\quot\\notes\\quot\\ style=\\quot\\display:none\\quot\\>//crlf//aaa//crlf//bbb//crlf//ccc//crlf//ddd//crlf//</div>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:10px;\\quot\\></div>
^
ID=405040|X=183|Y=57|W=436|H=105|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=select_store|AttachLeft=|AlignLeft=select_store|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-------------------------------------------------------------------------------//crlf//The setVisible commands below are used to initialize tables in each tab when a //crlf//tab is selected by setting the interval to 0.//crlf//------------------------------------------------------------------------------->//crlf//<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'invoices');setVisible('div_invoices'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Invoices</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'invoice_details');setVisible('div_invoice_details'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Invoice Details</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'menu_item_sales');setVisible('div_menu_item_sales'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Menu Item Sales</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'physical_count');setVisible('div_physical_count'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Physical Count</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'batch_count');setVisible('div_batch_count'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Batch Count</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'area_count');setVisible('div_area_count'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Count By Area</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=750579|X=183|Y=57|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_store|AttachLeft=|AlignLeft=select_store|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-------------------------------------------------------------------------------//crlf//The setVisible commands below are used to initialize tables in each tab when a //crlf//tab is selected by setting the interval to 0.//crlf//------------------------------------------------------------------------------->//crlf//<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'daily_summary');setVisible('div_daily_summary'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Daily Summary</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'inventory_extensions');setVisible('div_inventory_extensions'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Inventory Extensions</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=daily_summary|X=183|Y=69|W=313|H=155|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=750579|AttachLeft=|AlignLeft=750579|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf//</state>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_daily_summary\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Setup//crlf////tab////tab////amp//ContainerItemID=drivers//crlf////tab////tab////amp//driver=Aspect_Back_Office_Daily_Summary\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>
^
ID=inventory_extensions|X=183|Y=69|W=341|H=192|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=750579|AttachLeft=|AlignLeft=750579|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf//</state>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_inventory_extensions\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Setup//crlf////tab////tab////amp//ContainerItemID=drivers//crlf////tab////tab////amp//driver=Aspect_Back_Office_Inventory_Extensions\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>
^
ID=physical_count|X=183|Y=79|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=405040|AttachLeft=|AlignLeft=405040|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf//</state>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_physical_count\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Setup//crlf////tab////tab////amp//ContainerItemID=drivers//crlf////tab////tab////amp//driver=Aspect_Back_Office_Physical_Count_Summary\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf////crlf//
^
ID=batch_count|X=183|Y=79|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=405040|AttachLeft=|AlignLeft=405040|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf//</state>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_batch_count\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Setup//crlf////tab////tab////amp//ContainerItemID=drivers//crlf////tab////tab////amp//driver=Aspect_Back_Office_Batch_Count_Summary\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf////crlf//
^
ID=area_count|X=183|Y=79|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=405040|AttachLeft=|AlignLeft=405040|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf//</state>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_area_count\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Setup//crlf////tab////tab////amp//ContainerItemID=drivers//crlf////tab////tab////amp//driver=Aspect_Back_Office_Inventory_Count_By_Area\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf////crlf//
^
ID=import_aspect6_data|X=396|Y=167|W=362|H=219|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\padding:0px 10px 10px 10px\\quot\\>//crlf////tab//<img style=\\quot\\position:absolute;top:5px;right:10px\\quot\\ onclick=\\quot\\setVisible('import_aspect6_data'\\comma\\false)\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getImage//amp//filename=close20x20.png\\quot\\>//crlf////crlf////tab//<h2>Import data from Aspect6</h2>//crlf////crlf////tab//Import From <include type:expression; expression:htmlSelect(Aspect6_Store_Directories\\comma\\\\quot\\Aspect6_Store_Directories\\quot\\\\comma\\replaceSubstring(lookup(Aspect6_Store_Directories_By_Code\\comma\\getToken(\\quot\\Aspect6ActiveStoreCode\\quot\\))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)\\comma\\\\quot\\ID=\'Aspect6_Store_Directories\'\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\);>//crlf////tab//<br><br>//crlf////crlf////tab//Import//crlf////tab//<select ID=\\quot\\import_selection\\quot\\>//crlf////tab////tab//<option value=\\quot\\all\\quot\\>All Data</option>//crlf////tab////tab//<option value=\\quot\\setup\\quot\\>Setup</option>//crlf////tab////tab//<option value=\\quot\\period\\quot\\>Counts\\comma\\ invoices and sales mix</option>//crlf////tab////tab//<option value=\\quot\\visible\\quot\\>Just the visible tab</option>//crlf////tab//</select>//crlf////tab//<br><br>//crlf////tab////crlf////tab//<input type=\\quot\\checkbox\\quot\\ ID=\\quot\\ckDeleteExisting\\quot\\>Delete existing data before import//crlf////tab//<br><br>//crlf////crlf////tab//<input type=\\quot\\button\\quot\\ onClick=\\quot\\importFromAspect6()\\quot\\ value=\\quot\\Import\\quot\\>//tab////crlf//</div>
^
ID=consdriver|X=300|Y=122|W=892|H=671|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:false>//crlf//=============================================================================================//crlf//These scripts are used to open consolidated system drivers.  It's also possible to move//crlf//these scripts into the Driver: argument of a driver include tag.  However\\comma\\ when the driver//crlf//is refreshed\\comma\\ it will try to use the same system driver name and the driver will have been//crlf//disposed.  It might be possible to leave the driver open and close it with a timeout.//crlf////crlf//For now\\comma\\ the Aspect Common - opsnScriptDriver script is used to open the consolidated drivers.//crlf//The driver params of the driver include tag contain the document ID\\comma\\ widget\\comma\\ container ID and //crlf//other information needed to open a consolidated system driver from a widget.  A driver record//crlf//is created in the package to call Aspect Common - opsnScriptDriver and that driver ID is used//crlf//in the include tag.//crlf//=============================================================================================//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Physical_Count_Summary//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Store__\\quot\\)) and (not(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)) and (\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Physical_Count_Summary\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Opening consolidated driver for physical counts\\quot\\)//crlf////tab////tab//dt=incrementTime(parseTime(\\quot\\__DtFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\-1)//crlf////tab////tab//DateSet=formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\\\comma\\__DtTo__\\quot\\//crlf////crlf////tab////tab////open a set of system drivers//crlf////tab////tab//arSet=getSetDriver(Aspect_Back_Office_Physical_Count_Summary\\comma\\DateSet\\comma\\WRITE\\comma\\\\quot\\Store=__Store__~~pipe~~Date=$e$~~pipe~~Description=$e$\\quot\\)//crlf////crlf////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID~~pipe~~Area_ID~~pipe~~Inventory_Item_Name~~pipe~~Inventory_Item_Group_ID~~pipe~~Inventory_Item_Group~~pipe~~Section_Header_By_Inventory_Group\\quot\\//crlf////tab////tab//arFields=\\quot\\Physical_Count~~pipe~~Size_Unit_Description~~pipe~~Size~~pipe~~Count\\quot\\//crlf////crlf////tab////tab//sysdrv=getSetConsolidate(\\quot\\horizontal\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\arFields\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\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////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Menu_Item_Sales//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__Store__\\quot\\)) and (not(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)) and (\\quot\\__driver__\\quot\\=\\quot\\Aspect_Back_Office_Menu_Item_Sales\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Opening consolidated driver for sales mix\\quot\\)//crlf////tab////tab//DateSet=getSetTime(parseTime(\\quot\\__dtFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\parseTime(\\quot\\__dtTo__\\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(Aspect_Back_Office_Menu_Item_Sales\\comma\\DateSet\\comma\\WRITE\\comma\\\\quot\\Store=__Store__~~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////crlf//
^
ID=conversions|X=183|Y=79|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=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf//</state>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_conversions\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Setup//crlf////tab////tab////amp//ContainerItemID=drivers//crlf////tab////tab////amp//driver=ASPECT_BACK_OFFICE_CONVERSIONS\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>
^
ID=calc_legit_table|X=300|Y=122|W=767|H=648|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__Qty__//crlf////tab//{@if(not(fileExists(getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\calc_legit___ItemID__.$$$\\quot\\))\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@fileModified(getBackOfficeFilename(\\quot\\item.bin\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\))}//crlf////tab//{@fileModified(getBackOfficeFilename(\\quot\\menuitemdetail.bin\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\))}//crlf////tab//{@fileModified(getBackOfficeFilename(\\quot\\menuitem\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\))}//crlf////tab//{@now()}//crlf//</state>//crlf////crlf//<conditional expression:false>//crlf////tab//This item is used to display a table of legitimate usages for a given menu item and//crlf////tab//quantity sold.  //crlf////crlf////tab//A script opens a system driver and then calls invutil.calcLegitimateUsage().  The//crlf////tab//system driver is then used to create a table of legitimate usages which is returned.//crlf//</conditional>//crlf////crlf//<conditional expression:undefined(\\quot\\__ItemID__\\quot\\)>//crlf////tab//Missing ItemID//crlf//</conditional>//crlf////crlf//<conditional expression:defined(\\quot\\__ItemID__\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\calc_legit___ItemID__.$$$\\quot\\//crlf////tab////tab//fileDelete(sFilename)//crlf////tab////tab//driverOpen(Aspect_Back_Office_Legitimate_Usage_Temp_File\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\sFilename\\plus\\\\quot\\~~pipe~~Store=__StoreID__\\quot\\)//crlf////tab////tab//calcLegitimateUsage(\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\__Qty__\\comma\\__Prefix__\\comma\\\\quot\\__SizeID__\\quot\\\\comma\\d)//crlf////tab////tab//scriptSetResult(htmlConstant(\\quot\\Filename\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sFilename))//crlf////tab//\\quot\\>//crlf////crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_Back_Office_Legitimate_Usage_Temp_File\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Legit_Usage_Table~~pipe~~StoreID=__StoreID__~~pipe~~Filename=__Filename__\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT_BACK_OFFICE_LEGITIMATE_USAGEDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//
</widget><widget name="Inventory Items" group="Inventory" category="Dependent Drivers" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Inventory Items" modified="03-20-2022 20:13:12" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=03-09-2016 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=1 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(value(getToken(\\quote\\AspectCoreVersion\\quote\\))\\gt\\=7.539) and (fileSize(getToken(\\quote\\homedir\\quote\\)+\\quote\\Aspect_BackOffice\store_list.dta\\quote\\)\\gt\\0) and (scriptCount(\\quote\\\\percent\\_____\\quote\\+quote(\\quote\\ImportAspect6Data\\quote\\))=0)" TaskConditional_Expression_Description="Only executes when the version is up to date, at least one store exists and data is not being imported from Aspect6." TaskState_Function="getFilespecState(getSetFor(getCollection(\\quote\\Aspect_BackOffice_Store_Name_By_Directory\\quote\\,\\quote\\true\\quote\\,\\quote\\\\quote\\,\\quote\\\\quote\\,\\quote\\,\\quote\\,\\quote\\keys\\quote\\),\\quote\\menuitem.bin\\quote\\))" TaskState_Expression_Description="Executes whenever menu items are updated from the POS." TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=44|toolboxy=147|aspectfuncx=237|aspectfuncy=100|aspectfuncw=793|aspectfunch=812|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Inventory Items.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=902|H=22|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=803|H=660|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'407692')\\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\\'151621')\\quot\\>Import Items</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'374800')\\quot\\>Import Items Table</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'77542')\\quot\\>Test Conversion</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'97138')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=407692|X=300|Y=125|W=803|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=125|W=803|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=125|W=803|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Items.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Inventory Items\\comma\\testCalculatePrice\\comma\\sensor_list\\comma\\Sensor=testCalculatePrice\\comma\\private\\comma\\text//crlf////tab//Inventory Items\\comma\\testCalculateConversion\\comma\\sensor_list\\comma\\Sensor=testCalculateConversion\\comma\\private\\comma\\text//crlf////tab//Inventory Items\\comma\\containsIngredient\\comma\\sensor_list\\comma\\Sensor=containsIngredient\\comma\\private//crlf////tab//Inventory Items\\comma\\getDefaultSize\\comma\\sensor_list\\comma\\Sensor=getDefaultSize\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//testCalculatePrice//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\testCalculatePrice\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Calculates a price//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID//crlf////tab////tab//ItemID//crlf////tab////tab//Date//crlf////tab////tab//Amount//crlf////tab////tab//Prefix//crlf////tab////tab//Unit//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\\testCalculatePrice\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//sDate=formatDate(parseTime(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\testCalculatePrice ItemID=__ItemID__ StoreID=__StoreID__ Date=__Date__ (\\quot\\+sDate+\\quot\\) Amount=__Amount__ Prefix=__Prefix__ Unit=__Unit__\\quot\\)//crlf////tab////tab////tab//d=calcPrice(\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\__Date__\\quot\\\\comma\\__Amount__\\comma\\__Prefix__\\comma\\__Unit__)//crlf////tab////tab////tab//appendToLog(\\quot\\testCalculatePrice returns \\quot\\+d)//crlf////tab////tab////tab//return(d)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//[!------------------------------------------------------------------------//crlf//testCalculateConversion//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\testCalculateConversion\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Calculates a conversion//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID//crlf////tab////tab//ItemID//crlf////tab////tab//Amount//crlf////tab////tab//FromPrefix//crlf////tab////tab//FromUnit//crlf////tab////tab//ToPrefix//crlf////tab////tab//ToUnit//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//The conversion//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\testCalculateConversion\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\testCalculateConversion ItemID=__ItemID__ StoreID=__StoreID__ Amount=__FromAmount__ FromPrefix=__FromPrefix__ FromUnit=__FromUnit__ ToPrefix=__ToPrefix__ ToUnit=__ToUnit__\\quot\\)//crlf////tab////tab////tab//d=convertSize(\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\__Amount__\\comma\\__FromPrefix__\\comma\\__FromUnit__\\comma\\__ToPrefix__\\comma\\__ToUnit__)//crlf////tab////tab////tab//return(d)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//containsIngredient//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\containsIngredient\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Used to get a list of all recipes containing a given ingredient\\comma\\ //crlf////tab////tab//either directly or indirectly.  The ingredient can be an inventory item//crlf////tab////tab//or a batch recipe.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//ItemID - Item ID of the ingredient//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Error or A comma-delimited list of Item IDs for all recipes containing the //crlf////tab////tab//given ingredient.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\containsIngredient\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if store ID missing//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 ItemID not defined//crlf////tab////tab////tab//if(undefined(\\quot\\__ItemID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing ItemID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the inventory item driver//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Menu_Item_Detail\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////crlf////tab////tab////tab//Done=false//crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////the first set of recipes to look for are those containing the original ItemID//crlf////tab////tab////tab////as an ingredient//crlf////tab////tab////tab//sFilterTo=\\quot\\__ItemID__\\quot\\//crlf////tab////tab////tab//cLoop=0//crlf////tab////tab////tab//while((cLoop<7) and (not(Done)))//crlf////tab////tab////tab////tab////get a list of all recipes containing the given ingredient(s)//crlf////tab////tab////tab////tab//sFilter=\\quot\\containsElement(\\quot\\+quote(sFilterTo)+\\quot\\\\comma\\ItemID_Of_Ingredient)\\quot\\+char(0x3E)+\\quot\\=0\\quot\\//crlf////tab////tab////tab////tab//driverSetFilter(d\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab////tab//c=driverGetRecordCount(d)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\sFilterTo=\\quot\\+sFilterTo+\\quot\\ Records=\\quot\\+c)//crlf////tab////tab////tab////tab//if(c>0)//crlf////tab////tab////tab////tab////tab//sFilterTo=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab////tab//sRecipeItemID=driverGetField(d\\comma\\\\quot\\ItemID_Of_MenuItem\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//if(containsElement(sFilterTo\\comma\\sRecipeItemID)<0)//crlf////tab////tab////tab////tab////tab////tab////tab//sFilterTo=addElement(sFilterTo\\comma\\sRecipeItemID)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//if(containsElement(sResult\\comma\\sRecipeItemID)<0)//crlf////tab////tab////tab////tab////tab////tab////tab//sResult=addElement(sResult\\comma\\sRecipeItemID)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//n++//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//Done=true//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab//appendToLog(\\quot\\sResult=\\quot\\+sResult)//crlf////tab////tab////tab//return(sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//getDefaultSize//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getDefaultSize\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Returns the default count size for an item//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//ItemID - Inventory Item ID//crlf////tab////tab//Return - Prefix\\comma\\ Unit\\comma\\ Size to return the size prefix\\comma\\ unit or a formatted size containing the prefix and unit//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//The requested return value or Error://crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getDefaultSize\\quot\\; commands:\\quot\\//crlf////tab////tab////abort is missing StoreID//crlf////tab////tab//if(not(defined(\\quot\\__StoreID__\\quot\\))) //crlf////tab////tab////tab//appendToLog(\\quot\\Error: Missing StoreID in getDefaultSize\\quot\\)//crlf////tab////tab////tab//return(\\quot\\\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if missing ItemID//crlf////tab////tab//if(not(defined(\\quot\\__ItemID__\\quot\\)))//crlf////tab////tab////tab//appendToLog(\\quot\\Error: Missing ItemID in getDefaultSize\\quot\\)//crlf////tab////tab////tab//return(\\quot\\\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if missing Return//crlf////tab////tab//if(not(defined(\\quot\\__Return__\\quot\\)))//crlf////tab////tab////tab//appendToLog(\\quot\\Error: Missing Return in getDefaultSize\\quot\\)//crlf////tab////tab////tab//return(\\quot\\\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab//if(\\quot\\__Return__\\quot\\=\\quot\\Prefix\\quot\\)//crlf////tab////tab////tab//s=lookup(Aspect_BackOffice_Lookup_Inventory_Item_Count_Size1_Prefix\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab//elseif(\\quot\\__Return__\\quot\\=\\quot\\Unit\\quot\\)//crlf////tab////tab////tab//s=lookup(Aspect_BackOffice_Lookup_Inventory_Item_Count_Size1_Unit\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab//elseif(\\quot\\__Return__\\quot\\=\\quot\\Size\\quot\\)//crlf////tab////tab////tab//s=lookup(Aspect_BackOffice_Lookup_Inventory_Item_Count_Size_1\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab//else//crlf////tab////tab////tab//appendToLog(\\quot\\Error: Invalic Return parameter in getDefaultSize\\quot\\)//crlf////tab////tab////tab//return(\\quot\\\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab//appendToLog(\\quot\\getDefaultSize StoreID=__StoreID__ ItemID=__ItemID__ Return=__Return__ s=\\quot\\+s)//crlf////crlf////tab////tab//return(s)//tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=125|W=803|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Items.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Inventory Items\\comma\\reassignMenuNumbers\\comma\\action_list\\comma\\Action=reassignMenuNumbers\\comma\\private//crlf////tab//Inventory Items\\comma\\includeItemsInEnterpriseReporting\\comma\\action_list\\comma\\Action=includeItemsInEnterpriseReporting\\comma\\private//crlf////tab//Inventory Items\\comma\\importVendorsFromFile\\comma\\action_list\\comma\\Action=importVendorsFromFile\\comma\\private//crlf////tab//Inventory Items\\comma\\importInventoryGroupsFromFile\\comma\\action_list\\comma\\Action=importInventoryGroupsFromFile\\comma\\private//crlf////tab//Inventory Items\\comma\\importInventoryItemsFromFile\\comma\\action_list\\comma\\Action=importInventoryItemsFromFile\\comma\\private//crlf////tab//Inventory Items\\comma\\updateItemVendorInfo\\comma\\action_list\\comma\\Action=updateItemVendorInfo\\comma\\private//crlf////tab//Inventory Items\\comma\\ItemNameChanged\\comma\\action_list\\comma\\Action=ItemNameChanged\\comma\\private//crlf////tab//Inventory Items\\comma\\updateInventoryItems\\comma\\action_list\\comma\\Action=updateInventoryItems\\comma\\private//crlf////tab//Inventory Items\\comma\\updateInventoryItemsAllStores\\comma\\action_list\\comma\\Action=updateInventoryItemsAllStores\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//reassignMenuNumbers//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\reassignMenuNumbers\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//This is a utility created to reassign menu numbers at BHG Bristol 8/2018.//crlf////tab////tab//It gets a list of menu item names and POS ID\\apos\\s from the POS menu item driver //crlf////tab////tab//And assigns any menu items that have ingredients to the POS ID on the POS system.  //crlf////tab////tab//If there is another menu item with the same POS iD\\comma\\ that POS ID is cleared.  This is //crlf////tab////tab//to correct a situation in which the original POS ID\\apos\\s were replaced with new POS ID\\apos\\s.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\reassignMenuNumbers\\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////back up the item file//crlf////tab////tab////tab//sFilename=getStoreDir(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\item.bin\\quot\\//crlf////tab////tab////tab//sBackupName=sFilename\\plus\\\\quot\\.\\quot\\\\plus\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy_HHmmss\\quot\\)//crlf////tab////tab////tab//fileCopy(sFilename\\comma\\sBackupName)//crlf////crlf////tab////tab////tab////make hashtables of menu item records with and without menu item ingredients.//crlf////tab////tab////tab////The key is the name and the value is the filtered record number.  The POS ID will //crlf////tab////tab////tab////be cleared from the record that doesn\\apos\\t have ingredients and the current POS ID wlil //crlf////tab////tab////tab////be recorded for the record that does have ingredients//crlf////tab////tab////tab//hashCreate(hHasIngredients)//crlf////tab////tab////tab//hashCreate(hNoIngredients)//crlf////tab////tab////tab//hashCreate(hPOSID)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Item\\comma\\dItem\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//driverSetFilter(dItem\\comma\\\\quot\\Record_Type=2\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(dItem)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sName=driverGetField(dItem\\comma\\\\quot\\Name\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//bHasIngredients=driverGetField(dItem\\comma\\\\quot\\Contains_Ingredients\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(bHasIngredients)//crlf////tab////tab////tab////tab////tab//hashPut(hHasIngredients\\comma\\sName\\comma\\n)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//hashPut(hNoIngredients\\comma\\sName\\comma\\n)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Added to hNoIngredients: \\quot\\\\plus\\sName)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//sPOSID=driverGetField(dItem\\comma\\\\quot\\Menu_Item_POS_ID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//hashPut(hPOSID\\comma\\sPOSID\\comma\\n)//crlf////crlf////tab////tab////tab////tab////clear any invalid group overrides//crlf////tab////tab////tab////tab//sGroupOverride=driverGetField(dItem\\comma\\\\quot\\Menu_Item_Group_ID_Override\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if((len(sGroupOverride)>0) and (sGroupOverride<>\\quot\\Batch\\quot\\))//crlf////tab////tab////tab////tab////tab//s=lookup(POS_Generic_Lookup_Menu_Category_By_Category_ID\\comma\\sGroupOverride\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab//if(len(s)=0)//tab////crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Clearing menu group override for item: \\quot\\\\plus\\sName\\plus\\\\quot\\ Menu_Item_Group_ID_Override=\\quot\\\\plus\\sGroupOverride)//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////iterate through the menu items from the POS and set the POS ID\\apos\\s in the item file//crlf////tab////tab////tab////make a hashtable of menu item names and POS ID\\apos\\s from the POS.  The key is the //crlf////tab////tab////tab////menu item name and the value is the POS ID//crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab////tab//driverOpen(POS_Generic_Menu_Item_Dta\\comma\\dMenuItem\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//cReassign=0//crlf////tab////tab////tab//cDeleted=0//crlf////tab////tab////tab//c=driverGetRecordCount(dMenuItem\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sName=driverGetFieldAbsolute(dMenuItem\\comma\\\\quot\\Name1\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sPOSID=driverGetFieldAbsolute(dMenuItem\\comma\\\\quot\\MenuItemID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sMenuItemID=driverGetFieldAbsolute(dMenuItem\\comma\\\\quot\\ID\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////see if an inventory item with ingredients and the given name exists//crlf////tab////tab////tab////tab//if(hashContainsKey(hHasIngredients\\comma\\sName))//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Updating POS ID for \\quot\\\\plus\\sName)//crlf////tab////tab////tab////tab////tab//n1=hashGet(hHasIngredients\\comma\\sName)//crlf////tab////tab////tab////tab////tab//iAbsoluteIndex=driverGetAbsoluteIndex(dItem\\comma\\n1)//crlf////crlf////tab////tab////tab////tab////tab//sClearID=driverGetField(dItem\\comma\\\\quot\\Menu_Item_POS_ID\\quot\\\\comma\\n1)//crlf////tab////tab////tab////tab////tab//sResult=sResult\\plus\\\\quot\\Changed POSID from \\quot\\\\plus\\sClearID\\plus\\\\quot\\ to \\quot\\\\plus\\sPOSID\\plus\\\\quot\\ for \\quot\\\\plus\\sName\\plus\\\\quot\\ DiskIndex=\\quot\\\\plus\\iAbsoluteIndex\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////update the POS ID and menu ID//crlf////tab////tab////tab////tab////tab//driverPutField(dItem\\comma\\\\quot\\Menu_Item_ID\\quot\\\\comma\\n1\\comma\\sMenuItemID)//crlf////tab////tab////tab////tab////tab//driverPutField(dItem\\comma\\\\quot\\Menu_Item_POS_ID\\quot\\\\comma\\n1\\comma\\sPOSID)//crlf////crlf////tab////tab////tab////tab////tab////if another record exists with the same POSID\\comma\\ clear the POS ID there//crlf////tab////tab////tab////tab////tab//if(hashContainsKey(hPOSID\\comma\\sPOSID))//crlf////tab////tab////tab////tab////tab////tab//n1=hashGet(hPOSID\\comma\\sPOSID)//crlf////crlf////tab////tab////tab////tab////tab////tab//iAbsoluteIndex=driverGetAbsoluteIndex(dItem\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab//sClearID=driverGetField(dItem\\comma\\\\quot\\Menu_Item_POS_ID\\quot\\\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab//sResult=sResult\\plus\\\\quot\\Cleared POSID=\\quot\\\\plus\\sClearID\\plus\\\\quot\\ from \\quot\\\\plus\\sName\\plus\\\\quot\\ DiskIndex=\\quot\\\\plus\\iAbsoluteIndex\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab//driverPutField(dItem\\comma\\\\quot\\Menu_Item_ID\\quot\\\\comma\\n1\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutField(dItem\\comma\\\\quot\\Menu_Item_POS_ID\\quot\\\\comma\\n1\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutField(dItem\\comma\\\\quot\\Deleted\\quot\\\\comma\\n1\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab//cDeleted\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Cannot locate: \\quot\\\\plus\\sName)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//cReassign\\plus\\\\plus\\//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Could not find key for \\quot\\\\plus\\sName)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(dMenuItem)//crlf////tab////tab////tab//driverClose(dItem)//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Reassigned: \\quot\\\\plus\\cReassign\\plus\\\\quot\\ Deleted: \\quot\\\\plus\\cDeleted\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//includeItemsInEnterpriseReporting//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\includeItemsInEnterpriseReporting\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Includes or excludes items from enterprise reporting by setting the value of the //crlf////tab////tab//Include_In_Enterprise_Reporting field//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//ItemID - Comma-delimited array of IDs.  Can be either menu item or inventory item ID\\apos\\s.//crlf////tab////tab//Include - If true\\comma\\ items will be included\\comma\\ otherwise excluded//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\\includeItemsInEnterpriseReporting\\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 ItemID//crlf////tab////tab////tab//if(undefined(\\quot\\__ItemID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing ItemID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open inventory items//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Item\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////crlf////tab////tab////tab////filter to selected items//crlf////tab////tab////tab//sFilter=\\quot\\containsElement(\\quot\\\\plus\\quote(\\quot\\__ItemID__\\quot\\)\\plus\\\\quot\\\\comma\\ID)\\quot\\\\plus\\char(0x3E)\\plus\\\\quot\\=0\\quot\\//crlf////tab////tab////tab//driverSetFilter(d\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab////crlf////tab////tab////tab//c=driverGetRecordCount(d)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\Include_In_Enterprise_Reporting\\quot\\\\comma\\n\\comma\\__Include__)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////crlf////tab////tab////tab//if(\\quot\\__Include__\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Included \\quot\\\\plus\\c\\plus\\\\quot\\ records\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab//return(\\quot\\Ok: Excluded \\quot\\\\plus\\c\\plus\\\\quot\\ records\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//[!------------------------------------------------------------------------//crlf//importVendorsFromFile//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importVendorsFromFile\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Imports vendor records from the inventory template//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//Filename - Filename of the template//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\\importVendorsFromFile\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Import Vendors from file: __Filename__ StoreID: __StoreID__\\quot\\);//crlf////crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing filename//crlf////tab////tab////tab//if(undefined(\\quot\\__Filename__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Filename\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////set params//crlf////tab////tab////tab//sParams=\\quot\\MergeID=xCBCnHa5\\amp\\SourceDriverParams=Filename=__Filename__~~pipe~~StoreID=__StoreID__\\amp\\DestDriverParams=StoreID=__StoreID__\\quot\\//crlf////crlf////tab////tab////tab////execute the merge to import Vendor 1//crlf////tab////tab////tab//srcFilter=\\quot\\\\amp\\SourceDriverFilter=gt(len(Vendor_1_name)\\comma\\0\\comma\\n)\\quot\\//crlf////tab////tab////tab//s=execAgentAction(executeMergeDefinition\\comma\\sParams\\plus\\srcFilter)//crlf////tab////tab////tab//sResult=\\quot\\Vendor1: \\quot\\\\plus\\s//crlf////crlf////tab////tab////tab////execute the merge to import Vendor 2//crlf////tab////tab////tab//srcFilter=\\quot\\\\amp\\SourceDriverFilter=gt(len(Vendor_2_name)\\comma\\0\\comma\\n)\\quot\\//crlf////tab////tab////tab//s=execAgentAction(executeMergeDefinition\\comma\\sParams\\plus\\srcFilter)//crlf////tab////tab////tab//sResult=sResult\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\\\quot\\Vendor2: \\quot\\\\plus\\s//crlf////crlf////tab////tab////tab////execute the merge to import Vendor 3//crlf////tab////tab////tab//srcFilter=\\quot\\\\amp\\SourceDriverFilter=gt(len(Vendor_3_name)\\comma\\0\\comma\\n)\\quot\\//crlf////tab////tab////tab//s=execAgentAction(executeMergeDefinition\\comma\\sParams\\plus\\srcFilter)//crlf////tab////tab////tab//sResult=sResult\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\\\quot\\Vendor3: \\quot\\\\plus\\s//crlf////crlf////tab////tab////tab//if(pos(\\quot\\error\\quot\\\\comma\\sResult)>0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: \\quot\\\\plus\\getToken(br)\\plus\\sResult//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: \\quot\\\\plus\\getToken(br)\\plus\\sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//importInventoryGroupsFromFile//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importInventoryGroupsFromFile\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Imports inventory groups from the inventory template//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//Filename - Filename of the template//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\\importInventoryGroupsFromFile\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Import inventory Groups from file: __Filename__ StoreID: __StoreID__\\quot\\);//crlf////crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing filename//crlf////tab////tab////tab//if(undefined(\\quot\\__Filename__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Filename\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////set params//crlf////tab////tab////tab//sParams=\\quot\\MergeID=14yJNK0r\\amp\\SourceDriverParams=Filename=__Filename__~~pipe~~StoreID=__StoreID__\\amp\\DestDriverParams=StoreID=__StoreID__\\quot\\//crlf////crlf////tab////tab////tab////execute the merge to import groups//crlf////tab////tab////tab//srcFilter=\\quot\\\\amp\\SourceDriverFilter=gt(len(group)\\comma\\0\\comma\\n)\\quot\\//crlf////tab////tab////tab//sResult=execAgentAction(executeMergeDefinition\\comma\\sParams\\plus\\srcFilter)//crlf////crlf////tab////tab////tab//if(pos(\\quot\\error\\quot\\\\comma\\sResult)>0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Merge Inventory Groups: \\quot\\\\plus\\sResult)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Merge Inventory Groups: \\quot\\\\plus\\sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//importInventoryItemsFromFile//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importInventoryItemsFromFile\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Imports inventory items from an external file.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//Filename - Name of external file//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\\importInventoryItemsFromFile\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Import inventory items from file: __Filename__ StoreID: __StoreID__\\quot\\);//crlf////crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing filename//crlf////tab////tab////tab//if(undefined(\\quot\\__Filename__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Filename\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////initialize default sizes//crlf////tab////tab////tab//execAgentAction(mergeDefaultSizes\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////crlf////tab////tab////tab////set params//crlf////tab////tab////tab//sParams=\\quot\\SourceDriverParams=Filename=__Filename__~~pipe~~StoreID=__StoreID__\\amp\\DestDriverParams=StoreID=__StoreID__\\quot\\//crlf////crlf////tab////tab////tab////execute the merge to import groups//crlf////tab////tab////tab//appendToLog(\\quot\\Merging inventory groups\\quot\\)//crlf////tab////tab////tab//srcFilter=\\quot\\\\amp\\SourceDriverFilter=gt(len(group)\\comma\\0\\comma\\n)\\quot\\//crlf////tab////tab////tab//s=execAgentAction(executeMergeDefinition\\comma\\\\quot\\MergeID=14yJNK0r\\amp\\\\quot\\\\plus\\sParams\\plus\\srcFilter)//crlf////tab////tab////tab//sResult=\\quot\\Groups: \\quot\\\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////tab////execute the merge to import Vendor 1//crlf////tab////tab////tab//appendToLog(\\quot\\Merging vendor names\\quot\\)//crlf////tab////tab////tab//srcFilter=\\quot\\\\amp\\SourceDriverFilter=gt(len(Vendor_1_name)\\comma\\0\\comma\\n)\\quot\\//crlf////tab////tab////tab//s=execAgentAction(executeMergeDefinition\\comma\\\\quot\\MergeID=xCBCnHa5\\amp\\\\quot\\\\plus\\sParams\\plus\\srcFilter)//crlf////tab////tab////tab//sResult=sResult\\plus\\\\quot\\Vendor1: \\quot\\\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////tab////execute the merge to import inventory items//crlf////tab////tab////tab//appendToLog(\\quot\\Merging inventory items\\quot\\)//crlf////tab////tab////tab//srcFilter=\\quot\\\\amp\\SourceDriverFilter=(Will_Import)\\quot\\//crlf////tab////tab////tab//s=execAgentAction(executeMergeDefinition\\comma\\\\quot\\MergeID=BI0hb9ib\\amp\\\\quot\\\\plus\\sParams\\plus\\srcFilter)//crlf////tab////tab////tab//sResult=sResult\\plus\\\\quot\\Items: \\quot\\\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////tab////execute the merge to import conversions for count size custom sizes.  This adds a conversion //crlf////tab////tab////tab////record for the custom size and sets the prefix to 1//crlf////tab////tab////tab//appendToLog(\\quot\\Merging custom conversions for count size\\quot\\)//crlf////tab////tab////tab//srcFilter=\\quot\\\\amp\\SourceDriverFilter=(gt(len(ItemID)\\comma\\0\\comma\\n)) and (Import_Custom_Conversion) and (gt(Conversion_Count_Size_Custom_Prefix\\comma\\0\\comma\\n))\\quot\\//crlf////tab////tab////tab//s=execAgentAction(executeMergeDefinition\\comma\\\\quot\\MergeID=gO8Syres\\amp\\\\quot\\\\plus\\sParams\\plus\\srcFilter)//crlf////tab////tab////tab//sResult=sResult\\plus\\\\quot\\Count size conversions: \\quot\\\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////tab////execute the merge to import conversions for vendor custom sizes.  This adds a conversion //crlf////tab////tab////tab////record for the custom size and sets the prefix to 1//crlf////tab////tab////tab//appendToLog(\\quot\\Merging custom conversions for vendor size\\quot\\)//crlf////tab////tab////tab//srcFilter=\\quot\\\\amp\\SourceDriverFilter=(gt(len(ItemID)\\comma\\0\\comma\\n)) and (Import_Custom_Conversion) and (gt(Conversion_Vendor1_Custom_Prefix\\comma\\0\\comma\\n))\\quot\\//crlf////tab////tab////tab//s=execAgentAction(executeMergeDefinition\\comma\\\\quot\\MergeID=DuO5MiUI\\amp\\\\quot\\\\plus\\sParams\\plus\\srcFilter)//crlf////tab////tab////tab//sResult=sResult\\plus\\\\quot\\Vendor size conversions: \\quot\\\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////tab//if(pos(\\quot\\error\\quot\\\\comma\\sResult)>0)//crlf////tab////tab////tab////tab//return(\\quot\\Error:\\quot\\\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\sResult)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok:\\quot\\\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//updateItemVendorInfo//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateItemVendorInfo\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates vendor information in the item driver when data is edited//crlf////tab////tab//in an invoice detail.  The vendor ID and purchase size are recorded //crlf////tab////tab//in the item record.  The vendor code is also recorded if the invoice //crlf////tab////tab//detail was imported from an invoice provided by the vendor//crlf////tab////crlf////tab////tab//This action is called from the Aspect_Back_Office_Invoice_Detail_DataSubmitted //crlf////tab////tab//script.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//DriverName - Name of the system driver used to read/write the invoice details//crlf////tab////tab//r - Absolute record number of the record that was edited.//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\\updateItemVendorInfo\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\updateItemVendorInfo started\\quot\\)//crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Missing StoreID\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DriverName//crlf////tab////tab////tab//if(undefined(\\quot\\__DriverName__\\quot\\))//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Missing DriverName\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing r//crlf////tab////tab////tab//if(undefined(\\quot\\__r__\\quot\\))//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Missing r (record number)\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the Item ID//crlf////tab////tab////tab//r=__r__//crlf////tab////tab////tab//sItemID=driverGetFieldAbsolute(\\quot\\__DriverName__\\quot\\\\comma\\\\quot\\ItemID\\quot\\\\comma\\r)//crlf////crlf////tab////tab////tab////abort if an item has not been selected//crlf////tab////tab////tab//if(len(sItemID)=0)//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: No item ID selected\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get additional fields from the invoice detail//crlf////tab////tab////tab//sInvoiceID=driverGetFieldAbsolute(\\quot\\__DriverName__\\quot\\\\comma\\\\quot\\InvoiceID\\quot\\\\comma\\r)//crlf////tab////tab////tab//dtInvoice=driverGetFieldAbsolute(\\quot\\__DriverName__\\quot\\\\comma\\\\quot\\Invoice_Date\\quot\\\\comma\\r)//crlf////tab////tab////tab//sVendorID=driverGetFieldAbsolute(\\quot\\__DriverName__\\quot\\\\comma\\\\quot\\VendorID\\quot\\\\comma\\r)//crlf////tab////tab////tab//sVendorCode=driverGetFieldAbsolute(\\quot\\__DriverName__\\quot\\\\comma\\\\quot\\Imported_Item_Code\\quot\\\\comma\\r)//crlf////tab////tab////tab//dSizePrefix=driverGetFieldAbsolute(\\quot\\__DriverName__\\quot\\\\comma\\\\quot\\Size_Prefix\\quot\\\\comma\\r)//crlf////tab////tab////tab//sSizeUnit=driverGetFieldAbsolute(\\quot\\__DriverName__\\quot\\\\comma\\\\quot\\Size_Unit\\quot\\\\comma\\r)//crlf////tab////tab////tab//dUnitPrice=driverGetFieldAbsolute(\\quot\\__DriverName__\\quot\\\\comma\\\\quot\\Unit_Price\\quot\\\\comma\\r)//crlf////crlf////tab////tab////tab////abort if vendor ID is blank//crlf////tab////tab////tab//if(len(sVendorID)=0)//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Missing Vendor ID\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the inventory item driver//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Item\\comma\\dItem\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////crlf////tab////tab////tab////get the record number of the item//crlf////tab////tab////tab//rItem=driverFindRecordAbsolute(dItem\\comma\\0\\comma\\\\quot\\(Record_Type=1) and (ID=\\quot\\\\plus\\sItemID\\plus\\\\quot\\)\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\updateItemVendorInfo sItemID=\\quot\\\\plus\\sItemID\\plus\\\\quot\\ rItem=\\quot\\\\plus\\rItem)//crlf////tab////crlf////tab////tab////tab////abort if the item is not found//crlf////tab////tab////tab//if(rItem<0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Cannot locate item with ID=\\quot\\\\plus\\sItemID)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////locate the vendor for the item (there are three vendor fields//crlf////tab////tab////tab//iVendorIndex=-1//crlf////tab////tab////tab//dtLastUpdated=date(0)//crlf////tab////tab////tab//if(driverGetFieldAbsolute(dItem\\comma\\\\quot\\Vendor1\\quot\\\\comma\\rItem)=sVendorID)//crlf////tab////tab////tab////tab//dtLastUpdated=driverGetFieldAbsolute(dItem\\comma\\\\quot\\Vendor1_Last_Updated_Date\\quot\\\\comma\\rItem)//crlf////tab////tab////tab////tab//iVendorIndex=1//crlf////tab////tab////tab//elseif(driverGetFieldAbsolute(dItem\\comma\\\\quot\\Vendor2\\quot\\\\comma\\rItem)=sVendorID)//crlf////tab////tab////tab////tab//dtLastUpdated=driverGetFieldAbsolute(dItem\\comma\\\\quot\\Vendor2_Last_Updated_Date\\quot\\\\comma\\rItem)//crlf////tab////tab////tab////tab//iVendorIndex=2//crlf////tab////tab////tab//elseif(driverGetFieldAbsolute(dItem\\comma\\\\quot\\Vendor3\\quot\\\\comma\\rItem)=sVendorID)//crlf////tab////tab////tab////tab//dtLastUpdated=driverGetFieldAbsolute(dItem\\comma\\\\quot\\Vendor3_Last_Updated_Date\\quot\\\\comma\\rItem)//crlf////tab////tab////tab////tab//iVendorIndex=3//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\updateItemVendorInfo iVendorIndex=\\quot\\\\plus\\iVendorIndex)//crlf////crlf////tab////tab////tab////if the vendor was not found\\comma\\ move vendor 1 to 2 and 2 to 3 and //crlf////tab////tab////tab////add the vendor in position 1//crlf////tab////tab////tab//bShift=false//crlf////tab////tab////tab//if(iVendorIndex=-1)//crlf////tab////tab////tab////tab//n=3//crlf////tab////tab////tab////tab//while(n>=2)//crlf////tab////tab////tab////tab////tab//sPrefix1=\\quot\\Vendor\\quot\\\\plus\\n//crlf////tab////tab////tab////tab////tab//sPrefix2=\\quot\\Vendor\\quot\\\\plus\\(n-1)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\updateItemVendorInfo Moving \\quot\\\\plus\\sPrefix2\\plus\\\\quot\\ to \\quot\\\\plus\\sPrefix1)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dItem\\comma\\sPrefix1\\comma\\rItem\\comma\\driverGetFieldAbsolute(dItem\\comma\\sPrefix2\\comma\\rItem)))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dItem\\comma\\sPrefix1\\plus\\\\quot\\_Size_Prefix\\quot\\\\comma\\rItem\\comma\\driverGetFieldAbsolute(dItem\\comma\\sPrefix2\\plus\\\\quot\\_Size_Prefix\\quot\\\\comma\\rItem)))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dItem\\comma\\sPrefix1\\plus\\\\quot\\_Size_Unit\\quot\\\\comma\\rItem\\comma\\driverGetFieldAbsolute(dItem\\comma\\sPrefix2\\plus\\\\quot\\_Size_Unit\\quot\\\\comma\\rItem)))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dItem\\comma\\sPrefix1\\plus\\\\quot\\_Code\\quot\\\\comma\\rItem\\comma\\driverGetFieldAbsolute(dItem\\comma\\sPrefix2\\plus\\\\quot\\_Code\\quot\\\\comma\\rItem)))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dItem\\comma\\sPrefix1\\plus\\\\quot\\_Price\\quot\\\\comma\\rItem\\comma\\driverGetFieldAbsolute(dItem\\comma\\sPrefix2\\plus\\\\quot\\_Price\\quot\\\\comma\\rItem)))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dItem\\comma\\sPrefix1\\plus\\\\quot\\_Last_Updated_Date\\quot\\\\comma\\rItem\\comma\\driverGetFieldAbsolute(dItem\\comma\\sPrefix2\\plus\\\\quot\\_Last_Updated_Date\\quot\\\\comma\\rItem)))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dItem\\comma\\sPrefix1\\plus\\\\quot\\_Last_Updated_InvoiceID\\quot\\\\comma\\rItem\\comma\\driverGetFieldAbsolute(dItem\\comma\\sPrefix2\\plus\\\\quot\\_Last_Updated_InvoiceID\\quot\\\\comma\\rItem)))//crlf////tab////tab////tab////tab////tab//n--//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//iVendorIndex=1//crlf////tab////tab////tab////tab//bShift=true//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////record the vendor ID//crlf////tab////tab////tab//driverPutFieldAbsolute(dItem\\comma\\\\quot\\Vendor\\quot\\\\plus\\iVendorIndex\\comma\\rItem\\comma\\sVendorID)//crlf////crlf////tab////tab////tab////========================================//crlf////tab////tab////tab//Note: The following information must always be written.  When the vendors are shifted\\comma\\ to make //crlf////tab////tab////tab//room for a new vendor\\comma\\ the previous values in vendor1 will be left over and must be replaced.//crlf////tab////tab////tab////========================================//crlf////tab////tab////tab//if(dtInvoice>=dtLastUpdated)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Updating vendor price\\quot\\)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(dItem\\comma\\\\quot\\Vendor\\quot\\\\plus\\iVendorIndex\\plus\\\\quot\\_Last_Updated_InvoiceID\\quot\\\\comma\\rItem\\comma\\sInvoiceID)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(dItem\\comma\\\\quot\\Vendor\\quot\\\\plus\\iVendorIndex\\plus\\\\quot\\_Last_Updated_Date\\quot\\\\comma\\rItem\\comma\\dtInvoice)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(dItem\\comma\\\\quot\\Vendor\\quot\\\\plus\\iVendorIndex\\plus\\\\quot\\_Price\\quot\\\\comma\\rItem\\comma\\abs(dUnitPrice))//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Not updating vendor price.  Prev dt=\\quot\\\\plus\\dtLastUpdated\\plus\\\\quot\\ dt invoice=\\quot\\\\plus\\dtInvoice)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//driverPutFieldAbsolute(dItem\\comma\\\\quot\\Vendor\\quot\\\\plus\\iVendorIndex\\plus\\\\quot\\_Size_Prefix\\quot\\\\comma\\rItem\\comma\\dSizePrefix)//crlf////tab////tab////tab//driverPutFieldAbsolute(dItem\\comma\\\\quot\\Vendor\\quot\\\\plus\\iVendorIndex\\plus\\\\quot\\_Size_Unit\\quot\\\\comma\\rItem\\comma\\sSizeUnit)//crlf////crlf////tab////tab////tab////07-24-19: Don\\apos\\t write a blank vendor code.  This can be a problem if an invoice is imported//crlf////tab////tab////tab////and a vendor code is assigned and then another is entered manually.  When an invoice is entered//crlf////tab////tab////tab////manually\\comma\\ there will be no code and to record it would wipe out the original code.  The item //crlf////tab////tab////tab////would then not be recognized the next time it is imported.//crlf////tab////tab////tab//if((len(sVendorCode)>0) or (bShift))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(dItem\\comma\\\\quot\\Vendor\\quot\\\\plus\\iVendorIndex\\plus\\\\quot\\_Code\\quot\\\\comma\\rItem\\comma\\sVendorCode)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////remove the vendor item code from any records in which it already exists.  This is done so //crlf////tab////tab////tab////there will not be two items with the same vendor item code//crlf////tab////tab////tab//if(len(trim(sVendorCode))>0)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Removing duplicate vendor codes\\quot\\)//crlf////tab////tab////tab////tab//nIndex=1//crlf////tab////tab////tab////tab//while(nIndex<4)//crlf////tab////tab////tab////tab////tab//sFilter=\\quot\\(not(ID=\\quot\\\\plus\\quote(sItemID)\\plus\\\\quot\\))\\quot\\//crlf////tab////tab////tab////tab////tab//sFilter=sFilter\\plus\\\\quot\\ and (Vendor\\quot\\\\plus\\nIndex\\plus\\\\quot\\=\\quot\\\\plus\\quote(sVendorID)\\plus\\\\quot\\) and (Vendor\\quot\\\\plus\\nIndex\\plus\\\\quot\\_Code=\\quot\\\\plus\\quote(sVendorCode)\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab////tab////tab//driverSetFilter(dItem\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab////tab////tab//c=driverGetRecordCount(dItem)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\sFilter=\\quot\\\\plus\\sFilter\\plus\\\\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//driverPutField(dItem\\comma\\\\quot\\Vendor\\quot\\\\plus\\nIndex\\plus\\\\quot\\_Code\\quot\\\\comma\\n\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Removing vendor code \\quot\\\\plus\\sVendorCode\\plus\\\\quot\\ from item with ID=\\quot\\\\plus\\driverGetField(dItem\\comma\\\\quot\\ID\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//nIndex\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverClose(dItem)//crlf////crlf////tab////tab////tab//return(\\quot\\ok: Updated vendor information in item: \\quot\\\\plus\\sItemID)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//ItemNameChanged//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\ItemNameChanged\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates dependency states for dependent drivers when the name of an//crlf////tab////tab//item is edited.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//FieldID - ID of the field edited//crlf////tab////tab//Value - New value//crlf////tab////tab//R - Absolute record number//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\\ItemNameChanged\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\__FieldID__ changed to __Value__ in record __r__ StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//sCurrentSourceState=getDependencySourceState(\\quot\\Aspect_Back_Office_Physical_Count_List\\quot\\\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Current Source State: \\quot\\\\plus\\sCurrentSourceState)//crlf////tab////tab////tab//appendToLog(\\quot\\Last Source State: \\quot\\\\plus\\getDependencyLastSourceState(\\quot\\Aspect_Back_Office_Physical_Count_List\\quot\\\\comma\\\\quot\\StoreID=__StoreID__\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\Previous Source State: \\quot\\\\plus\\getDependencyPreviousSourceState(\\quot\\Aspect_Back_Office_Physical_Count_List\\quot\\\\comma\\\\quot\\StoreID=__StoreID__\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//updateInventoryItems//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateInventoryItems\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates the inventory item list to include a record for all menu items.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - ID of the store to be updated//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\\updateInventoryItems\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab////it appears this may happen when a dialog includes a table.  Return OK so the //crlf////tab////tab////tab////tab////attempt is not made again//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////crlf////tab////tab////tab////see if another instance is already running to update the date//crlf////tab////tab////tab//sExpression=\\quot\\(sStoreID=\\quot\\\\plus\\quote(sStoreID)\\plus\\\\quot\\)and (scriptGetInstanceID()\\quot\\\\plus\\char(0x3C)\\plus\\scriptGetInstanceID()\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab//cInstance=scriptCount(this\\comma\\sExpression)//crlf////tab////tab////tab//bAlreadyUpdated=(cInstance>0)//crlf////crlf////tab////tab////tab////wait for any prior instances to terminate//crlf////tab////tab////tab//sExpression=\\quot\\(scriptGetInstanceID()\\quot\\\\plus\\char(0x3C)\\plus\\scriptGetInstanceID()\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab//cInstance=scriptCount(this\\comma\\sExpression)//crlf////tab////tab////tab//while(cInstance>0)//crlf////tab////tab////tab////tab//scriptSleep(1000)//crlf////tab////tab////tab////tab//cInstance=scriptCount(this\\comma\\sExpression)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\updateInventoryItems waiting for previous instance to terminate\\quot\\)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////abort if another instance was already running for the store and date//crlf////tab////tab////tab//if(bAlreadyUpdated)//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Updated by previous instance\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if data is being imported from Aspect6//crlf////tab////tab////tab//if(scriptCount(\\quot\\ImportAspect6Data\\quot\\)>0) //crlf////tab////tab////tab////tab//return(\\quot\\Error: updateInventoryItems aborted because ImportAspect6Data is running\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if menu items are being imported from Aspect6//crlf////tab////tab////tab//if(scriptCount(\\quot\\importMenuItems\\quot\\)>0) //crlf////tab////tab////tab////tab//return(\\quot\\Error: updateInventoryItems aborted because importMenuItems is running\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////exit if menu item file does not exist//crlf////tab////tab////tab//if(not(fileExists(getBackOfficeFilename(\\quot\\menuitem.bin\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\))))//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Menu item file does not exist.\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf// //tab////tab////tab////open the drivers//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Item\\comma\\drvItem\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~NoDepend\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvItem\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////crlf////tab////tab////tab////Note: Need to avoid merging in menu items that do not have a POS ID.  Batch recipes//crlf////tab////tab////tab////from Aspect6 will be merged in with the inventory items//crlf////tab////tab////tab//driverOpen(POS_Generic_Menu_Item_Dta\\comma\\drvMenuItem\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvMenuItem\\comma\\\\quot\\(not(len(trim(MenuItemID))=0)) and (not(MenuItemID=\\quot\\\\plus\\quote(\\quot\\0\\quot\\)\\plus\\\\quot\\))\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////merge menu item names and pos numbers.  Also merge gross yield and serving size//crlf////tab////tab////tab////which are initialized using calculated fields in the menu item driver.//crlf////tab////tab////tab//arKeyFields=\\quot\\Menu_Item_POS_ID\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\Menu_Item_ID~~pipe~~Name~~pipe~~Record_Type\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=arFieldsToMerge\\plus\\\\quot\\~~pipe~~Gross_Yield_Prefix~~pipe~~Gross_Yield_Unit\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=arFieldsToMerge\\plus\\\\quot\\~~pipe~~Serve_Size_Prefix~~pipe~~Serve_Size_Unit\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\Menu_Item_ID=ID~~pipe~~Menu_Item_POS_ID=MenuItemID~~pipe~~Name=Name1~~pipe~~Menu_Item_Group_ID=CategoryID~~pipe~~Menu_Item_Group_ID_Override=CategoryID\\quot\\//crlf////tab////tab////tab//s=\\quot\\Menu Items: \\quot\\\\plus\\driverMerge(true\\comma\\drvItem\\comma\\\\quot\\\\quot\\\\comma\\drvMenuItem\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)\\plus\\char(10)//crlf////crlf////tab////tab////tab////merge menu item category id to the override field\\comma\\ but only when the group has//crlf////tab////tab////tab////not been overridden.  This allows for overriding menu item group assignments.//crlf////tab////tab////tab////Once a user changes the group that a menu item is assigned to\\comma\\ the assignment will//crlf////tab////tab////tab////remain.  When a group hasn\\apos\\t been overridden and matches the pos group\\comma\\ the override//crlf////tab////tab////tab////group will also be changed if the menu group assignment is changed on the pos//crlf////tab////tab////tab////This merge must be done before the merge below.//crlf////tab////tab////tab//arKeyFields=\\quot\\Menu_Item_POS_ID\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\Menu_Item_Group_ID_Override\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\Menu_Item_POS_ID=MenuItemID~~pipe~~Menu_Item_Group_ID_Override=CategoryID\\quot\\//crlf////tab////tab////tab//sSrcFilter=\\quot\\(Menu_Item_Group_ID=Menu_Item_Group_ID_Override) or (len(trim(Menu_Item_Group_ID_Override))=0)\\quot\\//crlf////tab////tab////tab//driverSetFilter(drvItem\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//s=s\\plus\\\\quot\\Cat2: \\quot\\\\plus\\driverMerge(false\\comma\\drvItem\\comma\\sSrcFilter\\comma\\drvMenuItem\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)\\plus\\char(10)//crlf////crlf////tab////tab////tab////merge menu item category id\\apos\\s//crlf////tab////tab////tab//arKeyFields=\\quot\\Menu_Item_POS_ID\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\Menu_Item_Group_ID\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\Menu_Item_POS_ID=MenuItemID~~pipe~~Menu_Item_Group_ID=CategoryID\\quot\\//crlf////tab////tab////tab//driverSetFilter(drvItem\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//s=s\\plus\\\\quot\\Cat1: \\quot\\\\plus\\driverMerge(true\\comma\\drvItem\\comma\\\\quot\\\\quot\\\\comma\\drvMenuItem\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)\\plus\\char(10)//crlf////crlf////tab////tab////tab////merge gross yield to count size for menu items if a count size is not specified //crlf////tab////tab////tab//sFilter=\\quot\\(Record_Type=2) and (not(Is_Count_Size1_Valid)) and (Is_Gross_Yield_Valid)\\quot\\//crlf////tab////tab////tab//driverSetFilter(drvItem\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab//arKeyFields=\\quot\\ID\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\Count_Size1_Prefix~~pipe~~Count_Size1_Unit\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\Count_Size1_Prefix=Gross_Yield_Prefix~~pipe~~Count_Size1_Unit=Gross_Yield_Unit\\quot\\//crlf////tab////tab////tab//s=s\\plus\\\\quot\\Initialize Menu Item Count Size: \\quot\\\\plus\\driverMerge(true\\comma\\drvItem\\comma\\\\quot\\\\quot\\\\comma\\drvItem\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)\\plus\\char(10)//crlf////crlf////tab////tab////tab//driverClose(drvItem)//crlf////tab////tab////tab//driverClose(drvMenuItem)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\updateInventoryItems returns \\quot\\\\plus\\s)//crlf////tab////tab////tab//return(\\quot\\Ok: \\quot\\\\plus\\s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//updateInventoryItemsAllStores//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateInventoryItemsAllStores\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Calls the updateItemVendorInfo action to update inventory items for all//crlf////tab////tab//stores with inventory calculations enabled.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateInventoryItemsAllStores\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////get collection of stores//crlf////tab////tab////tab//arStoreID=getCollection(\\quot\\Aspect_BackOffice_Store_Name_By_Directory\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\keys\\quot\\)//crlf////tab////tab////tab//cStore=getElementCount(arStoreID)//crlf////tab////tab////tab//nStore=0//crlf////tab////tab////tab//cUpdate=0//crlf////tab////tab////tab//while(nStore<cStore)//crlf////tab////tab////tab////tab//sStoreID=getElement(arStoreID\\comma\\nStore)//crlf////tab////tab////tab////tab//sDriverID=\\quot\\Aspect_BackOffice_Update_Items_State\\quot\\//crlf////tab////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\\\plus\\sStoreID//crlf////tab////tab////tab////tab//if(dependencyStateChanged(sDriverID\\comma\\sParams))//crlf////tab////tab////tab////tab////tab//execAgentAction(updateInventoryItems\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab////tab////tab//setDependencyStates(sDriverID\\comma\\sParams\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sParams)//crlf////tab////tab////tab////tab////tab//cUpdate\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nStore\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////crlf////tab////tab////tab//return(\\quot\\Ok: Updated \\quot\\\\plus\\cUpdate\\plus\\\\quot\\ of \\quot\\\\plus\\cStore\\plus\\\\quot\\ stores\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=97138|X=300|Y=125|W=803|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=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=false|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=961266|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=never|^
ID=AgentTabs|X=151|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=151|Y=40|W=0|H=0|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_Inventory Items\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Items\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 08-14-2016 09:59:44//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\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Items\\comma\\AgentAction\\comma\\961266\\comma\\0\\comma\\Update inventory items to include records from menu item driver.//crlf////crlf////tab////tab////Update inventory items to include records from menu item driver.//crlf////tab////tab//Result=execAgentAction(\\quot\\updateInventoryItemsAllStores\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\updateInventoryItemsAllStores ()=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Items\\comma\\AgentTerminate\\comma\\585161\\comma\\0\\comma\\Complete//crlf////tab////tab//scriptSetResult(Result)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=151|Y=40|W=0|H=0|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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;08142016//amp//nbsp;095944//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_Inventory//amp//nbsp;Items\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;08-14-2016//amp//nbsp;09:59:44</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Update//amp//nbsp;inventory//amp//nbsp;items//amp//nbsp;to//amp//nbsp;<span class='includecontrol'>include</span>//amp//nbsp;records//amp//nbsp;from//amp//nbsp;menu//amp//nbsp;item//amp//nbsp;driver.</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\updateInventoryItemsAllStores\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\updateInventoryItemsAllStores//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=151|Y=40|W=0|H=0|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=0|H=0|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=0|H=0|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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>08142016 095944</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\\chart961266\\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>Inventory Items</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is On</span><br>Report Status: never<br>Report To: <br>Name Params: </div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 323px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart585161\\quot\\><canvas height=\\quot\\84\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Complete<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div agentchildyesnode=\\quot\\chart585161\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 163px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart961266\\quot\\><canvas height=\\quot\\121\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 108px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Update inventory items to include records from menu item driver.<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>updateInventoryItems<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div>^
ID=585161|X=183|Y=368|W=119|H=47|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=updateInventoryItems|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Complete|AgentNodeTermType=0|^
ID=961266|X=183|Y=208|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=585161|AgentChildNoNode=|AgentSensor=1|AgentAction=updateInventoryItemsAllStores|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Update inventory items to include records from menu item driver.|AgentNodeTermType=0|^
ID=151621|X=300|Y=125|W=803|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(true) or (\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Debugging//crlf////tab//< include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\MyFgz2LgB6HIzgjeO72HiD5N\\quot\\)>//crlf////tab//--------------------------------------------------------------------------]//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowerCase(getSalt(4)))>//crlf////crlf////tab//<script ID=\\quot\\JSImportItems\\quot\\>//crlf////tab////tab//function selectInventoryItemImportFile(salt\\comma\\HomeDir\\comma\\HashID) {//crlf////tab////tab////tab//selectFile(salt\\comma\\replaceAllSubstrings(HomeDir\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\\quot\\)\\comma\\\\quot\\file\\quot\\\\comma\\true\\comma\\\\quot\\selectItemImportFileOk\\quot\\\\comma\\\\quot\\selectItemImportFileCancel\\quot\\\\comma\\200\\comma\\\\quot\\center\\quot\\\\comma\\HashID);//crlf////tab////tab//};//crlf////crlf////tab////tab//function selectItemImportFileOk(salt\\comma\\Filename) {//crlf////tab////tab////tab//document.getElementById(salt+\\quot\\SelectFilename\\quot\\).value=Filename;//crlf////tab////tab////tab//var eDiv=document.getElementById(\\quot\\ImportTableDiv\\quot\\+salt);//crlf////tab////tab////tab//var sUrl=eDiv.getAttribute(\\quot\\_url\\quot\\);//crlf////tab////tab////tab//sUrl +=\\quot\\//amp//salt=\\quot\\+salt+\\quot\\//amp//filename=\\quot\\+Filename;//crlf////tab////tab////tab//showStatusIcon(eDiv);//crlf////tab////tab////tab//asynchInclude(eDiv\\comma\\sUrl);//crlf////tab////tab//};//crlf////crlf////tab////tab//function selectItemImportFileCancel(salt\\comma\\Filename) {//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//Filename //crlf////tab//<input type=\\quot\\test\\quot\\ ID=\\quot\\__salt__SelectFilename\\quot\\ style=\\quot\\width:250px\\quot\\>//crlf////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Browse\\quot\\ onClick=\\quot\\selectInventoryItemImportFile('__salt__'\\comma\\'{homedir}'\\comma\\'{AspectHashID}')\\quot\\>//crlf////crlf////tab//<div //crlf////tab////tab//ID=\\quot\\ImportTableDiv__salt__\\quot\\ //crlf////tab////tab//style='width:100\\percent\\;' //crlf////tab////tab//_url='/?Network=GreenLight//amp//ID=getWidget//amp//source=//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Items//amp//ContainerItemID=374800//amp//StoreID=__StoreID__'>//crlf////tab//</div>//crlf////crlf//</conditional>//crlf//^
ID=374800|X=300|Y=125|W=803|H=660|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false -->//crlf////crlf//[!------------------------------------------------------------------------//crlf//Debugging//crlf//--------------------------------------------------------------------------]//crlf//<_include type:expression; expression:htmlConstant(\\quot\\filename\\quot\\\\comma\\\\quot\\__filename__\\quot\\\\comma\\\\quot\\c:\aspect7\Inventory_Item_Import_Template.csv\\quot\\)>//crlf//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\3w0KD5CJDI7cpSUQDONN8rgV\\quot\\)>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\Display\\quot\\\\comma\\\\quot\\__Display__\\quot\\\\comma\\\\quot\\Items by Group / Name\\quot\\)>//crlf////crlf//<conditional expression:(\\quot\\{//pound//formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)}\\quot\\=\\quot\\01302018\\quot\\) or (defined(\\quot\\__filename__\\quot\\))>//crlf////tab//<script ID=\\quot\\JSImportItemsTable\\quot\\>//crlf////tab////tab//function importVendors(TableID\\comma\\s) {//crlf////tab////tab////tab////if complete...//crlf////tab////tab////tab//if(s) {//tab////crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//width=100pcnt//amp//max-width=400px//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab//refreshTable(TableID\\comma\\\\quot\\refresh\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//showDialog(\\quot\\msg=Importing vendors...//amp//icon=true\\quot\\);//crlf////crlf////tab////tab////tab//var eTable=document.getElementById(TableID);//crlf////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////tab////tab////tab//var sDriverParams=eTable.getAttribute(\\quot\\Params\\quot\\);//crlf////tab////tab////tab//var sFilename=getElementValue(sDriverParams\\comma\\\\quot\\Filename\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab//var sStoreID=getElementValue(sDriverParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////crlf////tab////tab////tab//var sFunc=\\quot\\importVendors('\\quot\\+TableID+\\quot\\'\\comma\\s)\\quot\\;//crlf////tab////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Items//amp//ContainerItemID=action_list\\quot\\;//crlf////tab////tab////tab//sUrl +=\\quot\\//amp//Action=importVendorsFromFile//amp//ActionExec=true//amp//Filename=\\quot\\+sFilename+\\quot\\//amp//StoreID=\\quot\\+sStoreID;//crlf////tab////tab////tab//sUrl +=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab////tab////tab//appendToLog(\\quot\\sUrl: \\quot\\+sUrl);//crlf////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab//function importInventoryGroups(TableID\\comma\\s) {//crlf////tab////tab////tab////if complete...//crlf////tab////tab////tab//if(s) {//tab////crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//width=100pcnt//amp//max-width=400px//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab//refreshTable(TableID\\comma\\\\quot\\refresh\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//showDialog(\\quot\\msg=Importing inventory groups...//amp//icon=true\\quot\\);//crlf////crlf////tab////tab////tab//var eTable=document.getElementById(TableID);//crlf////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////tab////tab////tab//var sDriverParams=eTable.getAttribute(\\quot\\Params\\quot\\);//crlf////tab////tab////tab//var sFilename=getElementValue(sDriverParams\\comma\\\\quot\\Filename\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab//var sStoreID=getElementValue(sDriverParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////crlf////tab////tab////tab//var sFunc=\\quot\\importInventoryGroups('\\quot\\+TableID+\\quot\\'\\comma\\s)\\quot\\;//crlf////tab////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Items//amp//ContainerItemID=action_list\\quot\\;//crlf////tab////tab////tab//sUrl +=\\quot\\//amp//Action=importInventoryGroupsFromFile//amp//ActionExec=true//amp//Filename=\\quot\\+sFilename+\\quot\\//amp//StoreID=\\quot\\+sStoreID;//crlf////tab////tab////tab//sUrl +=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab////tab////tab//appendToLog(\\quot\\sUrl: \\quot\\+sUrl);//crlf////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab//function importInventoryItems(TableID\\comma\\s) {//crlf////tab////tab////tab////if complete...//crlf////tab////tab////tab//if(s) {//tab////crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//width=100pcnt//amp//max-width=400px//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab//refreshTable(TableID\\comma\\\\quot\\refresh\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//showDialog(\\quot\\msg=Importing inventory items...//amp//icon=true\\quot\\);//crlf////crlf////tab////tab////tab//var eTable=document.getElementById(TableID);//crlf////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////tab////tab////tab//var sDriverParams=eTable.getAttribute(\\quot\\Params\\quot\\);//crlf////tab////tab////tab//var sFilename=getElementValue(sDriverParams\\comma\\\\quot\\Filename\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab//var sStoreID=getElementValue(sDriverParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////crlf////tab////tab////tab//var sFunc=\\quot\\importInventoryItems('\\quot\\+TableID+\\quot\\'\\comma\\s)\\quot\\;//crlf////tab////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Items//amp//ContainerItemID=action_list\\quot\\;//crlf////tab////tab////tab//sUrl +=\\quot\\//amp//Action=importInventoryItemsFromFile//amp//ActionExec=true//amp//Filename=\\quot\\+sFilename+\\quot\\//amp//StoreID=\\quot\\+sStoreID;//crlf////tab////tab////tab//sUrl +=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab////tab////tab//appendToLog(\\quot\\sUrl: \\quot\\+sUrl);//crlf////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!-- Dialog used to edit a record -->//crlf////tab//<div ID=\\quot\\ASPECT_BACK-OFFICE_INVENTORY_ITEM_IMPORT__salt__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:550px; display:none;\\quot\\>//crlf////tab////tab//<div style=\\quot\\padding:5px;width:100\\percent\\\\quot\\>//crlf////tab////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab////tab//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this)\\quot\\></div>//crlf////crlf////tab////tab////tab//<div class=\\quot\\TableEditDialogTabsContainerExclusive\\quot\\>//crlf////tab////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__Item')\\quot\\>Inventory Item</span></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//tab////crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab////tab//<select onChange=\\quot\\showTab(this);this.blur();\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab////tab//<option value='__salt__Item'>Inventory </option>//crlf////tab////tab////tab////tab//</select>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<!-- Item -->//crlf////tab////tab////tab//<div ID=\\quot\\__salt__Item\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab////tab//<table style=\\quot\\width:auto\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Name</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:250px\\quot\\ NAME=\\quot\\Name\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Group</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:250px\\quot\\ NAME=\\quot\\Group\\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>Count Size</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ID=\\quot\\Zivf\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:250px\\quot\\ NAME=\\quot\\Count_size\\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//<br>//crlf////crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<th align='left'>Vendor Name</th>//crlf////tab////tab////tab////tab////tab////tab//<th align='left'>Size</th>//crlf////tab////tab////tab////tab////tab////tab//<th align='left'>Factor</th>//crlf////tab////tab////tab////tab////tab////tab//<th align='left'>Price</th>//crlf////tab////tab////tab////tab////tab////tab//<th align='left'>Code</th>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//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\\Vendor1_name\\quot\\ TYPE=\\quot\\text\\quot\\></input></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\\Vendor1_size\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ID=\\quot\\YWOL\\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\\Vendor1_factor\\quot\\ TYPE=\\quot\\number\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ID=\\quot\\SdVW\\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\\Vendor1_price\\quot\\ TYPE=\\quot\\number\\quot\\></input></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\\Vendor1_code\\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//<br>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////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__FilterContainsText\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\gte(pos('$value$'\\comma\\Group+Name+Count_Size+Count_Size1_Unit+ItemID+Vendor1_Code+Vendor1+Vendor1_Name)\\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//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//[!------------------------------------------------------------------------//crlf////tab//Filter - Items with errors//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<span style=\\quot\\white-space:nowrap\\quot\\>//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\checkbox\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__FilterItemsWithErrors\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\$value$\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\not(Will_Import)\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\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//> Items with errors//crlf////tab//</span>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter - Items With Conversions//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<span style=\\quot\\white-space:nowrap\\quot\\>//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\checkbox\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__HasConversions\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\$value$\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\Has_Conversion\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\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//> Only items with conversions//crlf////tab//</span>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter - Exclude items already imported//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<span style=\\quot\\white-space:nowrap\\quot\\>//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\checkbox\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ExcludeAlreadyImported\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\$value$\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\not(Is_Imported)\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\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//> Exclude items already imported//crlf////tab//</span>//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\\ImportItemsTable__salt__\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK-OFFICE_INVENTORY_ITEM_IMPORT\\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~~StoreID=__StoreID__~~pipe~~keyexpression=DiskIndex~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK-OFFICE_INVENTORY_ITEM_IMPORT\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\__Display__\\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\\Name\\comma\\Group\\comma\\Count_Size\\comma\\Vendor1_Name\\comma\\Vendor1_Size\\comma\\Vendor1_Factor\\comma\\Vendor1_Price\\comma\\Vendor1_Code\\comma\\//crlf////tab////tab////tab//DiskIndex\\comma\\ID\\comma\\GroupID\\comma\\ItemID\\comma\\Count_Size1_Prefix\\comma\\Count_Size1_Text\\comma\\Is_Group_Valid\\comma\\Count_Size1_Unit\\comma\\//crlf////tab////tab////tab//Count_Size_Type\\comma\\Count_Size_Type_Name\\comma\\Is_Count_Size_Valid\\comma\\Vendor1\\comma\\Vendor1_Size_Prefix\\comma\\Vendor1_Size_Text\\comma\\//crlf////tab////tab////tab//Vendor1_Size_Unit\\comma\\Vendor1_Size_Type\\comma\\Vendor1_Size_Type_Name\\comma\\Is_Vendor1_Size_Valid\\comma\\Import_Vendor1_Conversion\\comma\\//crlf////tab////tab////tab//Factor_Is_Valid\\comma\\Will_Import\\comma\\Is_Imported\\comma\\Record_Type\\comma\\Section_Header_by_Vendor_Name\\comma\\Section_Header_by_Group_Name\\comma\\//crlf////tab////tab////tab//Has_Conversion\\comma\\Import_Custom_Conversion\\comma\\Conversion_Count_Size_Volume_Prefix\\comma\\Conversion_Count_Size_Volume_Unit\\comma\\//crlf////tab////tab////tab//Conversion_Count_Size_Weight_Prefix\\comma\\Conversion_Count_Size_Weight_Unit\\comma\\Conversion_Count_Size_Each\\comma\\//crlf////tab////tab////tab//Conversion_Count_Size_Serving\\comma\\Conversion_Count_Size_Custom_Prefix\\comma\\Conversion_Count_Size_Custom_Unit\\comma\\//crlf////tab////tab////tab//Conversion_Vendor1_Custom_Prefix\\comma\\Conversion_Vendor1_Custom_Unit\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT_BACK-OFFICE_INVENTORY_ITEM_IMPORT__salt__\\quot\\;//crlf////tab////tab//_EditDialogID: \\quot\\DocumentID~~pipe~~Widget~~pipe~~Item~~pipe~~ASPECT_BACK-OFFICE_INVENTORY_ITEM_IMPORT~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\__salt__FilterContainsText\\comma\\__salt__FilterItemsWithErrors\\comma\\__salt__ExcludeAlreadyImported\\comma\\__salt__HasConversions\\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//<conditional expression:false>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Originally\\comma\\ vendors and groups were imported separately.  There does not //crlf////tab////tab////tab//seem to be any advantage to this.  The functions remain just in case.//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//Menu: \\quot\\Import Vendors~~pipe~~importVendors\\comma\\Import Inventory Groups~~pipe~~importInventoryGroups\\comma\\Import Inventory Items~~pipe~~importInventoryItems\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//Menu: \\quot\\Import Inventory Items~~pipe~~importInventoryItems\\quot\\;//crlf////tab////tab//faq: \\quot\\LocLOLrK\\quot\\;//crlf////tab////tab//procedure: \\quot\\TqjHQa05\\quot\\;//crlf////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf////crlf//__servertimerresults__//crlf////crlf//^
ID=77542|X=300|Y=125|W=1016|H=630|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\\{@formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)}\\quot\\=\\quot\\01132019\\quot\\) or (defined(\\quot\\__StoreID__\\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\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\JZvFg5y12yIxajyVoLsTt7bd\\quot\\)>//crlf////crlf////tab//<script ID=\\quot\\JS77542\\quot\\>//crlf////tab////tab//function calculateConversion(salt\\comma\\s) {//crlf////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab//showDialog();//crlf////tab////tab////tab////tab//document.getElementById(salt+\\quot\\Result\\quot\\).value=s;//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//var ItemID=document.getElementById(salt+\\quot\\ItemID_input_submit\\quot\\).value;//crlf////tab////tab////tab//var Amount=document.getElementById(salt+\\quot\\Amount\\quot\\).value;//crlf////tab////tab////tab//var FromPrefix=document.getElementById(salt+\\quot\\FromPrefix\\quot\\).value;//crlf////tab////tab////tab//var FromUnit=document.getElementById(salt+\\quot\\FromUnit_input_submit\\quot\\).value;//crlf////tab////tab////tab//var ToPrefix=document.getElementById(salt+\\quot\\ToPrefix\\quot\\).value;//crlf////tab////tab////tab//var ToUnit=document.getElementById(salt+\\quot\\ToUnit_input_submit\\quot\\).value;//crlf////crlf////tab////tab////tab//showDialog(\\quot\\msg=Calculating conversion...//amp//icon=true\\quot\\);//crlf////tab////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//source={AspectHashID}\\quot\\;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Items//amp//ContainerItemID=sensor_list\\quot\\;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//sensor=testCalculateConversion//amp//SensorExec=true\\quot\\;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//StoreID=__StoreID__//amp//ItemID=\\quot\\+ItemID+\\quot\\//amp//Amount=\\quot\\+Amount;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//FromPrefix=\\quot\\+FromPrefix+\\quot\\//amp//FromUnit=\\quot\\+FromUnit;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//ToPrefix=\\quot\\+ToPrefix+\\quot\\//amp//ToUnit=\\quot\\+ToUnit;//crlf////tab////tab////tab//sFunc=\\quot\\calculateConversion(\\\quot\\\\quot\\+salt+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab//console.log(\\quot\\sUrl=\\quot\\+sUrl);//crlf////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab//function calculatePrice(salt\\comma\\s) {//crlf////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab//showDialog();//crlf////tab////tab////tab////tab//document.getElementById(salt+\\quot\\CalcPrice\\quot\\).value=s;//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//var ItemID=document.getElementById(salt+\\quot\\ItemID_input_submit\\quot\\).value;//crlf////tab////tab////tab//var Amount=document.getElementById(salt+\\quot\\Amount\\quot\\).value;//crlf////tab////tab////tab//var ToPrefix=document.getElementById(salt+\\quot\\ToPrefix\\quot\\).value;//crlf////tab////tab////tab//var ToUnit=document.getElementById(salt+\\quot\\ToUnit_input_submit\\quot\\).value;//crlf////tab////tab////tab//var sDate=document.getElementById(salt+\\quot\\Date\\quot\\).value;//crlf////crlf////tab////tab////tab//showDialog(\\quot\\msg=Calculating price...//amp//icon=true\\quot\\);//crlf////tab////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//source={AspectHashID}\\quot\\;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Items//amp//ContainerItemID=sensor_list\\quot\\;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//sensor=testCalculatePrice//amp//SensorExec=true\\quot\\;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//StoreID=__StoreID__//amp//ItemID=\\quot\\+ItemID+\\quot\\//amp//Amount=\\quot\\+Amount;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//Prefix=\\quot\\+ToPrefix+\\quot\\//amp//Unit=\\quot\\+ToUnit;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//Date=\\quot\\+sDate;//crlf////tab////tab////tab//sFunc=\\quot\\calculatePrice(\\\quot\\\\quot\\+salt+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab//console.log(\\quot\\sUrl=\\quot\\+sUrl);//crlf////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<table>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Item</td>//crlf////tab////tab////tab//<td>//crlf////tab////tab////tab////tab//<!include type:Collection;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__salt__ItemID\\quot\\;//crlf////tab////tab////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Items_by_ID_with_Select\\quot\\;//crlf////tab////tab////tab////tab////tab//DataList:\\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\style='width:300px'\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab//</td>//crlf////tab////tab//</tr>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Amount</td>//crlf////tab////tab////tab//<td><input ID=\\quot\\__salt__Amount\\quot\\ type=\\quot\\number\\quot\\ value=1 style=\\quot\\width:100px\\quot\\></td>//crlf////tab////tab//</tr>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>From Prefix</td>//crlf////tab////tab////tab//<td><input ID=\\quot\\__salt__FromPrefix\\quot\\ type=\\quot\\number\\quot\\ value=1 style=\\quot\\width:100px\\quot\\></td>//crlf////tab////tab//</tr>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>From Unit</td>//crlf////tab////tab////tab//<td>//crlf////tab////tab////tab////tab//<!include type:Collection;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__salt__FromUnit\\quot\\;//crlf////tab////tab////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\;//crlf////tab////tab////tab////tab////tab//DataList:\\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//SubmitDialogCell:\\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\style='width:100px'\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab//</td>//crlf////tab////tab//</tr>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>To Prefix</td>//crlf////tab////tab////tab//<td><input ID=\\quot\\__salt__ToPrefix\\quot\\ type=\\quot\\number\\quot\\ value=1 style=\\quot\\width:100px\\quot\\></td>//crlf////tab////tab//</tr>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>To Unit</td>//crlf////tab////tab////tab//<td>//crlf////tab////tab////tab////tab//<!include type:Collection;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__salt__ToUnit\\quot\\;//crlf////tab////tab////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\;//crlf////tab////tab////tab////tab////tab//DataList:\\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//SubmitDialogCell:\\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\style='width:100px'\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab//</td>//crlf////tab////tab//</tr>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Result</td>//crlf////tab////tab////tab//<td>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__Result\\quot\\ type=\\quot\\text\\quot\\ readonly=true value=\\quot\\\\quot\\ style=\\quot\\width:100px\\quot\\>//crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Convert Size\\quot\\ onClick=\\quot\\calculateConversion('__salt__')\\quot\\>//tab////crlf////tab////tab////tab//</td>//crlf////tab////tab//</tr>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Date</td>//crlf////tab////tab////tab//<td><input ID=\\quot\\__salt__Date\\quot\\ type=\\quot\\date\\quot\\ value=\\quot\\{@formatDate(now()\\comma\\\\quot\\yyyy-MM-dd\\quot\\)}\\quot\\>//crlf////tab////tab//</tr>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Price</td>//crlf////tab////tab////tab//<td>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__CalcPrice\\quot\\ type=\\quot\\text\\quot\\ readonly=true value=\\quot\\\\quot\\ style=\\quot\\width:100px\\quot\\>//crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Calculate Price\\quot\\ onClick=\\quot\\calculatePrice('__salt__')\\quot\\>//tab////crlf////tab////tab////tab//</td>//crlf////tab////tab//</tr>//crlf////tab//</table>//crlf////crlf////tab////crlf//</conditional>
</widget><widget name="Physical Count List" group="Inventory Count" category="" description="Updates the count list to ensure that it contains a record for every inventory item in the 'all items' group and a record for all menu items to be included in the count.  Deleted inventory items and menu items no longer included in the count are removed from the list using a calculated field and a delete mask." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Physical Count List" modified="02-01-2018 00:17:41" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=01-16-2018 14:26:32:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=87|toolboxy=204|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Physical Count List.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'648013')\\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\\'352151')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=648013|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Physical Count List.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Physical Count List.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Physical Count List\\comma\\updatePhysicalCountList\\comma\\action_list\\comma\\Action=updatePhysicalCountList\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updatePhysicalCountList//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updatePhysicalCountList\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates the count list to ensure it contains a record for every inventory item//crlf////tab////tab//in the \\quot\\all items\\quot\\ group and a record for all menu items to be included in the count.//crlf////tab////tab//Deleted inventory items and menu items no longer included in the count are removed from//crlf////tab////tab//the list using a calculated field and a delete mask.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - ID of the store//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updatePhysicalCountList\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Update count list\\quot\\)//crlf////tab////tab////tab////tab////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////debugging//tab////tab////crlf////tab////tab////tab//sDebugRecordID=\\quot\\INhUDdQc\\quot\\//crlf////crlf////tab////tab////tab////open the drivers//crlf////tab////tab////tab//driverOpen(\\quot\\Aspect_Back_Office_Inventory_Item\\quot\\\\comma\\drvItem\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvItem\\comma\\\\quot\\(Include_In_Count_List) or (Record_Type=1)\\quot\\\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\drvItem recordCount=\\quot\\\\plus\\driverGetRecordCount(drvItem))//crlf////crlf////tab////tab////tab////debugging//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//rDebug=driverFindRecordAbsolute(drvItem\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\sDebugRecordID)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Index of \\quot\\\\plus\\sDebugRecordID\\plus\\\\quot\\ in drvItem=\\quot\\\\plus\\rDebug)//crlf////tab////tab////tab////tab//rDebug=driverFindRecord(drvItem\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\sDebugRecordID)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Filtered Index of \\quot\\\\plus\\sDebugRecordID\\plus\\\\quot\\ in drvItem=\\quot\\\\plus\\rDebug)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////driverOpen(Aspect_Back_Office_Physical_Count_List\\comma\\drvCountList\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~ShowAllItems=true~~pipe~~NoDepend\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Physical_Count_List_All_Records\\comma\\drvCountList\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~ShowAllItems=true~~pipe~~NoDepend\\quot\\)//crlf////crlf////tab////tab////tab//driverSetFilter(drvCountList\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////debugging//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\drvCountList1 recordCount=\\quot\\\\plus\\driverGetRecordCount(drvCountList))//crlf////tab////tab////tab////tab//rDebug=driverFindRecordAbsolute(drvCountList\\comma\\0\\comma\\\\quot\\ItemID=\\quot\\\\plus\\sDebugRecordID)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Index1 of \\quot\\\\plus\\sDebugRecordID\\plus\\\\quot\\ in drvCountList=\\quot\\\\plus\\rDebug)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//arKeyFields=\\quot\\ItemID~~pipe~~GroupID\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\Used~~pipe~~ItemID~~pipe~~GroupID\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\ItemID=ID~~pipe~~GroupID=Count_List_All_Items_ID\\quot\\//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvCountList\\comma\\\\quot\\true\\quot\\\\comma\\drvItem\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\Merge_Log\\quot\\\\comma\\false)//crlf////crlf////tab////tab////tab////debugging//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//driverSetFilter(drvCountList\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\drvCountList2 recordCount=\\quot\\\\plus\\driverGetRecordCount(drvCountList))//crlf////tab////tab////tab////tab//rDebug=driverFindRecordAbsolute(drvCountList\\comma\\0\\comma\\\\quot\\ItemID=\\quot\\\\plus\\sDebugRecordID)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Index2 of \\quot\\\\plus\\sDebugRecordID\\plus\\\\quot\\ in drvCountList=\\quot\\\\plus\\rDebug)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverClose(drvItem)//crlf////tab////tab////tab//driverClose(drvCountList)//crlf////tab////tab////tab//appendToLog(\\quot\\Update physical count list: \\quot\\\\plus\\s)//crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=352151|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=151|Y=45|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=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=685532|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=AgentTabs|X=151|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=151|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Physical Count List\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Physical Count List\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 07-09-2015 17:12:36//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\\KAV7tpXDgrrC34l3qOMpj1Sy_Physical Count List\\comma\\AgentTerminate\\comma\\685532\\comma\\2\\comma\\//crlf////tab////tab//scriptSetResult(2)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=151|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;07092015//amp//nbsp;171236//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_Physical//amp//nbsp;Count//amp//nbsp;List\\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-09-2015//amp//nbsp;17:12:36</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=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=151|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=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=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>07092015 171236</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\\chart685532\\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>Physical Count List</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: 174px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart685532\\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=685532|X=183|Y=218|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=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=473629|X=387|Y=175|W=975|H=678|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!include type:driver;//crlf////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab//title: \\quot\\\\quot\\;//crlf////tab//ID: \\quot\\\\quot\\;//crlf////tab//HashID: \\quot\\\\quot\\;//crlf////tab//driver: \\quot\\MERGE_LOG\\quot\\;//crlf////tab//name: \\quot\\\\quot\\;//crlf////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab//dispose: \\quot\\false\\quot\\;//crlf////tab//state: \\quot\\\\quot\\;//crlf////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=MERGE_LOG\\quot\\;//crlf////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab//display: \\quot\\\\quot\\;//crlf////tab//fields: \\quot\\\\quot\\;//crlf////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab//sort: \\quot\\ID\\quot\\;//crlf////tab//filter: \\quot\\true\\quot\\;//crlf////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab//class: \\quot\\basic1\\quot\\;//crlf////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab//height:\\quot\\auto\\quot\\;//crlf////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab//EditDialogID: \\quot\\MERGE_LOGDialog\\quot\\;//crlf////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab//Menu: \\quot\\\\quot\\;//crlf////tab//faq: \\quot\\\\quot\\;//crlf////tab//procedure: \\quot\\\\quot\\;//crlf////tab//video: \\quot\\\\quot\\;//crlf////tab//Messages: \\quot\\true\\quot\\;//crlf////tab//ChartType: \\quot\\\\quot\\;//crlf////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab//debug: \\quot\\false\\quot\\;//crlf//>
</widget><widget name="Physical Count" group="Inventory Count" category="" description="Updates the physical count file for a day to ensure it contains all items in the count list." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Physical Count" modified="02-01-2018 00:17:29" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=01-16-2018 14:26:32: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=110|toolboxy=271|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Physical Count.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'593653')\\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\\'893686')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=593653|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Physical Count.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Physical Count.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Physical Count\\comma\\updatePhysicalCount\\comma\\action_list\\comma\\Action=updatePhysicalCount\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updatePhysicalCount//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updatePhysicalCount\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates the physical count file for a day to ensure it contains all//crlf////tab////tab//items in the count list.  //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 - Date (MM-dd-yyyy)//crlf////tab////tab//ItemID - Optional.  If specified\\comma\\ only the given item will be updated in the count list//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\\updatePhysicalCount\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab////this should be handled by TAspectDriver and should not happen//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Already executing updatePhysicalCount\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Missing StoreID\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(undefined(\\quot\\__Date__\\quot\\))//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Missing Date\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////debugging//tab////tab////crlf////tab////tab////tab//sDebugRecordID=\\quot\\INhUDdQc\\quot\\//crlf////crlf////tab////tab////tab////open the drivers//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Physical_Count_List\\comma\\drvCountList\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~ShowAllItems=true\\quot\\)//crlf////tab////tab////tab//if(defined(\\quot\\__ItemID__\\quot\\))//crlf////tab////tab////tab////tab//driverSetFilter(drvCountList\\comma\\\\quot\\ItemID=\\quot\\\\plus\\quote(\\quot\\__ItemID__\\quot\\)\\comma\\true)//tab////crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//driverSetFilter(drvCountList\\comma\\\\quot\\not(ItemID=\\quot\\\\plus\\quote(\\quot\\000\\quot\\)\\plus\\\\quot\\)\\quot\\\\comma\\true)//tab////crlf////tab////tab////tab//endif//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Physical_Count\\comma\\drvPhysicalCount\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~NoDepend\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvPhysicalCount\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////debugging - location of record in count list//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//rDebug=driverFindRecordAbsolute(drvCountList\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\sDebugRecordID)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Index of \\quot\\\\plus\\sDebugRecordID\\plus\\\\quot\\ in drvCountList=\\quot\\\\plus\\rDebug)//crlf////tab////tab////tab////tab//rDebug=driverFindRecord(drvCountList\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\sDebugRecordID)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Filtered Index of \\quot\\\\plus\\sDebugRecordID\\plus\\\\quot\\ in drvCountList=\\quot\\\\plus\\rDebug)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////debugging - location of record in physical count//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//rDebug=driverFindRecordAbsolute(drvPhysicalCount\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\sDebugRecordID)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Index of \\quot\\\\plus\\sDebugRecordID\\plus\\\\quot\\ in drvPhysicalCount=\\quot\\\\plus\\rDebug)//crlf////tab////tab////tab////tab//rDebug=driverFindRecord(drvPhysicalCount\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\sDebugRecordID)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Filtered Index of \\quot\\\\plus\\sDebugRecordID\\plus\\\\quot\\ in drvPhysicalCount=\\quot\\\\plus\\rDebug)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Note:  Need to merge using ID.  Cannot merge using ItemID and GroupID because an//crlf////tab////tab////tab////item might be assigned to a single group more than once.//crlf////tab////tab////tab//arKeyFields=\\quot\\ID\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\ItemID~~pipe~~GroupID\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\\\quot\\//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvPhysicalCount\\comma\\\\quot\\\\quot\\\\comma\\drvCountList\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//appendToLog(\\quot\\updatePhysicalCount1: \\quot\\\\plus\\s)//crlf////crlf////tab////tab////tab////Do a 2nd merge to merge in sizes for items that haven\\apos\\t been counted yet.  Don\\apos\\t want//crlf////tab////tab////tab////to possibly change the size for items that have been counted//crlf////tab////tab////tab//arKeyFields=\\quot\\ID\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\ItemID~~pipe~~GroupID~~pipe~~Size_Prefix~~pipe~~Size_Unit\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\Size_Prefix=Active_Size_Prefix~~pipe~~Size_Unit=Active_Size_Unit\\quot\\//crlf////tab////tab////tab//sFilter=\\quot\\(not(Out_Of_Stock)) and (Physical_Count=0)\\quot\\//crlf////tab////tab////tab//s=driverMerge(false\\comma\\drvPhysicalCount\\comma\\sFilter\\comma\\drvCountList\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//appendToLog(\\quot\\updatePhysicalCount2: \\quot\\\\plus\\s)//crlf////crlf////tab////tab////tab////debugging - location of record in physical count//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//rDebug=driverFindRecordAbsolute(drvPhysicalCount\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\sDebugRecordID)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\After merge: Index of \\quot\\\\plus\\sDebugRecordID\\plus\\\\quot\\ in drvPhysicalCount=\\quot\\\\plus\\rDebug)//crlf////tab////tab////tab////tab//rDebug=driverFindRecord(drvPhysicalCount\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\sDebugRecordID)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\After merge: Filtered Index of \\quot\\\\plus\\sDebugRecordID\\plus\\\\quot\\ in drvPhysicalCount=\\quot\\\\plus\\rDebug)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////delete any records assigned to a count group that do not have a count and that are//crlf////tab////tab////tab////no longer included in the group in the count list//crlf////tab////tab////tab//sFilter=\\quot\\(not(GroupID=\\quot\\\\plus\\quote(\\quot\\//power//All//power//\\quot\\)\\plus\\\\quot\\)) and (Physical_Count=0) and (Sort_Order\\quot\\\\plus\\char(0x3C)\\plus\\\\quot\\0)\\quot\\//crlf////tab////tab////tab//driverSetFilter(drvPhysicalCount\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(drvPhysicalCount)//crlf////tab////tab////tab//appendToLog(\\quot\\Deleting \\quot\\\\plus\\c\\plus\\\\quot\\ records from physical count filter=\\quot\\\\plus\\sFilter)//crlf////tab////tab////tab//driverDeleteActiveRecords(drvPhysicalCount)//crlf////crlf////tab////tab////tab////debugging - location of record in physical count//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//rDebug=driverFindRecordAbsolute(drvPhysicalCount\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\sDebugRecordID)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\After delete: Index of \\quot\\\\plus\\sDebugRecordID\\plus\\\\quot\\ in drvPhysicalCount=\\quot\\\\plus\\rDebug)//crlf////tab////tab////tab////tab//rDebug=driverFindRecord(drvPhysicalCount\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\sDebugRecordID)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\After delete: Filtered Index of \\quot\\\\plus\\sDebugRecordID\\plus\\\\quot\\ in drvPhysicalCount=\\quot\\\\plus\\rDebug)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverClose(drvCountList)//crlf////tab////tab////tab//driverClose(drvPhysicalCount)//crlf////tab////tab////tab//appendToLog(\\quot\\Update physical count __Date__: \\quot\\\\plus\\s)//crlf////tab////tab////tab//return(\\quot\\ok: \\quot\\\\plus\\s)//crlf////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=893686|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=153973|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=153973|X=183|Y=205|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_Physical Count\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Physical Count\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 07-10-2015 10:31:23//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Physical Count\\comma\\AgentTerminate\\comma\\153973\\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;07102015//amp//nbsp;103123//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_Physical//amp//nbsp;Count\\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-10-2015//amp//nbsp;10:31:23</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>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>07102015 103123</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\\chart153973\\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>Physical Count</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: 148px; left: 130px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart153973\\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="Waste Count" group="Waste Count" category="" description="Updates the waste count driver for a day to ensure it contains all items in the waste count list." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Waste Count" modified="08-15-2015 20:07:37" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=07-10-2015 09:56:07:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=69|toolboxy=251|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Waste Count.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=code|X=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\\'123978')\\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\\'770579')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=123978|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_KAV7tpXDgrrC34l3qOMpj1Sy_Waste Count.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=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_KAV7tpXDgrrC34l3qOMpj1Sy_Waste Count.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Waste Count\\comma\\updateWasteCount\\comma\\action_list\\comma\\Action=updateWasteCount\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateWasteCount//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateWasteCount\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates the waste count file for a day to ensure it contains all//crlf////tab////tab//items in the waste count list.  //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 - Date (MM-dd-yyyy)//crlf////tab////tab//ItemID - Optional.  If specified\\comma\\ only the given item will be updated in the count list//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\\updateWasteCount\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab////this should be handled by TAspectDriver and should not happen//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Already executing updateWasteCount\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Missing StoreID\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(undefined(\\quot\\__Date__\\quot\\))//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Missing Date\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the drivers//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Waste_Count_List\\comma\\drvCountList\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//if(defined(\\quot\\__ItemID__\\quot\\))//crlf////tab////tab////tab////tab//driverSetFilter(drvCountList\\comma\\\\quot\\ItemID=\\quot\\\\plus\\quote(\\quot\\__ItemID__\\quot\\)\\comma\\true)//tab////crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//driverSetFilter(drvCountList\\comma\\\\quot\\true\\quot\\\\comma\\true)//tab////crlf////tab////tab////tab//endif//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Waste_Count\\comma\\drvWasteCount\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~NoDepend\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvWasteCount\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////Note:  Need to merge using ID.  Cannot merge using ItemID and GroupID because an//crlf////tab////tab////tab////item might be assigned to a single group more than once.//crlf////tab////tab////tab//arKeyFields=\\quot\\ID\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\ItemID~~pipe~~GroupID\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\\\quot\\//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvWasteCount\\comma\\\\quot\\\\quot\\\\comma\\drvCountList\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////crlf////tab////tab////tab////do a 2nd merge to merge in sizes for items that haven\\apos\\t been counted yet.  Don\\apos\\t want//crlf////tab////tab////tab////to possibly change the size for items that have been counted//crlf////tab////tab////tab//arKeyFields=\\quot\\ID\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\Size_Prefix~~pipe~~Size_Unit\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\Size_Prefix=Active_Size_Prefix~~pipe~~Size_Unit=Active_Size_Unit\\quot\\//crlf////tab////tab////tab//sFilter=\\quot\\(Physical_Count=0)\\quot\\//crlf////tab////tab////tab//s=driverMerge(false\\comma\\drvWasteCount\\comma\\sFilter\\comma\\drvCountList\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////crlf////tab////tab////tab//driverClose(drvCountList)//crlf////tab////tab////tab//driverClose(drvWasteCount)//crlf////tab////tab////tab//appendToLog(\\quot\\Update waste count __Date__: \\quot\\\\plus\\s)//crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//tab////tab////crlf////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//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=770579|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=460759|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|
^
ID=460759|X=183|Y=205|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentTabs|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=AgentScript|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Waste Count\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Waste Count\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 07-10-2015 10:33:41//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Waste Count\\comma\\AgentTerminate\\comma\\460759\\comma\\2\\comma\\//crlf////tab////tab//scriptSetResult(2)//crlf////tab//\\quot\\>//crlf//</conditional>
^
ID=ScriptText|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;07102015//amp//nbsp;103341//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_Waste//amp//nbsp;Count\\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-10-2015//amp//nbsp;10:33:41</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(2)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>
^
ID=AgentDescription|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentStatus|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentChart|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>07102015 103341</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\\chart460759\\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>Waste Count</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: 26px; left: -43px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart460759\\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="Physical Count Batch Detail" group="Inventory Count" category="" description="Breaks down counts entered for batch inventory items into counts for the constituent inventory items" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Physical Count Batch Detail" modified="03-13-2017 01:07:36" modifiedby="Thnikpad2" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=02-07-2016 10:42:44:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=120|toolboxy=168|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Physical Count Batch 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=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'628110')\\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\\'974927')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=628110|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Physical Count Batch Detail.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Physical Count Batch Detail.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Physical Count Batch Detail\\comma\\updatePhysicalCountBatchDetail\\comma\\action_list\\comma\\Action=updatePhysicalCountBatchDetail\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updatePhysicalCountBatchDetail//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updatePhysicalCountBatchDetail\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Breaks down counts entered for batch inventory items into counts//crlf////tab////tab//for the constituent inventory items//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 - Date in MM-dd-yyyy format//crlf////tab////tab//ItemID - Optional.  ID of inventory item being updated//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\\updatePhysicalCountBatchDetail\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if store not specified//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 date not specified//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////open the physical count//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Physical_Count\\comma\\drvPhysicalCount\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab//driverSetSubtotal(drvPhysicalCount\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\ItemID\\quot\\)//crlf////tab////tab////tab//driverSetDetails(drvPhysicalCount\\comma\\false)//crlf////tab////tab////tab//driverSetFilter(drvPhysicalCount\\comma\\\\quot\\(Inventory_Item_Record_Type=2) or (Inventory_Item_Record_Type=3)\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////if no ItemID is specified\\comma\\ delete the batch details for the day so they will all be//crlf////tab////tab////tab////calculated from scratch//crlf////tab////tab////tab//sFilename=addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\))\\plus\\\\quot\\physical_count_batch_detail.__Date__.bin\\quot\\//crlf////tab////tab////tab//if(undefined(\\quot\\__ItemID__\\quot\\))//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the physical count batch detail driver//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Physical_Count_Batch_Detail\\comma\\drvBatchDetail\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~NoDepend\\quot\\)//crlf////crlf////tab////tab////tab////if an ItemID is specified\\comma\\ delete records for the item.  The ItemID will be the top level//crlf////tab////tab////tab////item and records will exist for each ingredient used in the item//crlf////tab////tab////tab//if(defined(\\quot\\__ItemID__\\quot\\))//crlf////tab////tab////tab////tab//driverSetFilter(drvBatchDetail\\comma\\\\quot\\Top_Item_ID=\\quot\\\\plus\\quote(\\quot\\__ItemID__\\quot\\)\\comma\\true)//crlf////tab////tab////tab////tab//driverDeleteActiveRecords(drvBatchDetail)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab////if the file was successfully deleted\\comma\\ there shouldn\\apos\\t be any record.//crlf////tab////tab////tab////tab////This is a double-check//crlf////tab////tab////tab////tab//driverSetFilter(drvBatchDetail\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverDeleteActiveRecords(drvBatchDetail)//crlf////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////iterate through each record in the physical count//crlf////tab////tab////tab//c=driverGetRecordCount(drvPhysicalCount\\comma\\false)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sItemID=driverGetField(drvPhysicalCount\\comma\\\\quot\\ItemID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dStandard_Quantity=driverGetField(drvPhysicalCount\\comma\\\\quot\\Standard_Quantity\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Calc batch detail ItemID=\\quot\\\\plus\\sItemID\\plus\\\\quot\\ Qty=\\quot\\\\plus\\dStandard_Quantity)//crlf////tab////tab////tab////tab//if(dStandard_Quantity<>0)//crlf////tab////tab////tab////tab////tab//dStandard_Size_Prefix=driverGetField(drvPhysicalCount\\comma\\\\quot\\Standard_Size_Prefix\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//sStandard_Size_Unit=driverGetField(drvPhysicalCount\\comma\\\\quot\\Standard_Size_Unit\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//calcLegitimateUsage(sItemID\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\dStandard_Quantity\\comma\\dStandard_Size_Prefix\\comma\\sStandard_Size_Unit\\comma\\drvBatchDetail)//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(drvBatchDetail)//tab////tab////tab////crlf////tab////tab////tab//driverClose(drvPhysicalCount)//crlf////crlf////tab////tab////tab////if no data was written to the driver\\comma\\ create an empty file so the dependency state can//crlf////tab////tab////tab////be calculated.  Otherwise the driver will always be out of date.  This will happen if there//crlf////tab////tab////tab////are no counts entered for batch items//crlf////tab////tab////tab//if(fileSize(sFilename)=0)//crlf////tab////tab////tab////tab//fileWriteContent(sFilename\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//scriptSetResult(\\quot\\Ok: Calculated counts for \\quot\\\\plus\\c\\plus\\\\quot\\ batch recipes\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=974927|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=628183|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=628183|X=183|Y=218|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_Physical Count Batch Detail\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Physical Count Batch Detail\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 07-10-2015 10:36:04//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\\KAV7tpXDgrrC34l3qOMpj1Sy_Physical Count Batch Detail\\comma\\AgentTerminate\\comma\\628183\\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;07102015//amp//nbsp;103604//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_Physical//amp//nbsp;Count//amp//nbsp;Batch//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;07-10-2015//amp//nbsp;10:36:04</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(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>07102015 103604</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\\chart628183\\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>Physical Count Batch 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: 108px; left: 151px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart628183\\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="Waste Count Batch Detail" group="Waste Count" category="" description="Breaks down counts entered for batch inventory items in the waste list into counts for the constituent inventory items" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Waste Count Batch Detail" modified="08-15-2015 20:08:01" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=07-10-2015 09:58:38: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=135|toolboxy=180|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Waste Count Batch Detail.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=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\\'202012')\\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\\'642724')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=202012|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_KAV7tpXDgrrC34l3qOMpj1Sy_Waste Count Batch Detail.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//
^
ID=action_list|X=300|Y=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=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_KAV7tpXDgrrC34l3qOMpj1Sy_Waste Count Batch Detail.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Waste Count Batch Detail\\comma\\updateWasteCountBatchDetail\\comma\\action_list\\comma\\Action=updateWasteCountBatchDetail\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateWasteCountBatchDetail//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateWasteCountBatchDetail\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Breaks down counts entered for batch inventory items in the waste list into counts//crlf////tab////tab//for the constituent inventory items//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 - Date in MM-dd-yyyy format//crlf////tab////tab//ItemID - Optional.  ID of inventory item being updated//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\\updateWasteCountBatchDetail\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\updateWasteCountBatchDetail StoreID=__StoreID__ Date=__Date__\\quot\\)//crlf////crlf////tab////tab////tab////abort if store not specified//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 date not specified//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////open the waste count//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Waste_Count\\comma\\drvWasteCount\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab//driverSetSubtotal(drvWasteCount\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\ItemID\\quot\\)//crlf////tab////tab////tab//driverSetDetails(drvWasteCount\\comma\\false)//crlf////tab////tab////tab//driverSetFilter(drvWasteCount\\comma\\\\quot\\(Inventory_Item_Record_Type=2) or (Inventory_Item_Record_Type=3)\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////if no ItemID is specified\\comma\\ delete the batch details for the day so they will all be//crlf////tab////tab////tab////calculated from scratch//crlf////tab////tab////tab//if(undefined(\\quot\\__ItemID__\\quot\\))//crlf////tab////tab////tab////tab//sFilename=addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\))\\plus\\\\quot\\waste_count_batch_detail.__Date__.bin\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the waste count batch detail driver//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Waste_Count_Batch_Detail\\comma\\drvBatchDetail\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~NoDepend\\quot\\)//crlf////crlf////tab////tab////tab////if an ItemID is specified\\comma\\ delete records for the item.  The ItemID will be the top level//crlf////tab////tab////tab////item and records will exist for each ingredient used in the item//crlf////tab////tab////tab//if(defined(\\quot\\__ItemID__\\quot\\))//crlf////tab////tab////tab////tab//driverSetFilter(drvBatchDetail\\comma\\\\quot\\Top_Item_ID=\\quot\\\\plus\\quote(\\quot\\__ItemID__\\quot\\)\\comma\\true)//crlf////tab////tab////tab////tab//driverDeleteActiveRecords(drvBatchDetail)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab////if the file was successfully deleted\\comma\\ there shouldn\\apos\\t be any record.//crlf////tab////tab////tab////tab////This is a double-check//crlf////tab////tab////tab////tab//driverSetFilter(drvBatchDetail\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverDeleteActiveRecords(drvBatchDetail)//crlf////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////iterate through each record in the count//crlf////tab////tab////tab//c=driverGetRecordCount(drvWasteCount\\comma\\false)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sItemID=driverGetField(drvWasteCount\\comma\\\\quot\\ItemID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dStandard_Quantity=driverGetField(drvWasteCount\\comma\\\\quot\\Standard_Quantity\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Calc waste batch detail ItemID=\\quot\\\\plus\\sItemID\\plus\\\\quot\\ Qty=\\quot\\\\plus\\dStandard_Quantity)//crlf////tab////tab////tab////tab//if(dStandard_Quantity<>0)//crlf////tab////tab////tab////tab////tab//dStandard_Size_Prefix=driverGetField(drvWasteCount\\comma\\\\quot\\Standard_Size_Prefix\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//sStandard_Size_Unit=driverGetField(drvWasteCount\\comma\\\\quot\\Standard_Size_Unit\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\calling calcLegitimateUsage sStandard_Size_Unit=\\quot\\\\plus\\sStandard_Size_Unit)//crlf////tab////tab////tab////tab////tab//calcLegitimateUsage(sItemID\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\dStandard_Quantity\\comma\\dStandard_Size_Prefix\\comma\\sStandard_Size_Unit\\comma\\drvBatchDetail)//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(drvBatchDetail)//tab////tab////tab////crlf////tab////tab////tab//driverClose(drvWasteCount)//crlf////tab////tab////tab//scriptSetResult(\\quot\\Ok: Calculated counts for \\quot\\\\plus\\c\\plus\\\\quot\\ batch recipes\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//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=642724|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=959222|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|
^
ID=959222|X=183|Y=218|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentTabs|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=AgentScript|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Waste Count Batch Detail\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Waste Count Batch Detail\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 07-10-2015 10:37:36//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\\KAV7tpXDgrrC34l3qOMpj1Sy_Waste Count Batch Detail\\comma\\AgentTerminate\\comma\\959222\\comma\\2\\comma\\//crlf////tab////tab//scriptSetResult(2)//crlf////tab//\\quot\\>//crlf//</conditional>
^
ID=ScriptText|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;07102015//amp//nbsp;103736//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_Waste//amp//nbsp;Count//amp//nbsp;Batch//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;07-10-2015//amp//nbsp;10:37:36</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(2)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>
^
ID=AgentDescription|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentStatus|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentChart|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>07102015 103736</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\\chart959222\\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>Waste Count Batch 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: 26px; left: -43px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart959222\\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="Legitimate Usages" group="Inventory" category="Dependent Drivers" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Legitimate Usages" modified="08-03-2021 20:33:12" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=03-09-2016 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=60 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(scriptCount(\\quote\\\\percent\\_____\\quote\\+quote(\\quote\\ImportAspect6Data\\quote\\))=0) and (now()-value(getToken(\\quote\\LastPOSSynch\\quote\\))\\gt\\10*60*1000)" TaskConditional_Expression_Description="Only executes when and data is not being imported from Aspect6 and more than 10 minutes have elapsed since pos data was imported." TaskState_Function="gfs(getBackofficeFilespec(\\quote\\\\quote\\,\\quote\\usage.*\\quote\\,incrementTime(LastBusinessDay(),-7),now(),char(0x3B))) + gfs(getBackofficeFilespec(\\quote\\\\quote\\,\\quote\\mix.*\\quote\\,incrementTime(LastBusinessDay(),-7),now(),char(0x3B)))" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=54|toolboxy=178|aspectfuncx=184|aspectfuncy=100|aspectfuncw=812|aspectfunch=806|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Legitimate Usages.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=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\\'380859')\\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\\'22241')\\quot\\>Daily Usage Summary</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'849634')\\quot\\>Daily Usage Summary Consolidated</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'87295')\\quot\\>View Factory Viewer</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'902198')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=380859|X=300|Y=126|W=1170|H=2874|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=1170|H=2874|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=1170|H=2874|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Legitimate Usages.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Legitimate Usages\\comma\\openAspectBackOfficeLegitimateUsageMenuItemTotalConsolidated\\comma\\sensor_list\\comma\\Sensor=openAspectBackOfficeLegitimateUsageMenuItemTotalConsolidated\\comma\\private\\comma\\text//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//openAspectBackOfficeLegitimateUsageMenuItemTotalConsolidated//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\openAspectBackOfficeLegitimateUsageMenuItemTotalConsolidated\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Opens the Aspect_BackOffice_Legitimate_Usage_Menu_Item_Total_Consolidated for a store and range of //crlf////tab////tab//dates.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID//crlf////tab////tab//DateFrom//crlf////tab////tab//DateTo//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\\openAspectBackOfficeLegitimateUsageMenuItemTotalConsolidated\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(not(defined(\\quot\\__StoreID__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateFrom//crlf////tab////tab////tab//if(not(defined(\\quot\\__DateFrom__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateFrom\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateTo//crlf////tab////tab////tab//if(not(defined(\\quot\\__DateTo__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//StoreDir=getStoreDir(\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab//dt=parseTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dtTo=parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////crlf////tab////tab////tab////get filename for consolidated file//crlf////tab////tab////tab//sFilename=getToken(\\quot\\temporary_files\\quot\\)+getsalt(4)+\\quot\\.$$$\\quot\\//crlf////tab////crlf////tab////tab////tab////concatenate the files//crlf////tab////tab////tab//while(dt<=dtTo)//crlf////tab////tab////tab////tab//s=StoreDir+\\quot\\usage_menuitem_total.\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(s))//crlf////tab////tab////tab////tab////tab//fileCopy(s\\comma\\sFilename\\comma\\true\\comma\\true)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////create the file if a legitimate usage file exists//crlf////tab////tab////tab////tab////tab//sLegitFilename=StoreDir+\\quot\\usage.\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab////tab//if(fileExists(sLegitFilename))//crlf////tab////tab////tab////tab////tab////tab//sParams=\\quot\\StoreID=__StoreID__~~pipe~~Date=\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab//  updateDependentDriver(\\quot\\Aspect_Back-Office_Legitimate_Usage_Menu_Item_Total\\quot\\\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab//if(fileExists(s))//crlf////tab////tab////tab////tab////tab////tab////tab//fileCopy(s\\comma\\sFilename\\comma\\true\\comma\\true)//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//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////Open consolidated tempfile//crlf////tab////tab////tab//d=getSalt(4)//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Legitimate_Usage_Menu_Item_Total_Consolidated\\comma\\d\\comma\\WRITE\\comma\\true\\comma\\\\quot\\Filename=\\quot\\+sFilename)//crlf////tab////tab////tab//return(d)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=action_list|X=300|Y=126|W=1170|H=2874|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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_KAV7tpXDgrrC34l3qOMpj1Sy_Legitimate Usages.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Legitimate Usages\\comma\\UpdateLegitDailyMenuItemTotals\\comma\\action_list\\comma\\Action=UpdateLegitDailyMenuItemTotals\\comma\\private//crlf////tab//Legitimate Usages\\comma\\updateLegitimateUsage\\comma\\action_list\\comma\\Action=updateLegitimateUsage\\comma\\private//crlf////tab//Legitimate Usages\\comma\\updateLegitUsageForPeriod\\comma\\action_list\\comma\\Action=updateLegitUsageForPeriod\\comma\\private//crlf////tab//Legitimate Usages\\comma\\recalculatePerpetuals\\comma\\action_list\\comma\\Action=recalculatePerpetuals\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//UpdateLegitDailyMenuItemTotals//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\UpdateLegitDailyMenuItemTotals\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Merges menu item totals from the daily legitimate usages to the //crlf////tab////tab//Aspect_Back-Office_Legitimate_Usage_Menu_Item_Total//tab//driver.  This creates a smaller file //crlf////tab////tab//that can be consolidated for a larger period of time.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//Date - Date//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\UpdateLegitDailyMenuItemTotals\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(not(defined(\\quot\\__StoreID__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing date//crlf////tab////tab////tab//if(not(defined(\\quot\\__Date__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Date\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if back-office package is not up to date//crlf////tab////tab////tab//if(value(getToken(\\quot\\Aspect_BackOffice_Version\\quot\\))<1.01)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Aborted because backoffice not up to date: \\quot\\\\plus\\getToken(\\quot\\Aspect_BackOffice_Version\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open legitimate usages//crlf////tab////tab////tab//dSrc=getSalt(4)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Legitimate_Usage\\comma\\dSrc\\comma\\READ\\comma\\true\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~NoDepend\\quot\\)//crlf////crlf////tab////tab////tab////filter to the top item only and subtotal //crlf////tab////tab////tab//driverSetSubtotal(dSrc\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\Top_Item_ID_for_Merge\\quot\\)//crlf////tab////tab////tab//driverSetFilter(dSrc\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//d1=driverGetRecordCount(dSrc)//crlf////tab////tab////tab//driverSetDetails(dSrc\\comma\\false)//crlf////crlf////tab////tab////tab////delete destination file if it exists//crlf////tab////tab////tab//sFilename=getStoreDir(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\usage_menuitem_total.__Date__.bin\\quot\\//crlf////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the destination driver//crlf////tab////tab////tab//dDest=getSalt(4)//crlf////tab////tab////tab//driverOpen(Aspect_Back-Office_Legitimate_Usage_Menu_Item_Total\\comma\\dDest\\comma\\WRITE\\comma\\true\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~NoDepend\\quot\\)//crlf////crlf////tab////tab////tab////merge the files//crlf////tab////tab////tab//sParams=\\quot\\MergeID=ywNrRJAk\\amp\\SourceDriver=\\quot\\\\plus\\dSrc\\plus\\\\quot\\\\amp\\DestDriver=\\quot\\\\plus\\dDest//crlf////tab////tab////tab//s=execAgentAction(executeMergeDefinition\\comma\\sParams)//crlf////crlf////tab////tab////tab////close drivers//crlf////tab////tab////tab//driverClose(dSrc)//crlf////tab////tab////tab//driverClose(dDest)//crlf////crlf////tab////tab////tab//return(s\\plus\\\\quot\\ d1=\\quot\\\\plus\\d1)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//[!------------------------------------------------------------------------//crlf//updateLegitimateUsage//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateLegitimateUsage\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Calculates legitimate usages for all menu items sold on a given day.//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 - Date in MM-dd-yyyy 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\\updateLegitimateUsage\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\updateLegitimateUsage StoreID=__StoreID__ Date=__Date__\\quot\\)//crlf////crlf////tab////tab////tab////abort if missing store ID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing 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////delete the legitimate usage file if it exists//crlf////tab////tab////tab//sFilename=lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\usage.__date__.bin\\quot\\//crlf////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if sales mix file does not exist//crlf////tab////tab////tab//sMixFilename=lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\mix.__date__.bin\\quot\\//crlf////tab////tab////tab//if(not(fileExists(sMixFilename)))//crlf////tab////tab////tab////tab//return(\\quot\\Ok: No sales mix found\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////open the drivers.  The sales mix should contain one record for each menu item//crlf////tab////tab////tab////sold.  This is handled during the pos import.//crlf////tab////tab////tab//driverOpen(POS_Generic_SalesMix_Dta\\comma\\drvSalesMix\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvSalesMix\\comma\\\\quot\\not(Sold=0)\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Legitimate_Usage\\comma\\drvLegitUsage\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~NoDepend\\quot\\)//crlf////crlf////tab////tab////tab////delete all records in the legitimate usages file.  The file should have already been//crlf////tab////tab////tab////deleted above.  This is a double-check//crlf////tab////tab////tab//driverSetFilter(drvLegitUsage\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverDeleteActiveRecords(drvLegitUsage)//crlf////crlf////tab////tab////tab////iterate through the sales mix\\comma\\ calculating usages for each item sold//crlf////tab////tab////tab//tStart=now()//crlf////tab////tab////tab//cCalculated=0//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//c=driverGetRecordCount(drvSalesMix\\comma\\false)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////get the POS menu ID//crlf////tab////tab////tab////tab//sPOSMenuItemID=driverGetField(drvSalesMix\\comma\\\\quot\\MenuItemID\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////lookup the item ID//crlf////tab////tab////tab////tab//sItemID=lookup(Aspect_BackOffice_Lookup_Inventory_Item_ID_by_Menu_Item_ID2\\comma\\sPOSMenuItemID\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab////tab//if(len(trim(sItemID))>0)//crlf////tab////tab////tab////tab////tab////get the quantity sold//crlf////tab////tab////tab////tab////tab//iSold=driverGetField(drvSalesMix\\comma\\\\quot\\Sold\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////get the gross yield for the recipe//crlf////tab////tab////tab////tab////tab//dServeSizePrefix=lookup(Aspect_BackOffice_Lookup_Inventory_Item_Serve_Size_Prefix\\comma\\sItemID\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab//sServeSizeUnit=lookup(Aspect_BackOffice_Lookup_Inventory_Item_Serve_Size_Unit\\comma\\sItemID\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab//calcLegitimateUsage(sItemID\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\iSold\\comma\\dServeSizePrefix\\comma\\sServeSizeUnit\\comma\\drvLegitUsage)//crlf////tab////tab////tab////tab////tab//cCalculated\\plus\\\\plus\\//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: Cannot locate inventory item associated with item: \\quot\\\\plus\\sPOSMenuItemID )//crlf////tab////tab////tab////tab////tab//cError\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//if(remainder(n\\comma\\100)=0)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Calculating legitimate usage for sales mix record \\quot\\\\plus\\n\\plus\\\\quot\\ of \\quot\\\\plus\\c)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab//driverClose(drvSalesMix)//crlf////tab////tab////tab//driverClose(drvLegitUsage)//crlf////tab////crlf////tab////tab////tab//s=\\quot\\Ok: __Date__: Calculated Legitimate usage for \\quot\\\\plus\\cCalculated\\plus\\\\quot\\ menu items. Errors: \\quot\\\\plus\\cError\\plus\\\\quot\\ Elapsed: \\quot\\\\plus\\getScriptElapsedTime()\\plus\\\\quot\\ms\\quot\\)//crlf////tab////tab////tab//return(appendToLog(s))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//updateLegitUsageForPeriod//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateLegitUsageForPeriod\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates legitimate usages for one or more stores and for a given period of time//crlf////tab////tab//This action is used to calculate legitimate usages whenever the mix file is updated and //crlf////tab////tab//when a legitimate usage file does not exist for a day.  //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Optional.  Comma-delimited list of one or more store ID\\apos\\s or store group ID\\apos\\s//crlf////tab////tab////tab//If not specified\\comma\\ legitimate usages will be updated for all stores//crlf////tab////tab//DateFrom - Optional.  Starting date of period to update.  If undefined\\comma\\ the default is 7 days//crlf////tab////tab////tab//from the last business date//crlf////tab////tab//DateTo - Optional.  Ending date of period to update.  If undefined\\comma\\ the current date is used.  //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateLegitUsageForPeriod\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if already running//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab////note: The \\quot\\aborted\\quot\\ keyword is used in the recalculatePerpetuals action//crlf////tab////tab////tab////tab////below.  Don\\apos\\t delete it.//crlf////tab////tab////tab////tab//return(\\quot\\Error: Aborted because another instance is already running\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get array of stores//crlf////tab////tab////tab//if(deFined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//arStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//arStoreID=getCollection(Aspect_BackOffice_Store_ID_By_ID\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\value\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get starting date//crlf////tab////tab////tab//if(defined(\\quot\\__DateFrom__\\quot\\))//crlf////tab////tab////tab////tab//dtFrom=parseTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//dtFrom=incrementTime(LastBusinessDay()\\comma\\-7)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get ending date//crlf////tab////tab////tab//if(defined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//dtTo=parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//dtTo=now()//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//cUpdated=0//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//cStore=getElementCount(arStoreID)//crlf////tab////tab////tab//nStore=0//crlf////tab////tab////tab//while(nStore<cStore)//crlf////tab////tab////tab////tab//dt=dtFrom//crlf////tab////tab////tab////tab//while(dt<dtTo)//crlf////tab////tab////tab////tab////tab//sStoreID=getElement(arStoreID\\comma\\nStore)//crlf////tab////tab////tab////tab////tab//sDate=formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab//sMixFilename=getStoreDir(sStoreID)\\plus\\\\quot\\mix.\\quot\\\\plus\\sDate\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab////tab//if(fileExists(sMixFilename))//crlf////tab////tab////tab////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\~~pipe~~Date=\\quot\\\\plus\\sDate//crlf////tab////tab////tab////tab////tab////tab//s=updateDependentDriver(\\quot\\Aspect_Back_Office_Legitimate_Usage\\quot\\\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab//if(startsWith(s\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//if(value(getToken(\\quot\\Aspect_BackOffice_Version\\quot\\))>=1.01)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////8-1-2021 This causes a big delay.  It appears to have to do with calculating //crlf////tab////tab////tab////tab////tab////tab////tab////tab////legit prices.//crlf////tab////tab////tab////tab////tab////tab////tab////tab////s1=updateDependentDriver(\\quot\\Aspect_Back-Office_Legitimate_Usage_Menu_Item_Total\\quot\\\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//bplaceholder=false//crlf////tab////tab////tab////tab////tab////tab////tab//endif//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//cError\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//nStore\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(cError>0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Updated \\quot\\\\plus\\cUpdated\\plus\\\\quot\\ drivers.  Failed to update \\quot\\\\plus\\cError\\plus\\\\quot\\ drivers\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Updated \\quot\\\\plus\\cUpdated\\plus\\\\quot\\ drivers.\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//recalculatePerpetuals//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\recalculatePerpetuals\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Forces recalculation of perpetual inventories for a given store and preiod.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - ID of store.//crlf////tab////tab//DateFrom - Starting date//crlf////tab////tab//DateTo - Optional ending date.  The current date is the default.//crlf////tab////tab//CalcLegit - Optional.  If true\\comma\\ legitimate usages will be recalculated for //crlf////tab////tab////tab//each day in the period//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\\recalculatePerpetuals\\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////abort if missing DateFrom//crlf////tab////tab////tab//if(undefined(\\quot\\__DateFrom__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateFrom\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////set a token used by the Letigimate Usage Menu Item Total agent to abort when this script//crlf////tab////tab////tab////is running//crlf////tab////tab////tab//setToken(\\quot\\execrecalculatePerpetuals\\quot\\\\comma\\\\quot\\true\\quot\\)//crlf////crlf////tab////tab////tab//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab////tab//sStoreDir=getStoreDir(sStoreID)//crlf////tab////tab////tab//dt1=parseTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dt2=if(defined(\\quot\\__DateTo__\\quot\\)\\comma\\parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\LastBusinessDay(\\quot\\00:00\\quot\\))//crlf////tab////tab////tab//bCalcLegit=if(defined(\\quot\\__CalcLegit__\\quot\\)\\comma\\boolean(\\quot\\__CalcLegit__\\quot\\)\\comma\\false)//crlf////tab////tab////crlf////tab////tab////tab////back up the starting date by one day so the beginning price is calculated//crlf////tab////tab////tab//dt1=incrementTime(dt1\\comma\\-1)//crlf////crlf////tab////tab////tab//if(bCalcLegit)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Recalculating perpetual and legitimate usage for \\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ to \\quot\\\\plus\\formatDate(dt2\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Recalculating perpetual for \\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ to \\quot\\\\plus\\formatDate(dt2\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//dt=dt1//crlf////tab////tab////tab//while(dt<=dt2)//crlf////tab////tab////tab////tab////delete the daily summary.  This is done to recalculate the perpetual//crlf////tab////tab////tab////tab//sFilename=sStoreDir\\plus\\\\quot\\inventory_summary.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////delete the daily summaries and legitimate usage files//crlf////tab////tab////tab////tab//if(bCalcLegit)//crlf////tab////tab////tab////tab////tab//sFilename=sStoreDir\\plus\\\\quot\\usage.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab////tab////only delete the file if a sales mix exists and it can be recalculated//crlf////tab////tab////tab////tab////tab////tab//sMixFilename=sStoreDir\\plus\\\\quot\\mix.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if(fileExists(sMixFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Not recalculating \\quot\\\\plus\\sFilename\\plus\\\\quot\\ because missing \\quot\\\\plus\\sMixFilename)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////update the legitimate usage files//crlf////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\\\plus\\sStoreID//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\DateFrom=\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\DateTo=\\quot\\\\plus\\formatDate(dt2\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//s=execAgentAction(\\quot\\updateLegitUsageForPeriod\\quot\\\\comma\\sParams)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Update legitimate: \\quot\\\\plus\\s)//crlf////tab////tab////crlf////tab////tab////tab//bError=false//crlf////tab////tab////tab////if the action was aborted because it was already running\\comma\\ do it again//crlf////tab////tab////tab//if(pos(\\quot\\aborted\\quot\\\\comma\\s)>=0)//crlf////tab////tab////tab////tab//t=now()//crlf////tab////tab////tab////tab//while((now()-t<10*60*1000) and (scriptCount(updateLegitUsageForPeriod)>0))//crlf////tab////tab////tab////tab////tab//scriptSleep(5000)//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//s=execAgentAction(\\quot\\updateLegitUsageForPeriod\\quot\\\\comma\\sParams)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Update legitimate: \\quot\\\\plus\\s)//crlf////tab////tab////tab////tab//if(pos(\\quot\\aborted\\quot\\\\comma\\s)>=0)//crlf////tab////tab////tab////tab////tab//bError=true//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////don\\apos\\t call updatePerpetual here.  Let the agents and dependent drivers take care of it//crlf////crlf////tab////tab////tab////08-07-2020 Added Delete Dependent Drivers.  Perpetuals were not being calculated correctly.//crlf////tab////tab////tab////Calling Recalculate Perrpetual and then opening a Cost Of Sales would leave some daily//crlf////tab////tab////tab////summaries in the middle of the period without a legitimate usage.//crlf////tab////tab////tab//sParams=\\quot\\StoreID=__StoreID__\\amp\\Date=__DateFrom__\\quot\\//crlf////tab////tab////tab//s=gw(\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\\\comma\\\\quot\\Notification Container\\quot\\\\comma\\\\quot\\925985\\quot\\\\comma\\sParams)//crlf////crlf////tab////tab////tab//if(bError) {//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Error: Unable to update legitimate usages because updateLegitUsageForPeriod is already running\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//setToken(\\quot\\execrecalculatePerpetuals\\quot\\\\comma\\\\quot\\false\\quot\\)//crlf////crlf////tab////tab////tab//if(bCalcLegit)//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Recalculated legitimate usages for \\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ to \\quot\\\\plus\\formatDate(dt2\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok:  Perpetuals have been cleared and will be recalculated\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf//^
ID=902198|X=300|Y=126|W=1170|H=2874|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=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=362647|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=637206|X=183|Y=442|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Success|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Legitimate Usages\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Legitimate Usages\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 04-14-2016 15:43:06//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\\KAV7tpXDgrrC34l3qOMpj1Sy_Legitimate Usages\\comma\\AgentAction\\comma\\362647\\comma\\0\\comma\\updateLegitUsageForPeriod//crlf////tab////tab//Result=execAgentAction(\\quot\\updateLegitUsageForPeriod\\quot\\\\comma\\a=1)//crlf////crlf////tab////tab////Success?//crlf////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Legitimate Usages\\comma\\AgentTerminate\\comma\\637206\\comma\\0\\comma\\Success//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Legitimate Usages\\comma\\AgentTerminate\\comma\\432386\\comma\\1\\comma\\Fail//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;04142016//amp//nbsp;154306//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_Legitimate//amp//nbsp;Usages\\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-14-2016//amp//nbsp;15:43:06</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\updateLegitUsageForPeriod\\quot\\\\comma\\a=1)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Success?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>04142016 154306</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\\chart362647\\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>Legitimate Usages</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: 400px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart637206\\quot\\><canvas height=\\quot\\46\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 46px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:black\\quot\\>Other</span></div></div><div agentchildyesnode=\\quot\\chart13981\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart362647\\quot\\><canvas height=\\quot\\56\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 56px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>updateLegitUsageForPeriod<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart432386\\quot\\ agentchildyesnode=\\quot\\chart637206\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 284px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart13981\\quot\\><canvas height=\\quot\\64\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Success?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 284px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart432386\\quot\\><canvas height=\\quot\\84\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Fail<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=362647|X=183|Y=218|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=13981|AgentChildNoNode=|AgentSensor=0|AgentAction=updateLegitUsageForPeriod|AgentNodeNotes=|AgentNodeParams=a~~backslash~~equals~~backslash~~1|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=|AgentNodeTermType=0|^
ID=13981|X=183|Y=326|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=637206|AgentChildNoNode=432386|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Success?|AgentNodeTermType=0|^
ID=432386|X=373|Y=326|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Fail|AgentNodeTermType=1|^
ID=22241|X=300|Y=126|W=1170|H=2874|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\) or (\\quot\\{@formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)}\\quot\\=\\quot\\08022021\\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\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\iyEM5cnXHkvu33oGzn0UgwUi\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Date\\quot\\\\comma\\\\quot\\__Date__\\quot\\\\comma\\\\quot\\06-01-2021\\quot\\)>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK-OFFICE_LEGITIMATE_USAGE_MENU_ITEM_TOTAL\\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=ASPECT_BACK-OFFICE_LEGITIMATE_USAGE_MENU_ITEM_TOTAL\\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_BACK-OFFICE_LEGITIMATE_USAGE_MENU_ITEM_TOTALDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:not(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//</conditional>//crlf//^
ID=849634|X=300|Y=126|W=1170|H=2874|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\) or (\\quot\\{@formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)}\\quot\\=\\quot\\07162021\\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\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\lnV7mlbHgKGapHINhv1mDNLx\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\07-08-2021\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\07-10-2021\\quot\\)>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_BackOffice_Legitimate_Usage_Menu_Item_Total_Consolidated\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~SensorName=openAspectBackOfficeLegitimateUsageMenuItemTotalConsolidated~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~Metadata=ASPECT_BACK-Aspect_BackOffice_Legitimate_Usage_Menu_Item_Total_Consolidated\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\1000\\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_BACK-OFFICE_LEGITIMATE_USAGE_MENU_ITEM_TOTALDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:not(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//</conditional>//crlf//^
ID=87295|X=300|Y=126|W=1170|H=2874|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\) or (defined(\\quot\\__ReportID__\\quot\\)) or (\\quot\\{@formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)}\\quot\\=\\quot\\07172021\\quot\\)>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Debugging//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ReportID\\quot\\\\comma\\\\quot\\__ReportID__\\quot\\\\comma\\\\quot\\TTQJfWET\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Metadata\\quot\\\\comma\\\\quot\\__Metadata__\\quot\\\\comma\\\\quot\\e1k00rw8\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\YDim\\quot\\\\comma\\\\quot\\__YDim__\\quot\\\\comma\\\\quot\\Top_Item_ID\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\xdim\\quot\\\\comma\\\\quot\\__xdim__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\measure\\quot\\\\comma\\\\quot\\__measure__\\quot\\\\comma\\\\quot\\\\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\\factory\\quot\\\\comma\\\\quot\\__factory__\\quot\\\\comma\\\\quot\\false\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableVisible\\quot\\\\comma\\\\quot\\__TableVisible__\\quot\\\\comma\\\\quot\\true\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\InspectMenu\\quot\\\\comma\\\\quot\\__InspectMenu__\\quot\\\\comma\\if(\\quot\\__ReportID__\\quot\\=\\quot\\lWSWLgrO\\quot\\\\comma\\\\quot\\siCFg3GI\\quot\\\\comma\\\\quot\\\\quot\\))>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Metadata always defaults to the daily report.  This can be overridden in the user input field//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\metadata\\quot\\\\comma\\\\quot\\__metadata__\\quot\\\\comma\\\\quot\\__ReportID__\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\SaveToName\\quot\\\\comma\\\\quot\\__SaveToName__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\BaseFilter\\quot\\\\comma\\\\quot\\__BaseFilter__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Display\\quot\\\\comma\\\\quot\\__Display__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartCanClose\\quot\\\\comma\\\\quot\\__ChartCanClose__\\quot\\\\comma\\\\quot\\false\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartTitle\\quot\\\\comma\\\\quot\\__ChartTitle__\\quot\\\\comma\\\\quot\\__Display__\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Transpose\\quot\\\\comma\\\\quot\\__Transpose__\\quot\\\\comma\\false)>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Default transpose fields for Generic Ascii driver//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(\\quot\\__ReportID__\\quot\\=\\quot\\FHxdV0yZ\\quot\\)>//crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\TransposeFieldID\\quot\\\\comma\\\\quot\\__TransposeFieldID__\\quot\\\\comma\\\\quot\\DiskIndex_Inverse_Text\\quot\\)>//crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\TransposeName\\quot\\\\comma\\\\quot\\__TransposeName__\\quot\\\\comma\\\\quot\\Field0\\quot\\)>//crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\TransposeFields\\quot\\\\comma\\\\quot\\__TransposeFields__\\quot\\\\comma\\\\quot\\-Content\\comma\\-DiskIndex_Inverse_Text\\comma\\-IsHeader\\comma\\-Field0\\comma\\\\comma\\-ID\\comma\\-Absolute_Record_Count\\comma\\-DiskIndex\\comma\\-DiskIndex_Inverse\\quot\\)>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Default transpose fields for Federal Reserve Z1 table driver//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(\\quot\\__ReportID__\\quot\\=\\quot\\lWSWLgrO\\quot\\)>//crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\TransposeFieldID\\quot\\\\comma\\\\quot\\__TransposeFieldID__\\quot\\\\comma\\\\quot\\Period\\quot\\)>//crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\TransposeName\\quot\\\\comma\\\\quot\\__TransposeName__\\quot\\\\comma\\\\quot\\Year_And_Quarter\\quot\\)>//crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\TransposeFields\\quot\\\\comma\\\\quot\\__TransposeFields__\\quot\\\\comma\\\\quot\\-Content\\comma\\-Date\\comma\\-Year_And_Quarter\\comma\\-ID\\comma\\-Quarter_Text\\comma\\-DiskIndex\\comma\\-Year\\comma\\-Period\\comma\\-Is_Quarterly\\comma\\-Quarter\\comma\\-DateNumber\\comma\\-Absolute_Record_Count\\comma\\-Filename\\comma\\-TableID\\quot\\)>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Get additional driver params passed as params to this page.  This can be used to //crlf////tab//add the value of a parameter selected in the UI to the dimensional view.  These //crlf////tab//parameters must start with \\quot\\DriverParam\\quot\\.  DriverParam is removed from the //crlf////tab//parameter and the remaining part of the name is the param name that is passed to //crlf////tab//the dimensional driver.  See the //tab//\\quot\\View Factory - Federal Reserve - Z1 (National Accounts) Table\\quot\\//crlf////tab//view for an example//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////crlf////tab////tab//arAddParams=\\quot\\\\quot\\//crlf////tab////tab//arAddParamsNoTranspose=\\quot\\\\quot\\//crlf////tab////tab//arArgs=\\quot\\__PageArgs__\\quot\\//crlf////crlf////tab////tab////add params for debugging//crlf////tab////tab//if(boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\)))//crlf////tab////tab////tab//if(pos(\\quot\\DriverParamStoreID\\quot\\\\comma\\arArgs)<0)//crlf////tab////tab////tab////tab//arArgs=addElement(arArgs\\comma\\\\quot\\DriverParamStoreID=lnV7mlbHgKGapHINhv1mDNLx\\quot\\\\comma\\\\quot\\~\\quot\\)//crlf////tab////tab////tab////tab//arArgs=addElement(arArgs\\comma\\\\quot\\DriverParamDateFrom=07-10-2021\\quot\\\\comma\\\\quot\\~\\quot\\)//crlf////tab////tab////tab////tab//arArgs=addElement(arArgs\\comma\\\\quot\\DriverParamDateTo=07-10-2021\\quot\\\\comma\\\\quot\\~\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab//Result=\\quot\\\\quot\\//crlf////tab////tab//c=getElementCount(arArgs\\comma\\\\quot\\~\\quot\\)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//s=getElement(arArgs\\comma\\n\\comma\\\\quot\\~\\quot\\)//crlf////tab////tab////tab//p=pos(\\quot\\=\\quot\\\\comma\\s)//crlf////tab////tab////tab//if(p>0)//crlf////tab////tab////tab////tab//sParamName=left(s\\comma\\p)//crlf////tab////tab////tab////tab//if(startsWith(sParamName\\comma\\\\quot\\DriverParam\\quot\\))//crlf////tab////tab////tab////tab////tab//sParamName=replaceSubstring(sParamName\\comma\\\\quot\\DriverParam\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//sParamValue=mid(s\\comma\\p+1)//crlf////tab////tab////tab////tab////tab//Result=Result+htmlConstant(sParamName\\comma\\\\quot\\__\\quot\\\\comma\\sParamValue)//crlf////tab////tab////tab////tab////tab//arAddParams=addElement(arAddParams\\comma\\sParamName+\\quot\\=\\quot\\+sParamValue\\comma\\\\quot\\~~pipe~~\\quot\\)//tab////tab////tab////crlf////tab////tab////tab////tab////tab//if(pos(\\quot\\transpose\\quot\\\\comma\\sParamName)<0)//crlf////tab////tab////tab////tab////tab////tab//arAddParamsNoTranspose=addElement(arAddParamsNoTranspose\\comma\\sParamName+\\quot\\=\\quot\\+sParamValue\\comma\\\\quot\\~~pipe~~\\quot\\)//tab////tab////tab////crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n++//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//appendToLog(\\quot\\AddDriverParams=\\quot\\+arAddParams)//crlf////tab////tab//Result=Result+htmlConstant(\\quot\\AddDriverParams\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\arAddParams)//crlf////tab////tab//return(Result)//crlf////tab//\\quot\\>//crlf////tab////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//{@htmlTable(\\quot\\__PageArgs__\\quot\\\\comma\\\\quot\\~\\quot\\\\comma\\\\quot\\=\\quot\\)}//crlf////tab//<h1>AddDriverParams=__AddDriverParams__</h1>//crlf////tab//--------------------------------------------------------------------------]//crlf////crlf////tab//<h1>{@getStoreName(\\quot\\__StoreID__\\quot\\)} //amp//nbsp;//amp//nbsp;//amp//nbsp; __DateFrom__ - __DateTo__</h1>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Chart Output//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__Chart\\quot\\ style=\\quot\\width:100\\percent\\;height:720px;display:none\\quot\\></div>//crlf////tab//<div style=\\quot\\clear:both\\quot\\></div>//crlf////crlf////tab//<conditional expression:(defined(\\quot\\__ReportID__\\quot\\))>//crlf////tab////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Filters - Department//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__FilterDepartment\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not('$value$'='0')\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\Department_ID=$value$\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\POS_Generic_Lookup_Menu_Dept_Name_By_ID_with_Select\\quot\\;//crlf////tab////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Filters - 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__FilterCategory\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not('$value$'='000')\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\Menu_Item_Group_ID=$value$\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Active_Menu_Group_Names_By_ID_W_Select\\quot\\;//crlf////tab////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Filters - 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__ContainsText\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\placeholder='Contains text'\\quot\\;//crlf////tab////tab////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//[!------------------------------------------------------------------------//crlf////tab////tab//This is the Dimensional Report Viewer widget in the System Tools views//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include //crlf////tab////tab////tab//type:view; //crlf////tab////tab////tab//viewid:\\quot\\DpQJE8Yp\\quot\\; //crlf////tab////tab////tab//Source:\\quot\\\\quot\\; //crlf////tab////tab////tab//params:\\quot\\//crlf////tab////tab////tab////tab//ReportID=__ReportID__//amp////crlf////tab////tab////tab////tab//<conditional expression:(defined(\\quot\\__AddReportID__\\quot\\))>//crlf////tab////tab////tab////tab////tab//AddReportID=__AddReportID__//amp////crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//salt=__salt__//amp////crlf////tab////tab////tab////tab//DimParams=XDim=__XDim__~~pipe~~YDim=__YDim__~~pipe~~Measure=__Measure__~~pipe~~Transpose=__Transpose__~~pipe~~TransposeFieldID=__TransposeFieldID__~~pipe~~TransposeName=__TransposeName__~~pipe~~TransposeFields=__TransposeFields__~~pipe~~MetadataOverride=__MetaData__~~pipe~~__AddDriverParams__//amp////crlf////tab////tab////tab////tab//MaxRecords=500//amp////crlf////tab////tab////tab////tab//Display=__Display__//amp////crlf////tab////tab////tab////tab//<conditional expression:(defined(\\quot\\__BaseFilter__\\quot\\)) and (gt(len(\\quot\\__BaseFilter__\\quot\\)\\comma\\0\\comma\\n))>//crlf////tab////tab////tab////tab////tab//BaseFilter=__BaseFilter__//amp////crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//<conditional expression:defined(\\quot\\__XDisplayFilter__\\quot\\)>//crlf////tab////tab////tab////tab////tab//XDisplayFilter=__XDisplayFilter__//amp////crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//ExternalFilters=__salt__FilterDepartment\\comma\\__salt__FilterCategory\\comma\\__salt__ContainsText//amp////crlf////tab////tab////tab////tab//ExternalParams=//crlf////tab////tab////tab////tab////tab//__salt__selected_addreportID\\comma\\//crlf////tab////tab////tab////tab////tab//__salt__ParamMetadata\\comma\\//crlf////tab////tab////tab////tab////tab//__salt__selected_xdim\\comma\\//crlf////tab////tab////tab////tab////tab//__salt__selected_ydim\\comma\\//crlf////tab////tab////tab////tab////tab//__salt__selected_measure\\comma\\//crlf////tab////tab////tab////tab////tab//__salt__TransposeFieldID\\comma\\//crlf////tab////tab////tab////tab////tab//__salt__TransposeName\\comma\\//crlf////tab////tab////tab////tab////tab//__salt__TransposeFields\\comma\\//crlf////tab////tab////tab////tab////tab//__salt__Transpose//amp////crlf////tab////tab////tab////tab//InspectMenu=__InspectMenu__//amp////crlf////tab////tab////tab////tab//<conditional expression:(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab////tab////tab//TableVisible=true//amp////crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//<conditional expression:(defined(\\quot\\__TableVisible__\\quot\\)) and (not(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab////tab////tab//TableVisible=__TableVisible__//amp////crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//<conditional expression:(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab////tab////tab//TableControls=true//amp////crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//<conditional expression:(defined(\\quot\\__TableControls__\\quot\\)) and (not(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab////tab////tab//TableControls=__TableControls__//amp////crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//_style=display:none//amp////crlf////tab////tab////tab////tab//CellFormatting=false//amp////crlf////tab////tab////tab////tab//canEdit=false//amp////crlf////tab////tab////tab////tab//<conditional expression:(defined(\\quot\\__ChartTitle__\\quot\\)) and (gt(len(\\quot\\__ChartTitle__\\quot\\)\\comma\\0\\comma\\n))>//crlf////tab////tab////tab////tab////tab//ChartTitle=__ChartTitle__//amp////crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//<conditional expression:not((defined(\\quot\\__ChartTitle__\\quot\\)) and (gt(len(\\quot\\__ChartTitle__\\quot\\)\\comma\\0\\comma\\n)))>//crlf////tab////tab////tab////tab////tab//ChartTitle=__Display__//amp////crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//ChartWidth=//amp////crlf////tab////tab////tab////tab//ChartHeight=450px//amp////crlf////tab////tab////tab////tab//ChartVisible=true//crlf////tab////tab////tab//\\quot\\;//crlf////tab////tab//>//crlf////crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:(not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)) or (not(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//</conditional>//crlf////crlf////crlf////crlf//
</widget><widget name="Daily Inventory Summary" group="Inventory" category="Dependent Drivers" description="Merges inventory counts and batch details, waste counts and batch details, invoice details and legitimate usages to a single file for a day.  All quantities are converted to the standard count size (size 1) before merging." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Daily Inventory Summary" modified="09-13-2020 19:24:27" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=03-09-2016 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=1 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(indirect(getToken(Daily_Inventory_Summary_Agent_Conditional_Expression)))" TaskConditional_Expression_Description="" TaskState_Function="gfs(replaceSubstring(getSetFor(getCollection(\\quote\\Aspect_BackOffice_Store_Name_By_Directory\\quote\\,\\quote\\true\\quote\\,\\quote\\\\quote\\,\\quote\\\\quote\\,\\quote\\,\\quote\\,\\quote\\keys\\quote\\),getToken(\\quote\\Aspect_BackOffice_Inventory_Daily_Filespecs_With_Summary\\quote\\)),char(0x2C),char(0x3B)))" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=45|toolboxy=156|aspectfuncx=248|aspectfuncy=107|aspectfuncw=865|aspectfunch=634|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Daily Inventory Summary.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=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\\'164229')\\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\\'882825')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=164229|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Daily Inventory Summary.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=787|H=643|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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_KAV7tpXDgrrC34l3qOMpj1Sy_Daily Inventory Summary.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Daily Inventory Summary\\comma\\updatePerpetual2020\\comma\\action_list\\comma\\Action=updatePerpetual2020\\comma\\private//crlf////tab//Daily Inventory Summary\\comma\\updatePerpetual\\comma\\action_list\\comma\\Action=updatePerpetual\\comma\\private//crlf////tab//Daily Inventory Summary\\comma\\updateDailyInventorySummary\\comma\\action_list\\comma\\Action=updateDailyInventorySummary\\comma\\private//crlf////tab//Daily Inventory Summary\\comma\\updateDailySummaryAllStores\\comma\\action_list\\comma\\Action=updateDailySummaryAllStores\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//updatePerpetual2020//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updatePerpetual2020\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Update perpetual inventories in all daily summaries beginning//tab//with the //crlf////tab////tab//given starting date.  This action replaces the updatePerpetual action.  This action//crlf////tab////tab//does not attempt to update the daily sales summary.//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 - Starting date//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updatePerpetual2020\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////Enable profiling//crlf////tab////tab////tab////profile(getToken(\\quot\\Aspect_BackOffice_Profile_Inventory_Agents\\quot\\))//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\080220: updatePerpetual2020 started.  Date=__Date__\\quot\\)//crlf////crlf////tab////tab////tab////abort if missing store ID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Error: Missing 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 date not specified//crlf////tab////tab////tab//if(undefined(\\quot\\__Date__\\quot\\))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Error: Missing Date\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Date not specified\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the number of past days that will be examined when calculating the perpetual//crlf////tab////tab////tab//iLookbackDays=value(getToken(\\quot\\Aspect_BackOffice_Perpetual_Lookback_Days\\quot\\))//crlf////crlf////tab////tab////tab////determine the last day on which inventory data exists.  This will normally be the//crlf////tab////tab////tab////previous day.  Make sure the ending date is at least as current as the date//crlf////tab////tab////tab////passed to this routine.//crlf////tab////tab////tab//dt2=parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dt=dt2//crlf////tab////tab////tab//while(dt<LastBusinessDay(\\quot\\00:00\\quot\\))//crlf////tab////tab////tab////tab//if(inventoryDataExists(\\quot\\__StoreID__\\quot\\\\comma\\dt))//crlf////tab////tab////tab////tab////tab//dt2=dt//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////Loop through past days.  Make sure daily summary is up to date for each day//crlf////tab////tab////tab////with regard to counts\\comma\\ invoices and usages and update the perpetual for each//crlf////tab////tab////tab////day based on the previous day\\apos\\s ending values//crlf////tab////tab////tab//n=value(getToken(\\quot\\Aspect_BackOffice_Perpetual_Lookback_Days\\quot\\))//crlf////tab////tab////tab//dt=incrementTime(\\quot\\__Date__\\quot\\\\comma\\-n)//crlf////tab////tab////tab//appendToLog(\\quot\\080220: Updating perpetuals for \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ - \\quot\\\\plus\\formatDate(dt2\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//while(dt<=dt2)//crlf////tab////tab////tab////tab//sDriverParams=\\quot\\StoreID=__StoreID__~~pipe~~Date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////update perpetual if state has changed//crlf////tab////tab////tab////tab//if(dependencyStateChanged(\\quot\\Aspect_BackOffice_Daily_Inventory_Summary_Perpetual\\quot\\\\comma\\sDriverParams))//crlf////crlf////tab////tab////tab////tab////tab////make sure daily summary exists and is up to date//crlf////tab////tab////tab////tab////tab////******************************************************//crlf////tab////tab////tab////tab////tab////8-2-2020: Do not try to update the daily summary from here because that action waits//crlf////tab////tab////tab////tab////tab////for a previous instance to complete and a deadlock can occur.  It is also important to //crlf////tab////tab////tab////tab////tab////not update the perpetual for a day that is not up to date.  If recalculate perpetual is //crlf////tab////tab////tab////tab////tab////executed\\comma\\ this clears all the daily summaries.  This routine would create those summaries//crlf////tab////tab////tab////tab////tab////and set the dependency state below and the daily summary would not get updated to include//crlf////tab////tab////tab////tab////tab////purchases and ending inventory.//crlf////tab////tab////tab////tab////tab//////crlf////tab////tab////tab////tab////tab////The approach taken now is to abort this action when a date is encountered that is not //crlf////tab////tab////tab////tab////tab////up to date if the date is greater than the date for which this action was called.  This //crlf////tab////tab////tab////tab////tab////allows the action to continue for the specified date (i.e. the day for which //crlf////tab////tab////tab////tab////tab////updateDailyInventorySummary is executing but not for any dates beyond that.//crlf////tab////tab////tab////tab////tab//////crlf////tab////tab////tab////tab////tab////This came about when solving a problem for BWW Michigan city.  Open an extensions for //crlf////tab////tab////tab////tab////tab////07-01-2020 to 07-14-2020.  Delete the inventory_extensions bin file for the period\\comma\\ //crlf////tab////tab////tab////tab////tab////recalculate perpetuals from 7/13 and the ending inventory will be blank when the //crlf////tab////tab////tab////tab////tab////extnesions are refreshed.  This was because this action was creating a daily inventory //crlf////tab////tab////tab////tab////tab////summary for 7/14 and setting the dependency states and that file never for updated by//crlf////tab////tab////tab////tab////tab////updateDailyInventorySummary //crlf////tab////tab////tab////tab////tab////******************************************************//crlf////tab////tab////tab////tab////tab//if(formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)<>\\quot\\__Date__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//sFilename=getStoreDir(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\inventory_summary.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if((not(fileExists(sFilename))) or (fileSize(sFilename)=0))//crlf////tab////tab////tab////tab////tab////tab////tab//if(dependencyStateChanged(\\quot\\Aspect_Back_Office_Daily_Inventory_Summary\\quot\\\\comma\\sDriverParams))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(dateNumber(dt)>dateNumber(parseTime(\\quot\\__Date__\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\080220: updatePerpetual2020 aborting on date \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//return(\\quot\\ok: Aborted on date: \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\080220: updatePerpetual2020 NOT updating daily summary for \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////updateDependentDriver(\\quot\\Aspect_Back_Office_Daily_Inventory_Summary\\quot\\\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\~~pipe~~UpdatePerpetual=false\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Daily summary is up to date for \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\080220: executing updatePerpetual() for \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//s=updatePerpetual(\\quot\\__StoreID__\\quot\\\\comma\\dt)//crlf////tab////tab////tab////tab////tab//s=\\quot\\ok\\quot\\//crlf////crlf////tab////tab////tab////tab////tab////added 7-5-2020: Copy Calculate_Legit_Price value to Legit_Price field//crlf////tab////tab////tab////tab////tab//t1=dateNumber(now())//crlf////tab////tab////tab////tab////tab//driverOpen(Aspect_BackOffice_Daily_Inventory_Summary_Perpetual\\comma\\d1\\comma\\WRITE\\comma\\false\\comma\\\\quot\\NoDepend=true~~pipe~~StoreID=__StoreID__~~pipe~~Date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//c1=driverGetRecordCount(d1\\comma\\true)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Updating legitimate price c1=\\quot\\\\plus\\c1)//crlf////tab////tab////tab////tab////tab//n1=0//crlf////tab////tab////tab////tab////tab//while(n1<c1)//crlf////tab////tab////tab////tab////tab////tab//sItemID=driverGetFieldAbsolute(d1\\comma\\\\quot\\Inventory_Item_ID\\quot\\\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d1\\comma\\\\quot\\Legit_Price\\quot\\\\comma\\n1\\comma\\driverGetFieldAbsolute(d1\\comma\\\\quot\\Calculate_Legit_Price\\quot\\\\comma\\n1))//crlf////tab////tab////tab////tab////tab////tab//n1\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//driverClose(d1)//crlf////tab////tab////tab////tab////tab//t2=dateNumber(now())//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Update legitimate price complete elapsed: \\quot\\\\plus\\(t2-t1))//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//if(startsWith(s\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//setDependencyStates(\\quot\\Aspect_BackOffice_Daily_Inventory_Summary_Perpetual\\quot\\\\comma\\sDriverParams\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\Set in updatePerpetual\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//setDependencyStates(\\quot\\Aspect_Back_Office_Daily_Inventory_Summary\\quot\\\\comma\\sDriverParams\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\Set in updatePerpetual\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\080220: updatePerpetual2020 complete.  Date=__Date__\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//updatePerpetual//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updatePerpetual\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Update perpetual inventories in all daily summaries beginning//tab//with the //crlf////tab////tab//given starting 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 - Starting date//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:updatePerpetual; commands:\\quot\\//crlf////tab////tab////tab////Enable profiling//crlf////tab////tab////tab//profile(getToken(\\quot\\Aspect_BackOffice_Profile_Inventory_Agents\\quot\\))//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\updatePerpetual started.  Date=__Date__\\quot\\)//crlf////crlf////tab////tab////tab////abort if missing store ID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Error: Missing 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 date not specified//crlf////tab////tab////tab//if(undefined(\\quot\\__Date__\\quot\\))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Error: Missing Date\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Date not specified\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the number of past days that will be examined when calculating the perpetual//crlf////tab////tab////tab//iLookbackDays=value(getToken(\\quot\\Aspect_BackOffice_Perpetual_Lookback_Days\\quot\\))//crlf////crlf////tab////tab////tab////determine the last day on which inventory data exists.  This will normally be the//crlf////tab////tab////tab////previous day.  Make sure the ending date is at least as current as the date//crlf////tab////tab////tab////passed to this routine.//crlf////tab////tab////tab//dt2=parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dt=dt2//crlf////tab////tab////tab//while(dt<LastBusinessDay(\\quot\\00:00\\quot\\))//crlf////tab////tab////tab////tab//if(inventoryDataExists(\\quot\\__StoreID__\\quot\\\\comma\\dt))//crlf////tab////tab////tab////tab////tab//dt2=dt//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////Loop through past days.  Make sure daily summary is up to date for each day//crlf////tab////tab////tab////with regard to counts\\comma\\ invoices and usages and update the perpetual for each//crlf////tab////tab////tab////day based on the previous day\\apos\\s ending values//crlf////tab////tab////tab//n=value(getToken(\\quot\\Aspect_BackOffice_Perpetual_Lookback_Days\\quot\\))//crlf////tab////tab////tab//dt=incrementTime(\\quot\\__Date__\\quot\\\\comma\\-n)//crlf////tab////tab////tab//appendToLog(\\quot\\Updating perpetuals for \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ - \\quot\\\\plus\\formatDate(dt2\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//while(dt<=dt2)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Calculating perpetuals for \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//sDriverParams=\\quot\\StoreID=__StoreID__~~pipe~~Date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////update perpetual if state has changed//crlf////tab////tab////tab////tab//if(dependencyStateChanged(\\quot\\Aspect_BackOffice_Daily_Inventory_Summary_Perpetual\\quot\\\\comma\\sDriverParams))//crlf////crlf////tab////tab////tab////tab////tab////make sure daily summary exists and is up to date//crlf////tab////tab////tab////tab////tab////don\\apos\\t update the daily summary for the date passed to this routine.  That daily//crlf////tab////tab////tab////tab////tab////summary is currently being calculated and this routine is called as part of //crlf////tab////tab////tab////tab////tab////the update.//crlf////tab////tab////tab////tab////tab//if(formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)<>\\quot\\__Date__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//if(dependencyStateChanged(\\quot\\Aspect_Back_Office_Daily_Inventory_Summary\\quot\\\\comma\\sDriverParams))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\updatePerpetual updating daily summary for \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//updateDependentDriver(\\quot\\Aspect_Back_Office_Daily_Inventory_Summary\\quot\\\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\~~pipe~~UpdatePerpetual=false\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Daily summary is up to date for \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\executing updatePerpetual() for \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//s=updatePerpetual(\\quot\\__StoreID__\\quot\\\\comma\\dt)//crlf////crlf////tab////tab////tab////tab////tab////added 7-5-2020: Copy Calculate_Legit_Price value to Legit_Price field//crlf////tab////tab////tab////tab////tab//t1=dateNumber(now())//crlf////tab////tab////tab////tab////tab//driverOpen(Aspect_BackOffice_Daily_Inventory_Summary_Perpetual\\comma\\d1\\comma\\WRITE\\comma\\false\\comma\\\\quot\\NoDepend=true~~pipe~~StoreID=__StoreID__~~pipe~~Date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//c1=driverGetRecordCount(d1\\comma\\true)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Updating legitimate price c1=\\quot\\\\plus\\c1)//crlf////tab////tab////tab////tab////tab//n1=0//crlf////tab////tab////tab////tab////tab//while(n1<c1)//crlf////tab////tab////tab////tab////tab////tab//sItemID=driverGetFieldAbsolute(d1\\comma\\\\quot\\Inventory_Item_ID\\quot\\\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d1\\comma\\\\quot\\Legit_Price\\quot\\\\comma\\n1\\comma\\driverGetFieldAbsolute(d1\\comma\\\\quot\\Calculate_Legit_Price\\quot\\\\comma\\n1))//crlf////tab////tab////tab////tab////tab////tab//if(sItemID=\\quot\\5\\quot\\) //crlf////tab////tab////tab////tab////tab////tab////tab//dDiskIndex=driverGetFieldAbsolute(d1\\comma\\\\quot\\DiskIndex\\quot\\\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab////tab//sFilename=driverGetFieldAbsolute(d1\\comma\\\\quot\\Filename\\quot\\\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab////tab//dLegitUsage=driverGetFieldAbsolute(d1\\comma\\\\quot\\Legit_Usage\\quot\\\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab////tab//dCalcLegitPrice=driverGetFieldAbsolute(d1\\comma\\\\quot\\Calculate_Legit_Price\\quot\\\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab////tab//dLegitPrice=driverGetFieldAbsolute(d1\\comma\\\\quot\\Legit_Price\\quot\\\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab////tab//dCarry=driverGetFieldAbsolute(d1\\comma\\\\quot\\Perpetual_To_Carry_Forward\\quot\\\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\ItemID \\quot\\\\plus\\sItemID\\plus\\\\quot\\ n1=\\quot\\\\plus\\n1\\plus\\\\quot\\ DI=\\quot\\\\plus\\dDiskIndex\\plus\\\\quot\\ dCalcLegitPrice=\\quot\\\\plus\\dCalcLegitPrice\\plus\\\\quot\\ LegitPrice=\\quot\\\\plus\\dLegitPrice\\plus\\\\quot\\ dLegitUsage=\\quot\\\\plus\\dLegitUsage\\plus\\\\quot\\ dCarry=\\quot\\\\plus\\dCarry)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Filename=\\quot\\\\plus\\sFilename\\plus\\\\quot\\ size=\\quot\\\\plus\\fileSize(sFilename)\\plus\\\\quot\\ records=\\quot\\\\plus\\(fileSize(sFilename)/161))//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//n1\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//driverClose(d1)//crlf////tab////tab////tab////tab////tab//t2=dateNumber(now())//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Update legitimate price complete elapsed: \\quot\\\\plus\\(t2-t1))//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\updatePerpetual returns \\quot\\\\plus\\s)//crlf////tab////tab////tab////tab////tab//if(startsWith(s\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//setDependencyStates(\\quot\\Aspect_BackOffice_Daily_Inventory_Summary_Perpetual\\quot\\\\comma\\sDriverParams\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\Set in updatePerpetual\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//setDependencyStates(\\quot\\Aspect_Back_Office_Daily_Inventory_Summary\\quot\\\\comma\\sDriverParams\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\Set in updatePerpetual\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\updatePerpetual complete.  Date=__Date__\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateDailyInventorySummary//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateDailyInventorySummary\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Merges inventory counts and batch details\\comma\\ waste counts and batch details\\comma\\//crlf////tab////tab//invoice details and legitimate usages to a single file for a day.  All quantities//crlf////tab////tab//are converted to the standard count size (size 1) before merging.//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 - Date in MM-dd-yyyy format//crlf////tab////tab//UpdatePerpetual - If true\\comma\\ the perpetual will be updated for the day and all subsequent days.//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:updateDailyInventorySummary; commands:\\quot\\//crlf////tab////tab////tab////Enable profiling//crlf////tab////tab////tab//profile(getToken(\\quot\\Aspect_BackOffice_Profile_Inventory_Agents\\quot\\))//crlf////crlf////tab////tab////tab////initialize time used to calculate the total elapsed time for this action//crlf////tab////tab////tab//t1=now()//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\080220: Daily Summary: updateDailyInventorySummary started.  StoreID=__StoreID__ Date=__Date__ UpdatePerpetual=__UpdatePerpetual__\\quot\\)//crlf////crlf////tab////tab////tab////abort if store is missing//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 date is missing//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//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab////tab//sDate=\\quot\\__Date__\\quot\\//crlf////crlf////tab////tab////tab////see if another instance is already running to update the date//crlf////tab////tab////tab//sExpression=\\quot\\(sStoreID=\\quot\\\\plus\\quote(sStoreID)\\plus\\\\quot\\) and (sDate=\\quot\\\\plus\\quote(sDate)\\plus\\\\quot\\) and (scriptGetInstanceID()\\quot\\\\plus\\char(0x3C)\\plus\\scriptGetInstanceID()\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab//cInstance=scriptCount(this\\comma\\sExpression)//crlf////tab////tab////tab//appendToLog(\\quot\\cInstance=\\quot\\\\plus\\cInstance\\plus\\\\quot\\ sExpression=\\quot\\\\plus\\sExpression)//crlf////tab////tab////tab//bAlreadyUpdated=(cInstance>0)//crlf////crlf////tab////tab////tab////wait for any prior instances to terminate//crlf////tab////tab////tab//sExpression=\\quot\\(scriptGetInstanceID()\\quot\\\\plus\\char(0x3C)\\plus\\scriptGetInstanceID()\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab//cInstance=scriptCount(this\\comma\\sExpression)//crlf////tab////tab////tab//appendToLog(\\quot\\cInstance=\\quot\\\\plus\\cInstance\\plus\\\\quot\\ Expression: \\quot\\\\plus\\sExpression)//crlf////tab////tab////tab//while(cInstance>0)//crlf////tab////tab////tab////tab//scriptSleep(1000)//crlf////tab////tab////tab////tab//cInstance=scriptCount(this\\comma\\sExpression)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\updateDailyInventorySummary __Date__ Waiting for previous instance.  cInstance=\\quot\\\\plus\\cInstance)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////abort if another instance was already running for the store and date//crlf////tab////tab////tab//if(bAlreadyUpdated)//crlf////tab////tab////tab//  return(\\quot\\Ok: Updated by previous instance\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Delete daily summary if it exists//crlf////tab////tab////tab//sFilename=lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\inventory_summary.__Date__.bin\\quot\\//crlf////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Daily Summary: Deleting inventory summary: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Daily Summary: Could not find inventory summary: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////exit if no data exists for the day//crlf////tab////tab////tab//if(not(inventoryDataExists(\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\__Date__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Ok: No data available\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////output list of drivers that will be updated//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//b=dependencyStateChanged(\\quot\\Aspect_Back_Office_Inventory_Item\\quot\\\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Daily Summary: Update Aspect_Back_Office_Inventory_Item: \\quot\\\\plus\\b)//crlf////tab////tab////tab////tab//b=dependencyStateChanged(\\quot\\Aspect_Back_Office_Physical_Count\\quot\\\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Daily Summary: Update Aspect_Back_Office_Physical_Count: \\quot\\\\plus\\b)//crlf////tab////tab////tab////tab//b=dependencyStateChanged(\\quot\\Aspect_BackOffice_Physical_Count_Batch_Detail\\quot\\\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Daily Summary: Update Aspect_BackOffice_Physical_Count_Batch_Detail: \\quot\\\\plus\\b)//crlf////tab////tab////tab////tab//b=dependencyStateChanged(\\quot\\Aspect_Back_Office_Waste_Count\\quot\\\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Daily Summary: Update Aspect_Back_Office_Waste_Count: \\quot\\\\plus\\b)//crlf////tab////tab////tab////tab//b=dependencyStateChanged(\\quot\\Aspect_BackOffice_Waste_Count_Batch_Detail\\quot\\\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Daily Summary: Update Aspect_BackOffice_Waste_Count_Batch_Detail: \\quot\\\\plus\\b)//crlf////tab////tab////tab////tab//b=dependencyStateChanged(\\quot\\Aspect_Back_Office_Prep_Log\\quot\\\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Daily Summary: Update Aspect_Back_Office_Prep_Log: \\quot\\\\plus\\b)//crlf////tab////tab////tab////tab//b=dependencyStateChanged(\\quot\\Aspect_Back_Office_Prep_Log_Batch_Detail\\quot\\\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Daily Summary: Update Aspect_Back_Office_Prep_Log_Batch_Detail: \\quot\\\\plus\\b)//crlf////tab////tab////tab////tab//b=dependencyStateChanged(\\quot\\Aspect_Back_Office_Legitimate_Usage\\quot\\\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\) //crlf////tab////tab////tab////tab//appendToLog(\\quot\\Daily Summary: Update Aspect_Back_Office_Legitimate_Usage: \\quot\\\\plus\\b)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the daily summary driver//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Daily_Inventory_Summary\\comma\\drvSummary\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~NoDepend=true\\quot\\)//crlf////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////Note:  Only amounts are merged from each driver.  All amounts are converted//crlf////tab////tab////tab////to the count size1 currently set for each item.  //crlf////tab////tab////tab//////crlf////tab////tab////tab////After all drivers are merged\\comma\\ the current count size is merged in from the inventory//crlf////tab////tab////tab////item driver.  This allows a daily summary to remain valid even if it is not //crlf////tab////tab////tab////updated after a certain time (after the period is closed).  The quantities and size//crlf////tab////tab////tab////in the daily summary are standardized to the current count size before combining//crlf////tab////tab////tab////the driver with other summary drivers.//crlf////tab////tab////tab////=================================================================================//crlf////crlf////tab////tab////tab//StoreDir=lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab////tab//result=\\quot\\__Date__: \\quot\\//crlf////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////merge physical count//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab//tSectionStart=now()//crlf////tab////tab////tab//if(fileExists(StoreDir\\plus\\\\quot\\physical_count.__Date__.bin\\quot\\))//crlf////crlf////tab////tab////tab////tab////appendToLog(\\quot\\Daily Summary: Adding physical count\\quot\\)//crlf////tab////tab////tab////tab////02-04-2018 - Added Nodepend parameter.  There is no need to update the count file from the //crlf////tab////tab////tab////tab////physical count list here.  It is done when the count is edited.//crlf////tab////tab////tab////tab//t=now()//crlf////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Physical_Count\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~NoDepend=true\\quot\\)//crlf////tab////tab////tab////tab//driverSetSubtotal(d\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\ItemID\\quot\\)//crlf////tab////tab////tab////tab//driverSetDetails(d\\comma\\false)//crlf////crlf////tab////tab////tab////tab////08-14-2016: Modified this filter to check the physical_count instead of //crlf////tab////tab////tab////tab////standard_quantity which takes longer because it converts the quantity to //crlf////tab////tab////tab////tab////the standard size.  This cuts about 2 seconds of the 4 seconds originally required//crlf////tab////tab////tab////tab////to filter the driver.//crlf////tab////tab////tab////tab////driverSetFilter(d\\comma\\\\quot\\(Out_Of_Stock) or (not(Standard_Quantity=0))\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\(Out_Of_Stock) or (not(Physical_Count=0))\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID\\quot\\//crlf////tab////tab////tab////tab//arFieldsToMerge=\\quot\\Physical_Count\\quot\\//crlf////tab////tab////tab////tab//arAliasFields=\\quot\\Inventory_Item_ID=ItemID~~pipe~~Physical_Count=Standard_Quantity\\quot\\//crlf////tab////tab////tab////tab//s=driverMerge(true\\comma\\drvSummary\\comma\\\\quot\\\\quot\\\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab//sMsg=appendToLog(\\quot\\Daily Summary: Physical count: \\quot\\\\plus\\s\\plus\\\\quot\\ [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)//crlf////crlf////tab////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_MERGEPHYSICALCOUNT\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_MERGEPHYSICALCOUNT\\quot\\\\comma\\now()-tSectionStart)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//result=result\\plus\\sMsg\\plus\\char(10)//crlf////crlf////tab////tab////tab////tab//tSectionStart=now()//crlf////crlf////tab////tab////tab////tab////merge physical count batch detail//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Daily Summary: Adding physical count batch detail\\quot\\)//crlf////tab////tab////tab////tab//t=now()//crlf////tab////tab////tab////tab//driverOpen(Aspect_BackOffice_Physical_Count_Batch_Detail\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab////tab//driverSetSubtotal(d\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\Inventory_Item_ID\\quot\\)//crlf////tab////tab////tab////tab//driverSetDetails(d\\comma\\false)//crlf////tab////tab////tab////crlf////tab////tab////tab////tab////02-04-2018 Modified the filter to use quantity instead of standard_quantity for speed//crlf////tab////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\not(Quantity=0)\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////driverSetFilter(d\\comma\\\\quot\\not(Standard_Quantity=0)\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID\\quot\\//crlf////tab////tab////tab////tab//arFieldsToMerge=\\quot\\Physical_Count_Batch_Detail\\quot\\//crlf////tab////tab////tab////tab//arAliasFields=\\quot\\Physical_Count_Batch_Detail=Standard_Quantity\\quot\\//crlf////tab////tab////tab////tab//s=driverMerge(true\\comma\\drvSummary\\comma\\\\quot\\\\quot\\\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//sMsg=appendToLog(\\quot\\Daily Summary: Physical count batch detail: \\quot\\\\plus\\s\\plus\\\\quot\\ [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)//crlf////crlf////tab////tab////tab////tab//result=result\\plus\\sMsg\\plus\\char(10)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sMsg=appendToLog(\\quot\\Daily Summary: No physical count for __Date__\\quot\\)//crlf////tab////tab////tab////tab//result=result\\plus\\sMsg\\plus\\char(10)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_MERGEPHYSICALCOUNTBATCHDETAIL\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_MERGEPHYSICALCOUNTBATCHDETAIL\\quot\\\\comma\\now()-tSectionStart)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////merge waste count//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab//tSectionStart=now()//crlf////tab////tab////tab//if(fileExists(StoreDir\\plus\\\\quot\\waste_count.__Date__.bin\\quot\\))//crlf////crlf////tab////tab////tab////tab////appendToLog(\\quot\\Daily Summary: Adding waste count\\quot\\)//crlf////tab////tab////tab////tab////02-04-2018 - Added Nodepend parameter.  There is no need to update the count file from the //crlf////tab////tab////tab////tab////waste count list here.  It is done when the count is edited.//crlf////tab////tab////tab////tab//t=now()//crlf////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Waste_Count\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~NoDepend=true\\quot\\)//crlf////tab////tab////tab////tab//driverSetSubtotal(d\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\ItemID\\quot\\)//crlf////tab////tab////tab////tab//driverSetDetails(d\\comma\\false)//crlf////tab////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\not(Standard_Quantity=0)\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID\\quot\\//crlf////tab////tab////tab////tab//arFieldsToMerge=\\quot\\Waste_Count\\quot\\//crlf////tab////tab////tab////tab//arAliasFields=\\quot\\Inventory_Item_ID=ItemID~~pipe~~Waste_Count=Standard_Quantity\\quot\\//crlf////tab////tab////tab////tab//s=driverMerge(true\\comma\\drvSummary\\comma\\\\quot\\\\quot\\\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab//sMsg=appendToLog(\\quot\\Daily Summary: waste count: \\quot\\\\plus\\s\\plus\\\\quot\\ [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)//crlf////crlf////tab////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_MERGEWASTECOUNT\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_MERGEWASTECOUNT\\quot\\\\comma\\now()-tSectionStart)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//result=result\\plus\\sMsg\\plus\\char(10)//crlf////tab////crlf////tab////tab////tab////tab//tSectionStart=now()//crlf////crlf////tab////tab////tab////tab////merge waste count batch detail//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Daily Summary: Adding waste count batch detail\\quot\\)//crlf////tab////tab////tab////tab//t=now()//crlf////tab////tab////tab////tab//driverOpen(Aspect_BackOffice_Waste_Count_Batch_Detail\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab////tab//driverSetSubtotal(d\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\Inventory_Item_ID\\quot\\)//crlf////tab////tab////tab////tab//driverSetDetails(d\\comma\\false)//crlf////tab////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\not(Standard_Quantity=0)\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID\\quot\\//crlf////tab////tab////tab////tab//arFieldsToMerge=\\quot\\Waste_Count_Batch_Detail\\quot\\//crlf////tab////tab////tab////tab//arAliasFields=\\quot\\Waste_Count_Batch_Detail=Standard_Quantity\\quot\\//crlf////tab////tab////tab////tab//s=driverMerge(true\\comma\\drvSummary\\comma\\\\quot\\\\quot\\\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab//sMsg=appendToLog(\\quot\\Daily Summary: Waste count batch detail: \\quot\\\\plus\\s\\plus\\\\quot\\ [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)//crlf////crlf////tab////tab////tab////tab//result=result\\plus\\sMsg\\plus\\char(10)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab////set dependencies if the file doesn\\apos\\t exist.  Otherwise\\comma\\ the driver will never be //crlf////tab////tab////tab////tab////opened and the dependencies will never appear up to date//crlf////tab////tab////tab////tab//setDependencyStates(Aspect_Back_Office_Waste_Count\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\ \\quot\\\\quot\\\\comma\\\\quot\\Waste count does not exist\\quot\\)//crlf////tab////tab////tab////tab//setDependencyStates(Aspect_BackOffice_Waste_Count_Batch_Detail\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\ \\quot\\\\quot\\\\comma\\\\quot\\Waste count does not exist\\quot\\)//crlf////tab////tab////tab////tab//sMsg=appendToLog(\\quot\\Daily Summary: No waste count for __Date__\\quot\\)//crlf////tab////tab////tab////tab//result=result\\plus\\sMsg\\plus\\char(10)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_MERGEWASTECOUNTBATCHDETAIL\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_MERGEWASTECOUNTBATCHDETAIL\\quot\\\\comma\\now()-tSectionStart)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////merge prep count//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab//tSectionStart=now()//crlf////tab////tab////tab//if((fileExists(StoreDir\\plus\\\\quot\\prep_log.__Date__.bin\\quot\\)) and (fileSize(StoreDir\\plus\\\\quot\\prep_log.__Date__.bin\\quot\\)>0))//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Daily Summary: Adding prep count\\quot\\)//crlf////crlf////tab////tab////tab////tab////02-04-2018 - Added Nodepend parameter.  //crlf////tab////tab////tab////tab//t=now()//crlf////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Prep_Log\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~NoDepend=true\\quot\\)//crlf////tab////tab////tab////tab//driverSetSubtotal(d\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\Inventory_Item_ID\\quot\\)//crlf////tab////tab////tab////tab//driverSetDetails(d\\comma\\false)//crlf////tab////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\not(Standard_Quantity=0)\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID\\quot\\//crlf////tab////tab////tab////tab//arFieldsToMerge=\\quot\\Prep_Count\\quot\\//crlf////tab////tab////tab////tab//arAliasFields=\\quot\\Prep_Count=Standard_Quantity\\quot\\//crlf////tab////tab////tab////tab//s=driverMerge(true\\comma\\drvSummary\\comma\\\\quot\\\\quot\\\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab//sMsg=appendToLog(\\quot\\Daily Summary: Prep count: \\quot\\\\plus\\s\\plus\\\\quot\\ [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)//crlf////tab////tab////tab////tab//result=result\\plus\\sMsg\\plus\\char(10)//crlf////tab////crlf////tab////tab////tab////tab////merge prep count batch detail//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Daily Summary: Adding prep count batch detail\\quot\\)//crlf////tab////tab////tab////tab//t=now()//crlf////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Prep_Log_Batch_Detail\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab////tab//driverSetSubtotal(d\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\Inventory_Item_ID\\quot\\)//crlf////tab////tab////tab////tab//driverSetDetails(d\\comma\\false)//crlf////tab////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\not(Standard_Quantity=0)\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID\\quot\\//crlf////tab////tab////tab////tab//arFieldsToMerge=\\quot\\Prep_Count_Batch_Detail\\quot\\//crlf////tab////tab////tab////tab//arAliasFields=\\quot\\Prep_Count_Batch_Detail=Standard_Quantity\\quot\\//crlf////tab////tab////tab////tab//s=driverMerge(true\\comma\\drvSummary\\comma\\\\quot\\\\quot\\\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab//sMsg=appendToLog(\\quot\\Daily Summary: Prep count batch detail: \\quot\\\\plus\\s\\plus\\\\quot\\ [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)//crlf////crlf////tab////tab////tab////tab//result=result\\plus\\sMsg\\plus\\char(10)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab////set dependencies if the file doesn\\apos\\t exist.  Otherwise\\comma\\ the driver will never be //crlf////tab////tab////tab////tab////opened and the dependencies will never appear up to date//crlf////tab////tab////tab////tab//setDependencyStates(Aspect_Back_Office_Prep_Log\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\ \\quot\\\\quot\\\\comma\\\\quot\\Prep log does not exist\\quot\\)//crlf////tab////tab////tab////tab//setDependencyStates(Aspect_Back_Office_Prep_Log_Batch_Detail\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\ \\quot\\\\quot\\\\comma\\\\quot\\Prep log does not exist\\quot\\)//crlf////tab////tab////tab////tab//sMsg=appendToLog(\\quot\\Daily Summary: No prep log for __Date__\\quot\\)//crlf////tab////tab////tab////tab//result=result\\plus\\sMsg\\plus\\char(10)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_MERGEPREPCOUNT\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_MERGEPREPCOUNT\\quot\\\\comma\\now()-tSectionStart)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////merge invoice details//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab//tSectionStart=now()//crlf////tab////tab////tab//if(len(trim(lookup(Aspect_BackOffice_Lookup_Invoice_Number_By_Date\\comma\\\\quot\\__Date__\\quot\\\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)))>0)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Daily Summary: Adding invoice details\\quot\\)//crlf////crlf////tab////tab////tab////tab//t=now()//crlf////crlf////tab////tab////tab////tab////set up fields to merge//crlf////tab////tab////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID\\quot\\//crlf////tab////tab////tab////tab//arFieldsToMerge=\\quot\\Purchase_Quantity~~pipe~~Purchase_Dollar\\quot\\//crlf////tab////tab////tab////tab//arAliasFields=\\quot\\Inventory_Item_ID=ItemID~~pipe~~Purchase_Quantity=Standard_Quantity~~pipe~~Purchase_Dollar=Extended_Price\\quot\\//crlf////crlf////tab////tab////tab////tab////open the invoice driver and filter it to invoices for the given date//crlf////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Invoice\\comma\\drvInvoice\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab////tab//driverSetFilter(drvInvoice\\comma\\\\quot\\Date_Text=\\quot\\\\plus\\quote(\\quot\\__Date__\\quot\\)\\comma\\true)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Daily Summary: Merging \\quot\\\\plus\\driverGetRecordCount(drvInvoice)\\plus\\\\quot\\ invoices\\quot\\)//crlf////crlf////tab////tab////tab////tab////merge each invoice belonging to the given date//crlf////tab////tab////tab////tab//cInvoice=driverGetRecordCount(drvInvoice)//crlf////tab////tab////tab////tab//nInvoice=0//crlf////tab////tab////tab////tab//while(nInvoice<cInvoice)//crlf////tab////tab////tab////tab////tab//sInvoiceID=driverGetField(drvInvoice\\comma\\\\quot\\ID\\quot\\\\comma\\nInvoice)//crlf////tab////tab////tab////tab////tab//sInvoiceNumber=driverGetField(drvInvoice\\comma\\\\quot\\Number\\quot\\\\comma\\nInvoice)//crlf////tab////tab////tab////tab////tab//dtEntered=driverGetField(drvInvoice\\comma\\\\quot\\Date_Entered\\quot\\\\comma\\nInvoice)//crlf////tab////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Invoice_Detail\\comma\\drvInvoiceDetail\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=\\quot\\\\plus\\formatDate(dtEntered\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//driverSetSubtotal(drvInvoiceDetail\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\ItemID\\quot\\)//crlf////tab////tab////tab////tab////tab//driverSetDetails(drvInvoiceDetail\\comma\\false)//crlf////crlf////tab////tab////tab////tab////tab////08-14-2016: Modified this filter to use quantity instead of standard_quantity //crlf////tab////tab////tab////tab////tab////which requires additional time to calculate.//crlf////tab////tab////tab////tab////tab////driverSetFilter(drvInvoiceDetail\\comma\\\\quot\\(InvoiceID=\\quot\\\\plus\\quote(sInvoiceID)\\plus\\\\quot\\) and (not(abs(Standard_Quantity)\\plus\\abs(Extended_Price)=0))\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab//driverSetFilter(drvInvoiceDetail\\comma\\\\quot\\(InvoiceID=\\quot\\\\plus\\quote(sInvoiceID)\\plus\\\\quot\\) and (not(abs(Quantity)\\plus\\abs(Extended_Price)=0))\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////tab////tab//s=driverMerge(true\\comma\\drvSummary\\comma\\\\quot\\\\quot\\\\comma\\drvInvoiceDetail\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab////tab//driverClose(drvInvoiceDetail)//crlf////tab////tab////tab////tab////tab//nInvoice\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////result=result\\plus\\\\quot\\Invoice \\quot\\\\plus\\sInvoiceNumber\\plus\\\\quot\\: \\quot\\\\plus\\s\\plus\\\\quot\\ [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\\\plus\\char(10)//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//sMsg=appendToLog(\\quot\\Daily Summary: Added \\quot\\\\plus\\cInvoice\\plus\\\\quot\\ invoices. [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)//crlf////crlf////tab////tab////tab////tab//result=result\\plus\\sMsg\\plus\\char(10)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//result=result\\plus\\\\quot\\No invoices for __Date__\\quot\\\\plus\\char(10)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_MERGEINVOICEDETAILS\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_MERGEINVOICEDETAILS\\quot\\\\comma\\now()-tSectionStart)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////merge legitimate usage//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab//tSectionStart=now()//crlf////tab////tab////tab//if(fileExists(StoreDir\\plus\\\\quot\\mix.__Date__.bin\\quot\\))//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Daily Summary: Adding legitimate usages\\quot\\)//crlf////crlf////tab////tab////tab////tab//t=now()//crlf////tab////tab////tab////tab////08-10-2016: Modified this to use Aspect_Back_Office_Legitimate_Usage_Sub to avoid//crlf////tab////tab////tab////tab////calculating unnecessary fields (especially price).  This merge was taking up to //crlf////tab////tab////tab////tab////20 or 30 minutes because of the price calculation and because of inefficiencies //crlf////tab////tab////tab////tab////in the price calculations\\comma\\ especially when a large number of invoices is present.//crlf////tab////tab////tab////tab////driverOpen(Aspect_Back_Office_Legitimate_Usage\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Legitimate_Usage_Sub\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\)//crlf////crlf////tab////tab////tab////tab////Update the dependencies of the Aspect_Back_Office_Legitimate_Usage driver.//crlf////tab////tab////tab////tab////This uses the same dependencies as the Aspect_Back_Office_Legitimate_Usage_Sub//crlf////tab////tab////tab////tab////opened above.  This step indicates that both drivers are up to date.//crlf////tab////tab////tab////tab//setDependencyStates(\\quot\\Aspect_Back_Office_Legitimate_Usage\\quot\\\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\Same as Aspect_Back_Office_Legitimate_Usage_Sub\\quot\\)//crlf////crlf////tab////tab////tab////tab//driverSetSubtotal(d\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\Inventory_Item_ID\\quot\\)//crlf////tab////tab////tab////tab//driverSetDetails(d\\comma\\false)//crlf////crlf////tab////tab////tab////tab////02-04-2018 - Modified the filter to use Quantity for speed//crlf////tab////tab////tab////tab////driverSetFilter(d\\comma\\\\quot\\not(Standard_Quantity=0)\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\not(Quantity=0)\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID\\quot\\//crlf////tab////tab////tab////tab//arFieldsToMerge=\\quot\\Legit_Usage\\quot\\//crlf////tab////tab////tab////tab//arAliasFields=\\quot\\Legit_Usage=Standard_Quantity\\quot\\//crlf////tab////tab////tab////tab//s=driverMerge(true\\comma\\drvSummary\\comma\\\\quot\\\\quot\\\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab////tab//sMsg=appendToLog(\\quot\\Daily Summary: Legitimate usages: \\quot\\\\plus\\s\\plus\\\\quot\\ [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)//crlf////crlf////tab////tab////tab////tab//result=result\\plus\\sMsg\\plus\\char(10)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Daily Summary: Mix file not found: \\quot\\\\plus\\StoreDir\\plus\\\\quot\\mix.__Date__.bin\\quot\\)//crlf////tab////tab////tab////tab//result=result\\plus\\\\quot\\No usages for __Date__\\quot\\\\plus\\char(10)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_MERGELEGITIMATEUSAGE\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_MERGELEGITIMATEUSAGE\\quot\\\\comma\\now()-tSectionStart)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////merge inventory items to add count size//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab//tSectionStart=now()//crlf////tab////tab////tab//if(driverGetRecordCount(drvSummary\\comma\\true)>0)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Daily Summary: Adding standard sizes\\quot\\)//crlf////crlf////tab////tab////tab////tab//t=now()//crlf////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Item\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~nodepend=true\\quot\\)//crlf////crlf////tab////tab////tab////tab////08-14-2016 not sure why this is not filtered to record_type=1\\comma\\ but filtering//crlf////tab////tab////tab////tab////the two ways gives different results for the number of records merged//crlf////tab////tab////tab////tab////driverSetFilter(d\\comma\\\\quot\\Record_Type=1\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID\\quot\\//crlf////tab////tab////tab////tab//arFieldsToMerge=\\quot\\Size_Prefix~~pipe~~Size_Unit\\quot\\//crlf////tab////tab////tab////tab//arAliasFields=\\quot\\Inventory_Item_ID=ID~~pipe~~Size_Prefix=Standard_Size_Prefix~~pipe~~Size_Unit=Standard_Size_Unit\\quot\\//crlf////tab////tab////tab////tab////sMergeLog=\\quot\\Merge_Log//power//Filename=\\quot\\\\plus\\getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\MergeStandardSizes___Date__.$$$\\quot\\//crlf////tab////tab////tab////tab//s=driverMerge(false\\comma\\drvSummary\\comma\\\\quot\\\\quot\\\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab//sMsg=appendToLog(\\quot\\Daily Summary: Standard sizes: \\quot\\\\plus\\s\\plus\\\\quot\\ [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)//crlf////tab////tab////tab////tab//result=result\\plus\\sMsg\\plus\\char(10)//crlf////crlf////tab////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_MERGEINVENTORYITEMSTOADDCOUNTSIZE\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_MERGEINVENTORYITEMSTOADDCOUNTSIZE\\quot\\\\comma\\now()-tSectionStart)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//tSectionStart=now()//crlf////crlf////tab////tab////tab////tab////calculate weighted price//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Daily Summary: Calculating prices\\quot\\)//crlf////tab////tab////tab////tab//t=now()//crlf////tab////tab////tab////tab//driverSetFilter(drvSummary\\comma\\\\quot\\(Item_Record_Type=1) and (Is_Active_Item)\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//c=driverGetRecordCount(drvSummary\\comma\\false)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//sInventoryItemID=driverGetField(drvSummary\\comma\\\\quot\\Inventory_Item_ID\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////tab//if(sInventoryItemID<>\\quot\\000\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//p=driverGetField(drvSummary\\comma\\\\quot\\Calculate_Price\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//if(p<>0)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutField(drvSummary\\comma\\\\quot\\Weighted_Price\\quot\\\\comma\\n\\comma\\p)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////tab////tab////tab//p=driverGetField(drvSummary\\comma\\\\quot\\Calculate_Legit_Price\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//if(p<>0)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutField(drvSummary\\comma\\\\quot\\Legit_Price\\quot\\\\comma\\n\\comma\\p)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////tab////tab////tab//p=driverGetField(drvSummary\\comma\\\\quot\\Calculate_Waste_Price\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//if(p<>0)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutField(drvSummary\\comma\\\\quot\\Waste_Price\\quot\\\\comma\\n\\comma\\p)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Not calculating prices for item with ID=000 at record \\quot\\\\plus\\n)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//driverClose(drvSummary)//crlf////tab////tab////tab////tab//sMsg=appendToLog(\\quot\\Daily Summary: Calculated prices for \\quot\\\\plus\\c\\plus\\\\quot\\ items on __Date__: Ok [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)//crlf////crlf////tab////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_CALCPRICES\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_CALCPRICES\\quot\\\\comma\\now()-tSectionStart)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//result=result\\plus\\sMsg\\plus\\char(10)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_MERGEINVENTORYITEMSTOADDCOUNTSIZE\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY_MERGEINVENTORYITEMSTOADDCOUNTSIZE\\quot\\\\comma\\now()-tSectionStart)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//sMsg=appendToLog(\\quot\\Daily Summary: No records in daily summary\\quot\\)//crlf////tab////tab////tab////tab//result=result\\plus\\sMsg\\plus\\char(10)//crlf////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////update the perpetual//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////if(\\quot\\__UpdatePerpetual__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////tab////tab//if(not(\\quot\\__UpdatePerpetual__\\quot\\=\\quot\\false\\quot\\))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\080220: Daily Summary: Calling agent action updatePerpetual2020 for __Date__\\quot\\)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Daily Summary: Aborting update perpetual for testing\\quot\\)//crlf////tab////tab////tab////tab////execAgentAction(\\quot\\updatePerpetual\\quot\\\\comma\\\\quot\\StoreID=__StoreID__\\amp\\Date=__Date__\\quot\\)//crlf////tab////tab////tab////tab//execAgentAction(\\quot\\updatePerpetual2020\\quot\\\\comma\\\\quot\\StoreID=__StoreID__\\amp\\Date=__Date__\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Daily Summary: Not updating perpetual\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEDAILYINVENTORYSUMMARY\\quot\\\\comma\\now()-t1)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////sMsg=appendToLog(\\quot\\Ok: Daily Summary: \\quot\\\\plus\\result\\plus\\\\quot\\ Elapsed: \\quot\\\\plus\\getScriptElapsedTime()\\plus\\\\quot\\ms\\quot\\)//crlf////tab////tab////tab//sMsg=appendToLog(\\quot\\Ok: 080220: Daily Summary: __Date__ Complete. \\quot\\\\plus\\getScriptElapsedTime()\\plus\\\\quot\\ms\\quot\\\\plus\\\\quot\\ / \\quot\\\\plus\\(now()-t1))//crlf////tab////tab////tab//result=sMsg//crlf////tab////tab////tab//return(result)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateDailySummaryAllStores//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateDailySummaryAllStores\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates Daily Summary files for all stores with inventory calculations //crlf////tab////tab//enabled.  By default\\comma\\ daily summaries for the last 45 days are updated //crlf////tab////tab//if the dependency state has changed.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Days - Optional.  Number of days to check\\comma\\ starting with the current day.  //crlf////tab////tab////tab//The default is 14.//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:updateDailySummaryAllStores; commands:\\quot\\//crlf////tab////tab////tab////appendToLog(\\quot\\===Aborting updateDailySummaryAllStores for testing===\\quot\\)//crlf////tab////tab////tab////return//crlf////tab////tab////tab////crlf////tab////tab////tab//appendToLog(\\quot\\080220: updateDailySummaryAllStores started\\quot\\)//crlf////crlf////tab////tab////tab////abort if already executing//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Ok: updateDailySummaryAllDays aborted because already executing\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the number of days to check//crlf////tab////tab////tab//iDays=if(defined(\\quot\\__Days__\\quot\\)\\comma\\value(\\quot\\__Days__\\quot\\)\\comma\\30)//crlf////crlf////tab////tab////tab////abort if the number of days is 0//crlf////tab////tab////tab//if(iDays=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid value: Days\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////wait for any prior instances to terminate//crlf////tab////tab////tab//sExpression=\\quot\\(scriptGetInstanceID()\\quot\\\\plus\\char(0x3C)\\plus\\scriptGetInstanceID()\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab//cInstance=scriptCount(this\\comma\\sExpression)//crlf////tab////tab////tab//appendToLog(\\quot\\updateDailySummaryAllStores cInstance=\\quot\\\\plus\\cInstance\\plus\\\\quot\\ Expression: \\quot\\\\plus\\sExpression)//crlf////tab////tab////tab//while(cInstance>0)//crlf////tab////tab////tab////tab//scriptSleep(1000)//crlf////tab////tab////tab////tab//cInstance=scriptCount(this\\comma\\sExpression)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\updateDailySummaryAllStores Waiting for previous instance.  cInstance=\\quot\\\\plus\\cInstance)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////get the starting and ending dates//crlf////tab////tab////tab//dt2=date(now()\\comma\\true)//crlf////tab////tab////tab//dt1=incrementTime(dt2\\comma\\-iDays)//crlf////crlf////tab////tab////tab//arStoreID=getCollection(\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\keys\\quot\\)//crlf////tab////tab////tab//cStore=getElementCount(arStoreID)//crlf////tab////tab////tab//nStore=0//crlf////tab////tab////tab//cUpdate=0//crlf////tab////tab////tab//bAbort=false//crlf////tab////tab////tab//while((not(bAbort)) and (nStore<cStore))//crlf////tab////tab////tab////tab//sStoreID=getElement(arStoreID\\comma\\nStore)//crlf////tab////tab////tab////tab//datenumFirstDateUpdated=0//crlf////tab////tab////tab////tab//if(sStoreID<>\\quot\\0\\quot\\)//crlf////tab////tab////tab////tab////tab////check the state of the daily inventory files in the store directory//crlf////tab////tab////tab////tab////tab////only check //crlf////tab////tab////tab////tab////tab//sStateDriverID=\\quot\\Aspect_BackOffice_Daily_Inventory_Drivers_State_With_Summary\\quot\\//crlf////tab////tab////tab////tab////tab//sStateParams=\\quot\\StoreID=\\quot\\\\plus\\sStoreID//crlf////tab////tab////tab////tab////tab//if(dependencyStateChanged(sStateDriverID\\comma\\sStateParams))//crlf////crlf////tab////tab////tab////tab////tab////tab////only update the driver if invoice details have not been modified within the last//crlf////tab////tab////tab////tab////tab////tab////60 seconds.  This is done to avoid repeatedly updating the driver while an //crlf////tab////tab////tab////tab////tab////tab////invoice is being entered.//crlf////tab////tab////tab////tab////tab////tab//sStoreDir=getStoreDir(sStoreID)//crlf////tab////tab////tab////tab////tab////tab//t=filespecModified(sStoreDir\\plus\\\\quot\\invoice_detail*.bin\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//if(dateNumber(now())-dateNumber(t)>1000*60)//crlf////tab////tab////tab////tab////tab////tab////tab//dt=dt2//crlf////tab////tab////tab////tab////tab////tab////tab//while((not(bAbort)) and (dt>=dt1))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\~~pipe~~Date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\~~pipe~~UpdatePerpetual=false\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(inventoryDataExists(sStoreID\\comma\\dt))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sDriverID=\\quot\\Aspect_Back_Office_Daily_Inventory_Summary\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////b=dependencyStateChanged(sDriverID\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\dependencyStateChanged: \\quot\\\\plus\\sParams\\plus\\\\quot\\: \\quot\\\\plus\\b)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//s=updateDependentDriver(sDriverID\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\updateDailySummaryAllDays: \\quot\\\\plus\\sParams\\plus\\\\quot\\: \\quot\\\\plus\\s)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(pos(\\quot\\Driver is already up to date\\quot\\\\comma\\s)<0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(datenumFirstDateUpdated=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//datenumFirstDateUpdated=dateNumber(dt)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//datenumFirstDateUpdated=min(datenumFirstDateUpdated\\comma\\dateNumber(dt))//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//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\-1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//bAbort=(getThreadCount()>20)//crlf////tab////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////tab////tab//setDependencyStates(sStateDriverID\\comma\\sParams\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sStateParams)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////update the perpetual//crlf////tab////tab////tab////tab////tab////tab////tab//if(datenumFirstDateUpdated>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\080220: updateDailySummaryAllStores calling update perpetual for \\quot\\\\plus\\date(datenumFirstDateUpdated))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//execAgentAction(\\quot\\updatePerpetual2020\\quot\\\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\\\amp\\Date=\\quot\\\\plus\\date(datenumFirstDateUpdated))//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nStore\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////crlf////tab////tab////tab//if(bAbort) //crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Ok: Aborted because thread count exceeded\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\080220: updateDailySummaryAllStores complete\\quot\\)//crlf////crlf////tab////tab////tab//return(\\quot\\Ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//^
ID=debug_console|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=882825|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=750119|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=145043|X=183|Y=484|W=119|H=47|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=updateDailySummaryAllDays|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=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_Daily Inventory Summary\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Daily Inventory Summary\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 08-20-2016 12:56: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\\KAV7tpXDgrrC34l3qOMpj1Sy_Daily Inventory Summary\\comma\\AgentAction\\comma\\750119\\comma\\0\\comma\\Check and update daily summaries for all stores//crlf////crlf////tab////tab////Check and update daily summaries for all stores//crlf////tab////tab//Result=execAgentAction(\\quot\\updateDailySummaryAllStores\\quot\\)//crlf////crlf////tab////tab////Check result//crlf////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Daily Inventory Summary\\comma\\AgentTerminate\\comma\\145043\\comma\\1\\comma\\Error//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Daily Inventory Summary\\comma\\AgentTerminate\\comma\\934461\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;08202016//amp//nbsp;125608//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_Daily//amp//nbsp;Inventory//amp//nbsp;Summary\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;08-20-2016//amp//nbsp;12:56: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><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Check//amp//nbsp;and//amp//nbsp;update//amp//nbsp;daily//amp//nbsp;summaries//amp//nbsp;for//amp//nbsp;all//amp//nbsp;stores</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\updateDailySummaryAllStores\\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;//Check//amp//nbsp;result</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=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>08202016 125608</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\\chart750119\\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>Daily Inventory Summary</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: 439px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart145043\\quot\\><canvas height=\\quot\\84\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildyesnode=\\quot\\chart532929\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart750119\\quot\\><canvas height=\\quot\\108\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Check and update daily summaries for all stores<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>updateDailySummaryAllDays<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart934461\\quot\\ agentchildyesnode=\\quot\\chart145043\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 323px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart532929\\quot\\><canvas height=\\quot\\64\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Check result<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 323px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart934461\\quot\\><canvas height=\\quot\\84\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div>^
ID=750119|X=183|Y=221|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=532929|AgentChildNoNode=|AgentSensor=0|AgentAction=updateDailySummaryAllStores|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Check and update daily summaries for all stores|AgentNodeTermType=0|^
ID=532929|X=183|Y=368|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=145043|AgentChildNoNode=934461|AgentSensor=1|AgentAction=updateDailySummaryAllDays|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Check result|AgentNodeTermType=0|^
ID=934461|X=373|Y=368|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=updateDailySummaryAllDays|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|
</widget><widget name="Inventory Extensions" group="Extensions" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Inventory Extensions" modified="10-07-2020 21:36:56" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=03-08-2019 22:20:58:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=90|toolboxy=263|aspectfuncx=179|aspectfuncy=100|aspectfuncw=798|aspectfunch=809|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Inventory Extensions.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=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=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\\'253982')\\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\\'530547')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=253982|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Extensions.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Extensions.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Inventory Extensions\\comma\\updateInventoryExtensions_Part1\\comma\\action_list\\comma\\Action=updateInventoryExtensions_Part1\\comma\\private//crlf////tab//Inventory Extensions\\comma\\updateInventoryExtensions\\comma\\action_list\\comma\\Action=updateInventoryExtensions\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateInventoryExtensions_Part1//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateInventoryExtensions_Part1\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Adds legitimate usages to the inventory extensions driver.  This is done as//crlf////tab////tab//a separate step\\comma\\ because the legitimate usages will often be unchanged and//crlf////tab////tab//time can be saved by initializing the inventory extensions with legitimate//crlf////tab////tab//usages before the remaining counts\\comma\\ putchases\\comma\\ etc. are merged.//crlf////crlf////tab////tab//The standard size in use when the driver is updated is recorded in the driver.//crlf////tab////tab//This is done in case an item\\apos\\s standard size is modified after the driver is updated.//crlf////tab////tab//This means the legitimate usage quantity must be converted to the new standard//crlf////tab////tab//size using a calculated field in the inventory extensions.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - ID of store//crlf////tab////tab//DateFrom - Starting date//crlf////tab////tab//DateTo - Ending date//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateInventoryExtensions_Part1\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////Enable profiling//crlf////tab////tab////tab//profile(getToken(\\quot\\Aspect_BackOffice_Profile_Inventory_Agents\\quot\\))//crlf////crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateFrom//crlf////tab////tab////tab//if(undefined(\\quot\\__DateFrom__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateFrom\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateTo//crlf////tab////tab////tab//if(undefined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////delete the inventory extensions Part1 file if it already exists//crlf////tab////tab////tab//sFilename=lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\inventory_extensions_part1.__DateFrom_____DateTo__.bin\\quot\\//crlf////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open inventory extensions driver//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Extensions_Part1\\comma\\drvExtensions\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~NoDepend\\quot\\)//crlf////crlf////tab////tab////tab////merge legitimate usages //crlf////tab////tab////tab//t=now()//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Legit_Usage_Summary\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\)//crlf////tab////tab////tab//driverSetSubtotal(d\\comma\\\\quot\\sum\\quot\\\\comma\\Inventory_Item_ID)//crlf////tab////tab////tab//driverSetDetails(d\\comma\\false)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\not(Standard_Quantity=0)\\quot\\\\comma\\true)//crlf////tab////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID\\quot\\//crlf////crlf////tab////tab////tab////05-31-2016 Modified this to leave out the size.  The size was not being merged anyway//crlf////tab////tab////tab////because it was not included in the subtotal record (the driver is filtered to subtotals //crlf////tab////tab////tab////before merging)//crlf////tab////tab////tab////arFieldsToMerge=\\quot\\Legit_Usage_Part_One~~pipe~~Legit_Usage_Size_Prefix~~pipe~~Legit_Usage_Size_Unit\\quot\\//crlf////tab////tab////tab////arAliasFields=\\quot\\Legit_Usage_Part_One=Standard_Quantity~~pipe~~Legit_Usage_Size_Prefix=Standard_Size_Prefix~~pipe~~Legit_Usage_Size_Unit=Standard_Size_Unit\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\Legit_Usage_Part_One\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\Legit_Usage_Part_One=Standard_Quantity\\quot\\//crlf////crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvExtensions\\comma\\\\quot\\\\quot\\\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab//result=appendToLog(\\quot\\Extensions: Legitimate usages: \\quot\\\\plus\\s\\plus\\\\quot\\ [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)\\plus\\char(10)//crlf////crlf////tab////tab////tab////merge in standard sizes//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Item\\comma\\dItem\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//driverSetFilter(dItem\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\Legit_Usage_Size_Prefix~~pipe~~Legit_Usage_Size_Unit\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\Inventory_Item_ID=ID~~pipe~~Legit_Usage_Size_Prefix=Standard_Size_Prefix~~pipe~~Legit_Usage_Size_Unit=Standard_Size_Unit\\quot\\//crlf////tab////tab////tab//s=driverMerge(false\\comma\\drvExtensions\\comma\\\\quot\\\\quot\\\\comma\\dItem\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverClose(dItem)//crlf////crlf////tab////tab////tab//driverClose(drvExtensions)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Extensions: updateInventoryExtensions_Part1 complete. [\\quot\\\\plus\\getScriptElapsedTime()\\plus\\\\quot\\ms]\\quot\\)//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: \\quot\\\\plus\\result)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateInventoryExtensions//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateInventoryExtensions\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates inventory extensions for a time period by combining daily inventory //crlf////tab////tab//summary drivers.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - ID of store//crlf////tab////tab//DateFrom - Starting date//crlf////tab////tab//DateTo - Ending date//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateInventoryExtensions\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////Enable profiling//crlf////tab////tab////tab//profile()//crlf////crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateFrom//crlf////tab////tab////tab//if(undefined(\\quot\\__DateFrom__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateFrom\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateTo//crlf////tab////tab////tab//if(undefined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab////tab//sDateFrom=\\quot\\__DateFrom__\\quot\\//crlf////tab////tab////tab//sDateTo=\\quot\\__DateTo__\\quot\\//crlf////crlf////tab////tab////tab////see if another instance is already running to update the date//crlf////tab////tab////tab//sExpression=\\quot\\(sStoreID=\\quot\\\\plus\\quote(sStoreID)\\plus\\\\quot\\) and (sDateFrom=\\quot\\\\plus\\quote(sDateFrom)\\plus\\\\quot\\) and (sDateTo=\\quot\\\\plus\\quote(sDateTo)\\plus\\\\quot\\) and (scriptGetInstanceID()\\quot\\\\plus\\char(0x3C)\\plus\\scriptGetInstanceID()\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab//cInstance=scriptCount(this\\comma\\sExpression)//crlf////tab////tab////tab//appendToLog(\\quot\\cInstance=\\quot\\\\plus\\cInstance\\plus\\\\quot\\ sExpression=\\quot\\\\plus\\sExpression)//crlf////tab////tab////tab//bAlreadyUpdated=(cInstance>0)//crlf////crlf////tab////tab////tab////wait for any prior instances to terminate//crlf////tab////tab////tab//sExpression=\\quot\\(scriptGetInstanceID()\\quot\\\\plus\\char(0x3C)\\plus\\scriptGetInstanceID()\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab//cInstance=scriptCount(this\\comma\\sExpression)//crlf////tab////tab////tab//appendToLog(\\quot\\cInstance=\\quot\\\\plus\\cInstance\\plus\\\\quot\\ Expression: \\quot\\\\plus\\sExpression)//crlf////tab////tab////tab//while(cInstance>0)//crlf////tab////tab////tab////tab//scriptSleep(1000)//crlf////tab////tab////tab////tab//cInstance=scriptCount(this\\comma\\sExpression)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\updateInventoryExtensions __DateFrom__-__DateTo__ Waiting for previous instance.  cInstance=\\quot\\\\plus\\cInstance)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////abort if another instance was already running for the store and date//crlf////tab////tab////tab//if(bAlreadyUpdated)//crlf////tab////tab////tab//  return(\\quot\\Ok: Updated by previous instance\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////delete the inventory extensions file if it already exists//crlf////tab////tab////tab//sFilename=lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\inventory_extensions.__DateFrom_____DateTo__.bin\\quot\\//crlf////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////Initialize legitimate usages //crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////copy driver from Aspect_Back_Office_Inventory_Extensions_Part1.  This driver contains//crlf////tab////tab////tab////legitimate usage information.  The remaining data for the inventory extensions is//crlf////tab////tab////tab////merged in below//crlf////tab////tab////tab//t=now()//crlf////tab////tab////tab//if(dependencyStateChanged(Aspect_Back_Office_Inventory_Extensions_Part1\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Extensions: Updating Aspect_Back_Office_Inventory_Extensions_Part1\\quot\\)//crlf////tab////tab////tab////tab//updateDependentDriver(Aspect_Back_Office_Inventory_Extensions_Part1\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\))//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Extensions: Aspect_Back_Office_Inventory_Extensions_Part1 is up to date\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sFilenamePart1=lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\inventory_extensions_part1.__DateFrom_____DateTo__.bin\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Extensions: Copied \\quot\\\\plus\\sFilenamePart1\\plus\\\\quot\\ to \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//fileCopy(sFilenamePart1\\comma\\sFilename)//crlf////crlf////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEINVENTORYEXTENSION_INITIALIZE_LEGITIMATE_USAGES\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEINVENTORYEXTENSION_INITIALIZE_LEGITIMATE_USAGES\\quot\\\\comma\\now()-t)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////Open driver//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////open inventory extensions driver//crlf////tab////tab////tab//t=now()//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Extensions\\comma\\drvExtensions\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~NoDepend\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvExtensions\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEINVENTORYEXTENSION_OPEN_DRIVER\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEINVENTORYEXTENSION_OPEN_DRIVER\\quot\\\\comma\\now()-t)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////merge beginning inventory from daily inventory summary one day prior//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab//t=now()//crlf////tab////tab////tab//sDriverParams=\\quot\\StoreID=__StoreID__~~pipe~~Date=\\quot\\\\plus\\formatDate(incrementTime(\\quot\\__DateFrom__\\quot\\\\comma\\-1)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Daily_Inventory_Summary\\comma\\d\\comma\\READ\\comma\\false\\comma\\sDriverParams)//crlf////crlf////tab////tab////tab////08-10-2017 Modified to include records with a Standard_Weighted_Price value.  This is done to //crlf////tab////tab////tab////include prices for items even when a count is not entered so the price is included in the //crlf////tab////tab////tab////Inventory Extensions//crlf////tab////tab////tab////driverSetFilter(d\\comma\\\\quot\\(Out_Of_Stock) or (not(abs(Standard_Physical_Count)\\plus\\abs(Standard_Physical_Count_Batch_Detail)=0))\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\(not(Standard_Weighted_Price=0)) or (Out_Of_Stock) or (not(abs(Standard_Physical_Count)\\plus\\abs(Standard_Physical_Count_Batch_Detail)=0))\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\Beginning_Price~~pipe~~Beginning_Physical_Count~~pipe~~Beginning_Physical_Count_Batch_Detail\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\Beginning_Price=Standard_Weighted_Price~~pipe~~Beginning_Physical_Count=Standard_Physical_Count~~pipe~~Beginning_Physical_Count_Batch_Detail=Standard_Physical_Count_Batch_Detail\\quot\\//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvExtensions\\comma\\\\quot\\\\quot\\\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEINVENTORYEXTENSION_MERGE_BEGINNING_INVENTORY\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEINVENTORYEXTENSION_MERGE_BEGINNING_INVENTORY\\quot\\\\comma\\now()-t)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//result=appendToLog(\\quot\\Extensions: Beginning inventory: \\quot\\\\plus\\s\\plus\\\\quot\\ [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)\\plus\\char(10)//crlf////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////merge beginning count batch detail//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab//t=now()//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Daily_Inventory_Summary\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=\\quot\\\\plus\\formatDate(incrementTime(\\quot\\__DateFrom__\\quot\\\\comma\\-1)\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\not(Standard_Physical_Count_Batch_Detail=0)\\quot\\\\comma\\true)//crlf////tab////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\Beginning_Physical_Count_Batch_Detail\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\Beginning_Physical_Count_Batch_Detail=Standard_Physical_Count_Batch_Detail\\quot\\//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvExtensions\\comma\\\\quot\\\\quot\\\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEINVENTORYEXTENSION_MERGE_BEGINNING_COUNT_BATCH_DETAIL\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEINVENTORYEXTENSION_MERGE_BEGINNING_COUNT_BATCH_DETAIL\\quot\\\\comma\\now()-t)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//result=appendToLog(\\quot\\Extensions: Beginning batch detail: \\quot\\\\plus\\s\\plus\\\\quot\\ [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)\\plus\\char(10)//crlf////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////merge ending inventory from daily inventory summary on the ending date//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab//t=now()//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Daily_Inventory_Summary\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__DateTo__\\quot\\)//crlf////crlf////tab////tab////tab////08-10-2017 Modified to include records with a Standard_Weighted_Price value.  This is done to //crlf////tab////tab////tab////include prices for items even when a count is not entered so the price is included in the //crlf////tab////tab////tab////Inventory Extensions//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\(Out_Of_Stock) or (not(abs(Standard_Physical_Count)\\plus\\abs(Standard_Physical_Count_Batch_Detail)=0))\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\(not(Standard_Weighted_Price=0)) or (Out_Of_Stock) or (not(abs(Standard_Physical_Count)\\plus\\abs(Standard_Physical_Count_Batch_Detail)=0))\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\Ending_Price~~pipe~~Ending_Physical_Count~~pipe~~Ending_Physical_Count_Batch_Detail\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\Ending_Price=Standard_Weighted_Price~~pipe~~Ending_Physical_Count=Standard_Physical_Count~~pipe~~Ending_Physical_Count_Batch_Detail=Standard_Physical_Count_Batch_Detail\\quot\\//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvExtensions\\comma\\\\quot\\\\quot\\\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEINVENTORYEXTENSION_MERGE_ENDING_INVENTORY\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEINVENTORYEXTENSION_MERGE_ENDING_INVENTORY\\quot\\\\comma\\now()-t)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//result=result\\plus\\appendToLog(\\quot\\Extensions: Ending inventory: \\quot\\\\plus\\s\\plus\\\\quot\\ [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)\\plus\\char(10)//crlf////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////merge ending count batch detail//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab//t=now()//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Daily_Inventory_Summary\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__DateTo__\\quot\\)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\not(Standard_Physical_Count_Batch_Detail=0)\\quot\\\\comma\\true)//crlf////tab////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\Ending_Physical_Count_Batch_Detail\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\Ending_Physical_Count_Batch_Detail=Standard_Physical_Count_Batch_Detail\\quot\\//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvExtensions\\comma\\\\quot\\\\quot\\\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEINVENTORYEXTENSION_MERGE_ENDING_COUNT_BATCH_DETAIL\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEINVENTORYEXTENSION_MERGE_ENDING_COUNT_BATCH_DETAIL\\quot\\\\comma\\now()-t)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//result=appendToLog(\\quot\\Extensions: Ending batch detail: \\quot\\\\plus\\s\\plus\\\\quot\\ [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)\\plus\\char(10)//crlf////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////merge waste counts\\comma\\ prep counts and legitimate cost//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab//t=now()//crlf////tab////tab////tab//if(value(getToken(Aspect_BackOffice_Version))>=1)//crlf////tab////tab////tab////tab//driverOpen(Aspect_BackOffice_Period_Inventory_Summary_For_Merge\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\)//crlf////tab////tab////tab////tab//driverSetSubtotal(d\\comma\\\\quot\\sum\\quot\\\\comma\\Inventory_Item_ID)//crlf////tab////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\Include_In_Merge\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverSetDetails(d\\comma\\false)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Aspect_BackOffice_Period_Inventory_Summary_For_Merge record count=\\quot\\\\plus\\driverGetRecordCount(d\\comma\\false)\\plus\\\\quot\\ / \\quot\\\\plus\\driverGetRecordCount(d\\comma\\true))//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//driverOpen(Aspect_BackOffice_Period_Inventory_Summary\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\)//crlf////tab////tab////tab////tab//driverSetSubtotal(d\\comma\\\\quot\\sum\\quot\\\\comma\\Inventory_Item_ID)//crlf////tab////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\not((abs(Waste_Count)\\plus\\abs(Waste_Count_Batch_Detail)\\plus\\abs(Prep_Count)\\plus\\abs(Prep_Count_Batch_Detail)\\plus\\abs(Legit_Cost))=0)\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverSetDetails(d\\comma\\false)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Aspect_BackOffice_Period_Inventory_Summary absolute record count=\\quot\\\\plus\\driverGetRecordCount(d\\comma\\true))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(driverGetRecordCount(d)>0)//crlf////tab////tab////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID\\quot\\//crlf////tab////tab////tab////tab//arFieldsToMerge=\\quot\\Waste_Count~~pipe~~Waste_Count_Batch_Detail~~pipe~~Prep_Count~~pipe~~Prep_Count_Batch_Detail~~pipe~~Waste_Cost~~pipe~~Legit_Cost\\quot\\//crlf////tab////tab////tab////tab//arAliasFields=\\quot\\Waste_Count=Standard_Waste_Count~~pipe~~Waste_Count_Batch_Detail=Standard_Waste_Count_Batch_Detail~~pipe~~Prep_Count=Standard_Prep_Count~~pipe~~Prep_Count_Batch_Detail=Standard_Prep_Count_Batch_Detail\\quot\\//crlf////tab////tab////tab////tab//s=driverMerge(true\\comma\\drvExtensions\\comma\\\\quot\\\\quot\\\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab//result=result\\plus\\appendToLog(\\quot\\Extensions: Waste/Prep: \\quot\\\\plus\\s\\plus\\\\quot\\ [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)\\plus\\char(10)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//result=result\\plus\\appendToLog(\\quot\\Extensions: Waste/Prep: No records to merge [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)\\plus\\char(10)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEINVENTORYEXTENSION_MERGE_WASTE_COUNTS_PREP_COUNTS_AND_LEGITIMATE_COST\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEINVENTORYEXTENSION_MERGE_WASTE_COUNTS_PREP_COUNTS_AND_LEGITIMATE_COST\\quot\\\\comma\\now()-t)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////merge invoice details//crlf////tab////tab////tab////Note: The driver is subtotaled by Item ID and only the totals are merged into //crlf////tab////tab////tab////the extensions.  Totals for multiple records are merged using only the Item ID //crlf////tab////tab////tab////as the key.//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab//t=now()//crlf////tab////tab////tab//appendToLog(\\quot\\updateInventoryExtensions opening Aspect_Back_Office_Invoice_Detail_Summary StoreID=__StoreID__ DateFrom=__DateFrom__ DateTo=__DateTo__\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Invoice_Detail_Summary\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\)//crlf////tab////tab////tab//driverSetSubtotal(d\\comma\\\\quot\\sum\\quot\\\\comma\\ItemID)//crlf////tab////tab////tab//driverSetDetails(d\\comma\\false)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\Purchase_Quantity~~pipe~~Purchase_Dollar\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\Inventory_Item_ID=ItemID~~pipe~~Purchase_Quantity=Standard_Quantity~~pipe~~Purchase_Dollar=Extended_Price\\quot\\//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvExtensions\\comma\\\\quot\\\\quot\\\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEINVENTORYEXTENSION_MERGE_INVOICE_DETAILS\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEINVENTORYEXTENSION_MERGE_INVOICE_DETAILS\\quot\\\\comma\\now()-t)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//result=result\\plus\\appendToLog(\\quot\\Extensions: Invoice details: \\quot\\\\plus\\s\\plus\\\\quot\\ [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)\\plus\\char(10)//crlf////tab////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////merge legitimate usages //crlf////tab////tab////tab////This is no longer necessary because legitimate usages are merged into the //crlf////tab////tab////tab////\\quot\\Aspect Back-Office Invoice Detail Concatenated\\quot\\ driver and that driver is copied//crlf////tab////tab////tab////to initialize the inventory extensions.  This avoids having to merge in the //crlf////tab////tab////tab////legitimate usages each time.//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//t=now()//crlf////tab////tab////tab////tab//driverOpen(Aspect_BackOffice_Legit_Usage_Summary\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\)//crlf////tab////tab////tab////tab//driverSetSubtotal(d\\comma\\\\quot\\sum\\quot\\\\comma\\Inventory_Item_ID)//crlf////tab////tab////tab////tab//driverSetDetails(d\\comma\\false)//crlf////tab////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\not(Standard_Quantity=0)\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID\\quot\\//crlf////tab////tab////tab////tab//arFieldsToMerge=\\quot\\Legit_Usage\\quot\\//crlf////tab////tab////tab////tab//arAliasFields=\\quot\\Legit_Usage=Standard_Quantity\\quot\\//crlf////tab////tab////tab////tab//s=driverMerge(true\\comma\\drvExtensions\\comma\\\\quot\\\\quot\\\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEINVENTORYEXTENSION_MERGE_LEGITIMATE_USAGES\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEINVENTORYEXTENSION_MERGE_LEGITIMATE_USAGES\\quot\\\\comma\\now()-t)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//result=result\\plus\\appendToLog(\\quot\\Extensions: Legitimate usages: \\quot\\\\plus\\s\\plus\\\\quot\\ [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)\\plus\\char(10)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////merge inventory items to add count size and inventory group ID.  The group ID is //crlf////tab////tab////tab////added rather than calculating it in the extensions to allow for calculating sales //crlf////tab////tab////tab////link ID in subtotal records.//crlf////tab////tab////tab////=================================================================================//crlf////tab////tab////tab//t=now()//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Item\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab////driverSetFilter(d\\comma\\\\quot\\Record_Type=1\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//arKeyFields=\\quot\\Inventory_Item_ID\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\Size_Prefix~~pipe~~Size_Unit~~pipe~~Inventory_Item_Group_ID\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\Inventory_Item_ID=ID~~pipe~~Size_Prefix=Count_Size1_Prefix~~pipe~~Size_Unit=Count_Size1_Unit\\quot\\//crlf////tab////tab////tab//arAliasFields=arAliasFields\\plus\\\\quot\\~~pipe~~Inventory_Item_Group_ID=GroupID\\quot\\//crlf////tab////tab////tab//s=driverMerge(false\\comma\\drvExtensions\\comma\\\\quot\\\\quot\\\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEINVENTORYEXTENSION_MERGE_INVENTORY_ITEMS\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEINVENTORYEXTENSION_MERGE_INVENTORY_ITEMS\\quot\\\\comma\\now()-t)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//result=result\\plus\\appendToLog(\\quot\\Extensions: Standard sizes: \\quot\\\\plus\\s\\plus\\\\quot\\ [\\quot\\\\plus\\(now()-t)\\plus\\\\quot\\ms]\\quot\\)\\plus\\char(10)//crlf////crlf////tab////tab////tab//driverClose(drvExtensions)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Extensions: updateInventoryExtensions complete. [\\quot\\\\plus\\getScriptElapsedTime()\\plus\\\\quot\\ms]\\quot\\)//crlf////crlf////tab////tab////tab//if(value(getToken(\\quot\\AspectCoreVersion\\quot\\))>=7.642) //crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\COUNT_AGENTACTION_UPDATEINVENTORYEXTENSION\\quot\\\\comma\\1)//crlf////tab////tab////tab////tab//setInventoryMetric(\\quot\\ELAPSED_AGENTACTION_UPDATEINVENTORYEXTENSION\\quot\\\\comma\\getScriptElapsedTime())//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: \\quot\\\\plus\\result)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf////crlf//^
ID=debug_console|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=530547|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=921583|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=921583|X=183|Y=218|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=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Inventory Extensions\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Extensions\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 07-20-2015 00:43: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\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Extensions\\comma\\AgentTerminate\\comma\\921583\\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;07202015//amp//nbsp;004308//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_Inventory//amp//nbsp;Extensions\\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-2015//amp//nbsp;00:43: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>07202015 004308</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\\chart921583\\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>Inventory Extensions</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: 118px; left: 148px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart921583\\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="Invoice Detail Summary" group="Extensions" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Invoice Detail Summary" modified="12-18-2018 01:15:08" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=08-30-2018 22:25:52: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=229|aspectfuncx=229|aspectfuncy=100|aspectfuncw=801|aspectfunch=654|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Invoice Detail Summary.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'429413')\\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\\'540865')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=429413|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Invoice Detail Summary.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Invoice Detail Summary\\comma\\getTotalExtendedPrice\\comma\\sensor_list\\comma\\Sensor=getTotalExtendedPrice\\comma\\private//crlf////tab//Invoice Detail Summary\\comma\\getVendorMasterItemList\\comma\\sensor_list\\comma\\Sensor=getVendorMasterItemList\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//getTotalExtendedPrice//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getTotalExtendedPrice\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Returns the total extended price for an invoice.  Called by the invoice used to edit a dialog//crlf////tab////tab//to get a total of all items entered on the invoice.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//InvoiceID - Invoice ID//crlf////tab////tab//Date - Date invoice entered (MM-dd-yyyy)//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Returns the total of the extended price for all items on the invoice//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getTotalExtendedPrice\\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 InvoiceID//crlf////tab////tab////tab//if(undefined(\\quot\\__InvoiceID__\\quot\\)) //crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing InvoiceID\\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////open the invoice detail driver//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Invoice_Detail\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//dTotal=driverRangeSum(d\\comma\\\\quot\\Extended_Price\\quot\\\\comma\\false\\comma\\\\quot\\InvoiceID=\\quot\\+quote(\\quot\\__InvoiceID__\\quot\\))//crlf////tab////tab////tab//dTotal=round(dTotal*100)/100//crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab//return(dTotal)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//getVendorMasterItemList//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getVendorMasterItemList\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//This sensor returns a comma-delimited list of all inventory item ID's for a given vendor.  //crlf////tab////tab//It reads past invoices and creates a master list of all items purchased from the //crlf////tab////tab//given vendor.  The items are sorted in the order they are sorted by on the past invoices.//crlf////crlf////tab////tab//This sensor is used to initialize a new invoice for a vendor.  All items //crlf////tab////tab//purchased from the vendor are added to the invoice\\comma\\ in the order that the //crlf////tab////tab//vendor lists them on the invoice.  //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//VendorID - Vendor ID//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\\getVendorMasterItemList\\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 Vendor ID//crlf////tab////tab////tab//if(undefined(\\quot\\__VendorID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing VendorID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open invoice driver.  Sort by date (earliest first) and filter to the selected vendor//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Invoice\\comma\\drvInvoice\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//driverSetSort(drvInvoice\\comma\\\\quot\\Date\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverSetFilter(drvInvoice\\comma\\\\quot\\VendorID=\\quot\\+quote(\\quot\\__VendorID__\\quot\\)\\comma\\true)//crlf////tab////crlf////tab////tab////tab////Create a delimited list of items contained on each invoice.  These are recorded //crlf////tab////tab////tab////in a hashtable with the invoice ID as the key and the delimited list as the value//crlf////tab////tab////tab////Also create a list of all items that will be added to the master list//crlf////tab////tab////tab//hashCreate(hInvoiceDetails)//crlf////tab////tab////tab//arrayCreate(arAllItems)//crlf////tab////tab////tab//cInvoice=driverGetRecordCount(drvInvoice)//crlf////tab////tab////tab//nInvoice=0//crlf////tab////tab////tab//while(nInvoice<cInvoice)//crlf////tab////tab////tab////tab//sInvoiceID=driverGetField(drvInvoice\\comma\\\\quot\\ID\\quot\\\\comma\\nInvoice)//crlf////tab////tab////tab////tab//dtEntered=driverGetField(drvInvoice\\comma\\\\quot\\Date_Entered\\quot\\\\comma\\nInvoice)//crlf////tab////tab////tab////tab//dtInvoice=driverGetField(drvInvoice\\comma\\\\quot\\Date\\quot\\\\comma\\nInvoice)//crlf////crlf////tab////tab////tab////tab////open the invoice details for the current invoice//crlf////tab////tab////tab////tab//sFilename=getStoreDir(\\quot\\__StoreID__\\quot\\)+\\quot\\invoice_detail.\\quot\\+formatDate(dtEntered\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Invoice_Detail\\comma\\drvInvoiceDetail\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=\\quot\\+formatDate(dtEntered\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//driverSetSort(drvInvoiceDetail\\comma\\\\quot\\Sort_Index\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab////tab//driverSetFilter(drvInvoiceDetail\\comma\\\\quot\\InvoiceID=\\quot\\+quote(sInvoiceID)\\comma\\true)//crlf////tab////crlf////tab////tab////tab////tab////tab////create a delimited list of all items on the invoice//crlf////tab////tab////tab////tab////tab//arDetails=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab//cInvoiceDetail=driverGetRecordCount(drvInvoiceDetail)//crlf////tab////tab////tab////tab////tab//nInvoiceDetail=0//crlf////tab////tab////tab////tab////tab//while(nInvoiceDetail<cInvoiceDetail)//crlf////tab////tab////tab////tab////tab////tab//sItemID=driverGetField(drvInvoiceDetail\\comma\\\\quot\\ItemID\\quot\\\\comma\\nInvoiceDetail)//crlf////tab////tab////tab////tab////tab////tab//arDetails=addElement(arDetails\\comma\\sItemID)//crlf////tab////tab////tab////tab////tab////tab//if(arrayContains(arAllItems\\comma\\sItemID)<0)//crlf////tab////tab////tab////tab////tab////tab////tab//arrayAdd(arAllItems\\comma\\sItemID)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//nInvoiceDetail++//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Added \\quot\\+getElementCount(arDetails)+\\quot\\ details for invoice \\quot\\+sInvoiceID+\\quot\\ \\quot\\+formatDate(dtInvoice\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//hashPut(hInvoiceDetails\\comma\\sInvoiceID\\comma\\arDetails)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nInvoice++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Master list contains \\quot\\+arraySize(arAllItems)+\\quot\\ items\\quot\\)//crlf////crlf////tab////tab////tab////create a hashtable of items as the key and a delimited list of items that the item //crlf////tab////tab////tab////comes before as the value//crlf////tab////tab////tab//hashCreate(hComesBefore)//crlf////tab////tab////tab//cAllItems=arraySize(arAllItems)//crlf////tab////tab////tab//nAllItems=0//crlf////tab////tab////tab//while(nAllItems<cAllItems)//crlf////tab////tab////tab////tab////get the item to add//crlf////tab////tab////tab////tab//sItemToAdd=arrayGet(arAllItems\\comma\\nAllItems)//crlf////crlf////tab////tab////tab////tab////read each of the delimited lists created for the invoices and create a list of //crlf////tab////tab////tab////tab////all items that come after the one that is being added//crlf////tab////tab////tab////tab//arComesBefore=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//arKeys=hashGetKeys(hInvoiceDetails)//crlf////tab////tab////tab////tab//cKey=getElementCount(arKeys)//crlf////tab////tab////tab////tab//nKey=0//crlf////tab////tab////tab////tab//while(nKey<cKey)//crlf////tab////tab////tab////tab////tab//sKey=getElement(arKeys\\comma\\nKey)//crlf////tab////tab////tab////tab////tab//arDetails=hashGet(hInvoiceDetails\\comma\\sKey)//crlf////tab////tab////tab////tab////tab//s=\\quot\\\\comma\\\\quot\\+arDetails+\\quot\\\\comma\\\\quot\\//crlf////tab////tab////tab////tab////tab//n=pos(\\quot\\\\comma\\\\quot\\+sItemToAdd+\\quot\\\\comma\\\\quot\\\\comma\\s)//crlf////tab////tab////tab////tab////tab//if(n>=0)//crlf////tab////tab////tab////tab////tab////tab////arComesBefore=addElement(arComesBefore\\comma\\substring(\\quot\\\\comma\\\\quot\\+arDetails\\comma\\n+1))//crlf////tab////tab////tab////tab////tab////tab//s=substring(\\quot\\\\comma\\\\quot\\+arDetails\\comma\\n+1)//crlf////tab////tab////tab////tab////tab////tab//c=getElementCount(s)//crlf////tab////tab////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab////tab////tab//sElement=getElement(s\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab////tab//if((len(sElement)>0) and (sElement<>sItemToAdd))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(containsElement(arComesBefore\\comma\\sElement)<0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//arComesBefore=addElement(arComesBefore\\comma\\sElement)//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//n++//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//nKey++//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//hashPut(hComesBefore\\comma\\sItemToAdd\\comma\\arComesBefore)//crlf////tab////tab////tab////tab//nAllItems++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////add each of the items in the arAllItems to an array sorted by the order the items //crlf////tab////tab////tab////appear in the invoices//crlf////tab////tab////tab//arrayCreate(arMasterDetails)//crlf////tab////tab////crlf////tab////tab////tab//cAllItems=arraySize(arAllItems)//crlf////tab////tab////tab//nAllItems=0//crlf////tab////tab////tab//cConflict=0//crlf////tab////tab////tab//cAdded=0//crlf////tab////tab////tab//while(nAllItems<cAllItems)//crlf////tab////tab////tab////tab////get the item to add//crlf////tab////tab////tab////tab//sItemToAdd=arrayGet(arAllItems\\comma\\nAllItems)//crlf////tab////tab////tab////tab//sItemToAddName=lookup(Aspect_BackOffice_Lookup_Inventory_Item_Name_by_ID\\comma\\sItemToAdd\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////crlf////tab////tab////tab////tab////get the list of items that the item being added comes before//tab////crlf////tab////tab////tab////tab//arComesBefore=hashGet(hComesBefore\\comma\\sItemToAdd)//crlf////crlf////tab////tab////tab////tab////=================================================================================//crlf////tab////tab////tab////tab////look for conflicts in which the item comes before another item and the other item//crlf////tab////tab////tab////tab////also comes before this item.  This is for debugging only and can be removed.//crlf////tab////tab////tab////tab//c=getElementCount(arComesBefore)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//sComesBeforeItem=getElement(arComesBefore\\comma\\n)//crlf////tab////tab////tab////tab////tab//arOtherComesBefore=hashGet(hComesBefore\\comma\\sComesBeforeItem)//crlf////tab////tab////tab////tab////tab//if(containsElement(arOtherComesBefore\\comma\\sItemToAdd))//crlf////tab////tab////tab////tab////tab////tab//sOtherItemName=lookup(Aspect_BackOffice_Lookup_Inventory_Item_Name_by_ID\\comma\\sComesBeforeItem\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Conflict: \\quot\\+sItemToAdd+\\quot\\ \\quot\\+sItemToAddName+\\quot\\ and \\quot\\+sComesBeforeItem+\\quot\\ \\quot\\+sOtherItemName)//crlf////tab////tab////tab////tab////tab////tab//cConflict++//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n++//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////=================================================================================//crlf////crlf////tab////tab////tab////tab////add the item to the master list//crlf////tab////tab////tab////tab//c=arraySize(arMasterDetails)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//Done=false//crlf////tab////tab////tab////tab//while((n<c) and (not(Done)))//crlf////tab////tab////tab////tab////tab////look for the first item in the master array that matches one of the remaining //crlf////tab////tab////tab////tab////tab////items in the invoice details.  The item being added will be inserted before//crlf////tab////tab////tab////tab////tab////this item//crlf////tab////tab////tab////tab////tab//if(isSubset(arrayGet(arMasterDetails\\comma\\n)\\comma\\arComesBefore))//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Adding item \\quot\\+sItemToAdd+\\quot\\ before \\quot\\+arrayGet(arMasterDetails\\comma\\n)+\\quot\\ at position \\quot\\+n)//crlf////tab////tab////tab////tab////tab////tab//arrayAdd(arMasterDetails\\comma\\sItemToAdd\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//cAdded++//crlf////tab////tab////tab////tab////tab////tab//Done=true//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n++//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////add the item at the end of the list//crlf////tab////tab////tab////tab//if(not(Done))//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Adding item \\quot\\+sItemToAdd+\\quot\\ at end of list\\quot\\)//crlf////tab////tab////tab////tab////tab//arrayAdd(arMasterDetails\\comma\\sItemToAdd\\comma\\n)//crlf////tab////tab////tab////tab////tab//cAdded++//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//nAllItems++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(drvInvoice)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Added \\quot\\+cAdded+\\quot\\ items with \\quot\\+cConflict+\\quot\\ conflicts\\quot\\)//crlf////crlf////tab////tab////tab////get the final delimited list to be returned//crlf////tab////tab////tab//sLog=\\quot\\\\quot\\//crlf////tab////tab////tab//s=\\quot\\\\quot\\//crlf////tab////tab////tab//c=arraySize(arMasterDetails)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sItemID=arrayGet(arMasterDetails\\comma\\n)//crlf////tab////tab////tab////tab//s=addElement(s\\comma\\sItemID)//crlf////tab////tab////tab////tab//sLog=sLog+padRight(sItemID\\comma\\4\\comma\\\\quot\\ \\quot\\)+char(09)+lookup(Aspect_BackOffice_Lookup_Inventory_Item_Name_by_ID\\comma\\sItemID\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)+char(13)+char(10)//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//fileWriteContent(getToken(\\quot\\temporary_files\\quot\\)+\\quot\\openDefaultInvoiceDriver.$$$\\quot\\\\comma\\sLog)//crlf////crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf////crlf//^
ID=action_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Invoice Detail Summary.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Invoice Detail Summary\\comma\\initializeDefaultInvoice\\comma\\action_list\\comma\\Action=initializeDefaultInvoice\\comma\\private//crlf////tab//Invoice Detail Summary\\comma\\updateInvoiceDetailSummary\\comma\\action_list\\comma\\Action=updateInvoiceDetailSummary\\comma\\private//crlf////tab//Invoice Detail Summary\\comma\\updateInvoiceDetailGroupSummary\\comma\\action_list\\comma\\Action=updateInvoiceDetailGroupSummary\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//initializeDefaultInvoice//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\initializeDefaultInvoice\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//This action initializes an invoice with all items purchased from the //crlf////tab////tab//selected vendor.  The getVendorMasterItemList sensor is used to get a master list of //crlf////tab////tab//all items purchased from the selected vendor\\comma\\ sorted in the order the items appear //crlf////tab////tab//on past invoices.  Records are added to the invoice details for the given invoice.  //crlf////tab////tab//Any records that already exist will not be affected.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//InvoiceID - Invoice ID//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\\initializeDefaultInvoice\\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 InvoiceID//crlf////tab////tab////tab//if(undefined(\\quot\\__InvoiceID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing InvoiceID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open invoice driver.  Locate the given invoice//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Invoice\\comma\\drvInvoice\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//rInvoice=driverFindRecordAbsolute(drvInvoice\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\quote(\\quot\\__InvoiceID__\\quot\\))//crlf////tab////tab////tab////crlf////tab////tab////tab////abort if the invoice could not be found//crlf////tab////tab////tab//if(rInvoice<0)//crlf////tab////tab////tab////tab//driverClose(drvInvoice)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Could not locate invoice with ID: __InvoiceID__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the invoice date entered//crlf////tab////tab////tab//dtEntered=driverGetFieldAbsolute(drvInvoice\\comma\\\\quot\\Date_Entered\\quot\\\\comma\\rInvoice)//crlf////tab////tab////tab//appendToLog(\\quot\\Adding item to invoice entered on \\quot\\\\plus\\formatDate(dtEntered\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//sVendorID=driverGetFieldAbsolute(drvInvoice\\comma\\\\quot\\VendorID\\quot\\\\comma\\rInvoice)//crlf////crlf////tab////tab////tab////open the invoice details //crlf////tab////tab////tab//appendToLog(\\quot\\Opening invoice details for \\quot\\\\plus\\formatDate(dtEntered\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Invoice_Detail\\comma\\drvInvoiceDetail\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=\\quot\\\\plus\\formatDate(dtEntered\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//driverSetFilter(drvInvoiceDetail\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\Invoice detail record count1: \\quot\\\\plus\\driverGetRecordCount(drvInvoiceDetail\\comma\\true)\\plus\\\\quot\\ / \\quot\\\\plus\\driverGetRecordCount(drvInvoiceDetail\\comma\\false))//crlf////crlf////tab////tab////tab////open the inventory item driver.  This is used to get purchase sizes for the selected vendor//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Item\\comma\\drvItem\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////crlf////tab////tab////tab////read the invoice details and create a hashtable containing items that already exist//crlf////tab////tab////tab////for the given vendor.  The ItemID is the key and the absolute record number is the //crlf////tab////tab////tab////value.  Also determine the value of the highest sort_index//crlf////tab////tab////tab//hashCreate(hashExistingItems)//crlf////tab////tab////tab//iStartSortIndex=0//crlf////tab////tab////tab//c=driverGetRecordCount(drvInvoiceDetail)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//iSortIndex=driverGetField(drvInvoiceDetail\\comma\\\\quot\\sort_index\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//iStartSortIndex=max(iStartSortIndex\\comma\\iSortIndex)//crlf////tab////tab////tab////tab//sInvoiceID=driverGetField(drvInvoiceDetail\\comma\\\\quot\\InvoiceID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(sInvoiceID=\\quot\\__InvoiceID__\\quot\\)//crlf////tab////tab////tab////tab////tab//sItemID=driverGetField(drvInvoiceDetail\\comma\\\\quot\\ItemID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//hashPut(hashExistingItems\\comma\\sItemID\\comma\\driverGetAbsoluteIndex(drvInvoiceDetail\\comma\\n))//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////increment the starting sort index//crlf////tab////tab////tab//iStartSortIndex\\plus\\\\plus\\//crlf////crlf////tab////tab////tab////get master list of all items purchased from the given vendor//crlf////tab////tab////tab//arMasterList=getSensorValue(\\quot\\getVendorMasterItemList\\quot\\\\comma\\\\quot\\StoreID=__StoreID__\\amp\\VendorID=\\quot\\\\plus\\sVendorID)//crlf////crlf////tab////tab////tab////add all items on the master list//crlf////tab////tab////tab//iSortIndex=iStartSortIndex//crlf////tab////tab////tab//cAdded=0//crlf////tab////tab////tab//cExisting=0//crlf////tab////tab////tab//c=getElementCount(arMasterList)//crlf//appendToLog(\\quot\\Adding \\quot\\\\plus\\c\\plus\\\\quot\\ records from master list\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sItemID=getElement(arMasterList\\comma\\n)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////get the absolute record number of the item in the invoice details.  Add the item if//crlf////tab////tab////tab////tab////it doesn\\apos\\t already exist//crlf////tab////tab////tab////tab//if(hashContainsKey(hashExistingItems\\comma\\sItemID))//crlf////tab////tab////tab////tab////tab//r=hashGet(hashExistingItems\\comma\\sItemID)//crlf//appendToLog(\\quot\\Item \\quot\\\\plus\\sItemID\\plus\\\\quot\\ already exits at record \\quot\\\\plus\\r)//crlf////tab////tab////tab////tab////tab//cExisting\\plus\\\\plus\\//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(drvInvoiceDetail)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvInvoiceDetail\\comma\\\\quot\\Used\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvInvoiceDetail\\comma\\\\quot\\InvoiceID\\quot\\\\comma\\r\\comma\\\\quot\\__InvoiceID__\\quot\\)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvInvoiceDetail\\comma\\\\quot\\ItemID\\quot\\\\comma\\r\\comma\\sItemID)//crlf//appendToLog(\\quot\\Added item: \\quot\\\\plus\\sItemID\\plus\\\\quot\\ at r=\\quot\\\\plus\\r)//crlf////tab////tab////tab////tab////tab////initialize the purchase size//crlf////tab////tab////tab////tab////tab//rItem=driverFindRecordAbsolute(drvItem\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\sItemID)//crlf////tab////tab////tab////tab////tab//if(rItem>=0)//crlf////tab////tab////tab////tab////tab////tab////get default size prefix and unit//crlf////tab////tab////tab////tab////tab////tab//sSizeUnit=driverGetFieldAbsolute(drvItem\\comma\\\\quot\\Vendor1_Size_Unit\\quot\\\\comma\\rItem)//crlf////tab////tab////tab////tab////tab////tab//if(dSizeUnit<>\\quot\\0\\quot\\) //crlf////tab////tab////tab////tab////tab////tab////tab//dSizePrefix=driverGetFieldAbsolute(drvItem\\comma\\\\quot\\Vendor1_Size_Prefix\\quot\\\\comma\\rItem)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//sSizeUnit=driverGetFieldAbsolute(drvItem\\comma\\\\quot\\Vendor2_Size_Unit\\quot\\\\comma\\rItem)//crlf////tab////tab////tab////tab////tab////tab////tab//if(dSizeUnit<>\\quot\\0\\quot\\) //crlf////tab////tab////tab////tab////tab////tab////tab////tab//dSizePrefix=driverGetFieldAbsolute(drvItem\\comma\\\\quot\\Vendor2_Size_Prefix\\quot\\\\comma\\rItem)//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sSizeUnit=driverGetFieldAbsolute(drvItem\\comma\\\\quot\\Vendor3_Size_Unit\\quot\\\\comma\\rItem)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//dSizePrefix=driverGetFieldAbsolute(drvItem\\comma\\\\quot\\Vendor3_Size_Prefix\\quot\\\\comma\\rItem)//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////get the size prefix and unit for the selected vendor if it is defined//crlf////tab////tab////tab////tab////tab////tab//if(driverGetFieldAbsolute(drvItem\\comma\\\\quot\\Vendor1\\quot\\\\comma\\rItem)=sVendorID)//crlf////tab////tab////tab////tab////tab////tab////tab//dSizePrefix=driverGetFieldAbsolute(drvItem\\comma\\\\quot\\Vendor1_Size_Prefix\\quot\\\\comma\\rItem)//crlf////tab////tab////tab////tab////tab////tab////tab//sSizeUnit=driverGetFieldAbsolute(drvItem\\comma\\\\quot\\Vendor1_Size_Unit\\quot\\\\comma\\rItem)//crlf////tab////tab////tab////tab////tab////tab//elseif(driverGetFieldAbsolute(drvItem\\comma\\\\quot\\Vendor2\\quot\\\\comma\\rItem)=sVendorID)//crlf////tab////tab////tab////tab////tab////tab////tab//dSizePrefix=driverGetFieldAbsolute(drvItem\\comma\\\\quot\\Vendor2_Size_Prefix\\quot\\\\comma\\rItem)//crlf////tab////tab////tab////tab////tab////tab////tab//sSizeUnit=driverGetFieldAbsolute(drvItem\\comma\\\\quot\\Vendor2_Size_Unit\\quot\\\\comma\\rItem)//crlf////tab////tab////tab////tab////tab////tab//elseif(driverGetFieldAbsolute(drvItem\\comma\\\\quot\\Vendor3\\quot\\\\comma\\rItem)=sVendorID)//crlf////tab////tab////tab////tab////tab////tab////tab//dSizePrefix=driverGetFieldAbsolute(drvItem\\comma\\\\quot\\Vendor3_Size_Prefix\\quot\\\\comma\\rItem)//crlf////tab////tab////tab////tab////tab////tab////tab//sSizeUnit=driverGetFieldAbsolute(drvItem\\comma\\\\quot\\Vendor3_Size_Unit\\quot\\\\comma\\rItem)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvInvoiceDetail\\comma\\\\quot\\Size_Unit\\quot\\\\comma\\r\\comma\\sSizeUnit)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvInvoiceDetail\\comma\\\\quot\\Size_Prefix\\quot\\\\comma\\r\\comma\\dSizePrefix)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//hashPut(hashExistingItems\\comma\\sItemID\\comma\\r)//crlf////tab////tab////tab////tab////tab//cAdded\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////set the sort order//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(drvInvoiceDetail\\comma\\\\quot\\Sort_Index\\quot\\\\comma\\r\\comma\\iSortIndex)//crlf////tab////tab////tab////tab//iSortIndex\\plus\\\\plus\\//crlf////crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverSetFilter(drvInvoiceDetail\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\Invoice detail record count2: \\quot\\\\plus\\driverGetRecordCount(drvInvoiceDetail\\comma\\true)\\plus\\\\quot\\ / \\quot\\\\plus\\driverGetRecordCount(drvInvoiceDetail\\comma\\false))//crlf////crlf////tab////tab////tab//driverClose(drvInvoice)//crlf////tab////tab////tab//driverClose(drvInvoiceDetail)//crlf////tab////tab////tab//driverClose(drvItem)//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Added \\quot\\\\plus\\cAdded\\plus\\\\quot\\ items\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateInvoiceDetailSummary//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateInvoiceDetailSummary\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Concatenates invoice details for a period to a single file//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//DateFrom - Starting date - MM-dd-yyyy//crlf////tab////tab//DateTo - Ending date - MM-dd-yyyy//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateInvoiceDetailSummary\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\updateInvoiceDetailSummary StoreID=__StoreID__ DateFrom=__DateFrom__ DateTo=__DateTo__\\quot\\)//crlf////crlf////tab////tab////tab////abort if store ID missing//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Missing StoreID\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if DateFrom missing//crlf////tab////tab////tab//if(undefined(\\quot\\__DateFrom__\\quot\\))//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Missing DateFrom\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if DateTo missing//crlf////tab////tab////tab//if(undefined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Missing DateTo\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sDateFrom=\\quot\\__DateFrom__\\quot\\//crlf////tab////tab////tab//sDateTo=\\quot\\__DateTo__\\quot\\//crlf////tab////tab////tab//sExpression=\\quot\\(sDateFrom=\\quot\\\\plus\\quote(sDateFrom)\\plus\\\\quot\\) and (sDateTo=\\quot\\\\plus\\quote(sDateTo)\\plus\\\\quot\\) and (scriptGetInstanceID()\\quot\\\\plus\\char(0x3C)\\plus\\scriptGetInstanceID()\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab//cInstance=scriptCount(this\\comma\\sExpression)//crlf////tab////tab////tab//appendToLog(\\quot\\cInstance=\\quot\\\\plus\\cInstance\\plus\\\\quot\\ Expression: \\quot\\\\plus\\sExpression)//crlf////tab////tab////tab//if(cInstance>0)//crlf////tab////tab////tab////tab//while(cInstance>0)//crlf////tab////tab////tab////tab////tab//scriptSleep(1000)//crlf////tab////tab////tab////tab////tab//cInstance=scriptCount(this\\comma\\sExpression)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\updateInvoiceDetailSummary: Waiting for previous instance to complete\\quot\\)//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//return(\\quot\\updateInvoiceDetailSummary: Updated by previous instance\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the concatenated filename//crlf////tab////tab////tab//sDir=addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab//sFilename=sDir\\plus\\\\quot\\invoicedetail_summary.__DateFrom_____DateTo__.bin\\quot\\//crlf////crlf////tab////tab////tab////delete the file if it exists//crlf////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Deleting \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Setting length to 0: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\File does not exist: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Append invoice details for all days to the concatenated file//crlf////crlf////tab////tab////tab////NOTE: The file name of the daily files containing invoice details use the date the //crlf////tab////tab////tab////invoice was ENTERED\\comma\\ not the date of the invoice.  For example\\comma\\ an invoice entered//crlf////tab////tab////tab////on 01-15-xxxx will be recorded in 01-15-xxxx even if the invoice date is 01-14-xxxx.//crlf////crlf////tab////tab////tab////To address this\\comma\\ need to read invoices belonging to the period and concatenate the//crlf////tab////tab////tab////files associated with them which are based on the date the invoice was entered.//crlf////tab////tab////tab////After concatenating\\comma\\ the driver is opened and any details that are not within the //crlf////tab////tab////tab////DateFrom and DateTo period are deleted.  This is done because it\\apos\\s possible to have //crlf////tab////tab////tab////an invoice entered on the same date as another but only one of them might belong//crlf////tab////tab////tab////in the period.//crlf////crlf////tab////tab////tab////This is how it was handled previously//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//setFilename=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\\\\comma\\\\quot\\\\quot\\\\comma\\sDir\\plus\\\\quot\\invoice_detail.$e$.bin\\quot\\)//crlf////tab////tab////tab////tab//sCmd=\\quot\\if(fileExists($e$)\\comma\\fileCopy($e$\\comma\\\\quot\\\\plus\\quote(sFilename)\\plus\\\\quot\\\\comma\\true\\comma\\true)\\comma\\false)\\quot\\//crlf////tab////tab////tab////tab//execSetCommand(setFilename\\comma\\sCmd)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the invoice driver and filter it to invoices for the given date//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Invoice\\comma\\drvInvoice\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab////sFilter=\\quot\\(dateNumber(Date)\\quot\\\\plus\\char(0x3e)\\plus\\\\quot\\=\\quot\\\\plus\\dateNumber(\\quot\\__DateFrom__\\quot\\)\\plus\\\\quot\\) and (dateNumber(Date)\\quot\\\\plus\\char(0x3C)\\plus\\\\quot\\=\\quot\\\\plus\\dateNumber(\\quot\\__DateTo__\\quot\\)\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab//DateNum2=dateNumber(incrementTime(\\quot\\__DateTo__\\quot\\\\comma\\1))//crlf////tab////tab////tab//sFilter=\\quot\\(dateNumber(Date)\\quot\\\\plus\\char(0x3e)\\plus\\\\quot\\=\\quot\\\\plus\\dateNumber(\\quot\\__DateFrom__\\quot\\)\\plus\\\\quot\\) and (dateNumber(Date)\\quot\\\\plus\\char(0x3C)\\plus\\DateNum2\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab//driverSetFilter(drvInvoice\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\Found \\quot\\\\plus\\driverGetRecordCount(drvInvoice)\\plus\\\\quot\\ invoices between __DateFrom__ and __DateTo__\\quot\\)//crlf////crlf////tab////tab////tab////concatenate files belonging to each invoice in the period.  Don\\apos\\t add the same//crlf////tab////tab////tab////file twice//crlf////tab////tab////tab//hashCreate(hConcatenated)//crlf////tab////tab////tab//sStoreDir=getStoreDir(\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab//cInvoice=driverGetRecordCount(drvInvoice)//crlf////tab////tab////tab//nInvoice=0//crlf////tab////tab////tab//while(nInvoice<cInvoice)//crlf////tab////tab////tab////tab//dtEntered=driverGetField(drvInvoice\\comma\\\\quot\\Date_Entered\\quot\\\\comma\\nInvoice)//crlf////tab////tab////tab////tab//sInvoiceFilename=sStoreDir\\plus\\\\quot\\invoice_detail.\\quot\\\\plus\\formatDate(dtEntered\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//if(not(hashContainsKey(hConcatenated\\comma\\sInvoiceFilename)))//crlf////tab////tab////tab////tab////tab//hashPut(hConcatenated\\comma\\sInvoiceFilename\\comma\\sInvoiceFilename)//crlf////tab////tab////tab////tab////tab//fileCopy(sInvoiceFilename\\comma\\sFilename\\comma\\true\\comma\\true)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Concatenating \\quot\\\\plus\\sInvoiceFilename)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nInvoice\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////open the driver and delete all records outside of the period//crlf////tab////tab////tab////driverOpen(Aspect_Back_Office_Invoice_Detail_Summary\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\sFilename\\plus\\\\quot\\~~pipe~~NoDepend\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Invoice_Detail_Summary\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~NoDepend\\quot\\)//crlf////tab////tab////tab//sFilter=\\quot\\(dateNumber(Invoice_Date)\\quot\\\\plus\\char(0x3C)\\plus\\dateNumber(\\quot\\__DateFrom__\\quot\\)\\plus\\\\quot\\) or (dateNumber(Invoice_Date)\\quot\\\\plus\\char(0x3E)\\plus\\dateNumber(\\quot\\__DateTo__\\quot\\)\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\sFilter=\\quot\\\\plus\\sFilter)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\Deleting \\quot\\\\plus\\driverGetRecordCount(d)\\plus\\\\quot\\ of \\quot\\\\plus\\driverGetRecordCount(d\\comma\\true)\\plus\\\\quot\\ records\\quot\\)//crlf////tab////tab////tab//driverDeleteActiveRecords(d)//crlf////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\updateInvoiceDetailSummary returns OK\\quot\\)//crlf////tab////tab////tab//return(\\quot\\Ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateInvoiceDetailGroupSummary//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateInvoiceDetailGroupSummary\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Used to update the Aspect_BackOffice_Invoice_Detail_Group_Summary dependent driver.//crlf////tab////tab//This driver contains totals for invoice ID.  It is created by opening the //crlf////tab////tab//Aspect_Back_Office_Invoice_Detail_Summary\\comma\\ filtering it to subtotals only and merging //crlf////tab////tab//the result to a file name invoicedetail_groupsummary.[date range].bin.//crlf////crlf////tab////tab//This driver is used by the Invoice Details By Group view.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//DateFrom - Starting date - MM-dd-yyyy//crlf////tab////tab//DateTo - Ending date - MM-dd-yyyy//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateInvoiceDetailGroupSummary\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if store ID missing//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 missing//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 missing//crlf////tab////tab////tab//if(undefined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sDateFrom=\\quot\\__DateFrom__\\quot\\//crlf////tab////tab////tab//sDateTo=\\quot\\__DateTo__\\quot\\//crlf////tab////tab////tab//sExpression=\\quot\\(sDateFrom=\\quot\\\\plus\\quote(sDateFrom)\\plus\\\\quot\\) and (sDateTo=\\quot\\\\plus\\quote(sDateTo)\\plus\\\\quot\\) and (scriptGetInstanceID()\\quot\\\\plus\\char(0x3C)\\plus\\scriptGetInstanceID()\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab//cInstance=scriptCount(this\\comma\\sExpression)//crlf////tab////tab////tab//appendToLog(\\quot\\cInstance=\\quot\\\\plus\\cInstance\\plus\\\\quot\\ Expression: \\quot\\\\plus\\sExpression)//crlf////tab////tab////tab//if(cInstance>0)//crlf////tab////tab////tab////tab//while(cInstance>0)//crlf////tab////tab////tab////tab////tab//scriptSleep(1000)//crlf////tab////tab////tab////tab////tab//cInstance=scriptCount(this\\comma\\sExpression)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Waiting for previous instance to complete\\quot\\)//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Updated by previous instance\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the driver params.  These are the same for the invoice detail summary and for the //crlf////tab////tab////tab////group summary//crlf////tab////tab////tab//sDriverParams=\\quot\\StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\//crlf////crlf////tab////tab////tab////open the invoice detail summary for the period//crlf////tab////tab////tab//drvInvoiceDetail=getSalt(4)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Invoice_Detail_Summary\\comma\\drvInvoiceDetail\\comma\\READ\\comma\\true\\comma\\sDriverParams)//crlf////crlf////tab////tab////tab////set the driver to subtotal by invoice ID and turn off details//crlf////tab////tab////tab//driverSetSubtotal(drvInvoiceDetail\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\InvoiceID~~pipe~~Inventory_Item_Group_ID\\quot\\)//crlf////tab////tab////tab//driverSetDetails(drvInvoiceDetail\\comma\\false)//crlf////tab////tab////tab//driverSetFilter(drvInvoiceDetail\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\Records in invoice detail driver: \\quot\\\\plus\\driverGetRecordCount(drvInvoiceDetail\\comma\\false)\\plus\\\\quot\\:\\quot\\\\plus\\driverGetRecordCount(drvInvoiceDetail\\comma\\true))//crlf////crlf////tab////tab////tab////open the invoice detail group summary.  Delete the file first if it exists//crlf////tab////tab////tab//sFilename=getStoreDir(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\invoicedetail_groupsummary.__DateFrom_____DateTo__.bin\\quot\\//crlf////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Deleting \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Setting size to 0: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\File does not exist: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//drvInvoiceGroupDetail=getSalt(4)//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Invoice_Detail_Group_Summary\\comma\\drvInvoiceGroupDetail\\comma\\WRITE\\comma\\true\\comma\\sDriverParams\\plus\\\\quot\\~~pipe~~nodepend\\quot\\)//crlf////crlf////tab////tab////tab////execute the merge definition to update the group totals file//crlf////tab////tab////tab//sParams=\\quot\\MergeID=4IHjOiwx\\amp\\SourceDriver=\\quot\\\\plus\\drvInvoiceDetail\\plus\\\\quot\\\\amp\\DestDriver=\\quot\\\\plus\\drvInvoiceGroupDetail//crlf////tab////tab////tab//s=execAgentAction(\\quot\\executeMergeDefinition\\quot\\\\comma\\sParams)//crlf////crlf////tab////tab////tab//driverClose(drvInvoiceDetail)//crlf////tab////tab////tab//driverClose(drvInvoiceGroupDetail)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=540865|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=151|Y=38|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=627940|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=627940|X=183|Y=219|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentTabs|X=151|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=151|Y=38|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Invoice Detail Summary\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Invoice Detail Summary\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 07-20-2015 12:20:07//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\\KAV7tpXDgrrC34l3qOMpj1Sy_Invoice Detail Summary\\comma\\AgentTerminate\\comma\\627940\\comma\\2\\comma\\//crlf////tab////tab//scriptSetResult(2)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=151|Y=38|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;07202015//amp//nbsp;122007//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_Invoice//amp//nbsp;Detail//amp//nbsp;Summary\\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-2015//amp//nbsp;12:20:07</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(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=38|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=151|Y=38|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=151|Y=38|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>07202015 122007</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\\chart627940\\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>Invoice Detail Summary</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: 177px; left: 69px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart627940\\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="Legitimate Usage Summary" group="Legitimate Usage" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Legitimate Usage Summary" modified="07-18-2021 14:17:34" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=03-08-2019 22:20:58:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=98|toolboxy=134|aspectfuncx=208|aspectfuncy=100|aspectfuncw=831|aspectfunch=807|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Legitimate Usage Summary.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'870103')\\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\\'631246')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=870103|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Legitimate Usage Summary.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_KAV7tpXDgrrC34l3qOMpj1Sy_Legitimate Usage Summary.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Legitimate Usage Summary\\comma\\updateLegitUsageSummary\\comma\\action_list\\comma\\Action=updateLegitUsageSummary\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateLegitUsageSummary//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateLegitUsageSummary\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Concatenates legitimate usages for a period to a single file//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//DateFrom - Starting date - MM-dd-yyyy//crlf////tab////tab//DateTo - Ending date - MM-dd-yyyy//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateLegitUsageSummary\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if store ID missing//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 missing//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 missing//crlf////tab////tab////tab//if(undefined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the concatenated filename//crlf////tab////tab////tab//sDir=addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab//sFilename=sDir\\plus\\\\quot\\usage_summary.__DateFrom_____DateTo__.bin\\quot\\//crlf////crlf////tab////tab////tab////delete the file if it exists//crlf////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////make sure usage files are up to date//crlf////tab////tab////tab//setTime=getSetTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\)//crlf////tab////tab////tab//c=getElementCount(setTime)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=getElement(setTime\\comma\\n)//crlf////tab////tab////tab////tab//if(dependencyStateChanged(Aspect_Back_Office_Legitimate_Usage\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=\\quot\\\\plus\\s))//crlf////tab////tab////tab////tab////tab//updateDependentDriver(Aspect_Back_Office_Legitimate_Usage\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=\\quot\\\\plus\\s)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////append legitimate usages for all days to the concatenated file//crlf////tab////tab////tab//setFilename=getSetTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\1440*60\\comma\\\\quot\\MM-dd-yyyy\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sDir\\plus\\\\quot\\usage.$e$.bin\\quot\\)//crlf////tab////tab////tab//sCmd=\\quot\\if(fileExists($e$)\\comma\\fileCopy($e$\\comma\\\\quot\\\\plus\\quote(sFilename)\\plus\\\\quot\\\\comma\\true\\comma\\true)\\comma\\false)\\quot\\//crlf////tab////tab////tab//execSetCommand(setFilename\\comma\\sCmd)//crlf////tab////tab////tab//return(\\quot\\Ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=631246|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=86758|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=86758|X=183|Y=218|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_Legitimate Usage Summary\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Legitimate Usage Summary\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 07-20-2015 15:23:27//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Legitimate Usage Summary\\comma\\AgentTerminate\\comma\\86758\\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;07202015//amp//nbsp;152327//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_Legitimate//amp//nbsp;Usage//amp//nbsp;Summary\\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-2015//amp//nbsp;15:23:27</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<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>07202015 152327</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\\chart86758\\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>Legitimate Usage Summary</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: 85px; left: 69px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart86758\\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="Notification Container" group="Notifications" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Notification Container" modified="08-08-2020 01:24:52" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=03-08-2019 22:20:58:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=63|toolboxy=109|aspectfuncx=192|aspectfuncy=100|aspectfuncw=750|aspectfunch=810|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Notification Container.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=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=924032|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<select onChange=\\quot\\showTab(this)\\quot\\>//crlf////tab////tab//<option value=''>--- Javascript ---</option>//crlf////tab////tab//<option value='318619'>Inventory Javascript</option>//crlf////tab////tab//<option value=''></option>//crlf////tab////tab//<option value=''>--- Utility ---</option>//crlf////tab////tab//<option value='925985'>Delete Dependent Inventory Drivers</option>//crlf////tab////tab//<option value=''></option>//crlf////tab////tab//<option value=''>--- Item ---</option>//crlf////tab////tab//<option value='26020'>Inspect Item</option>//crlf////tab////tab//<option value=''></option>//crlf////tab////tab//<option value=''>--- Legitimate Usages ---</option>//crlf////tab////tab//<option value='218271'>Inspect Legitimate Usage - Period</option>//crlf////tab////tab//<option value='703631'>Inspect Legitimate Usage - Day</option>//crlf////tab////tab//<option value='990270'>Inspect Legitimate Usage (Unused)</option>//crlf////tab////tab//<option value=''></option>//crlf////tab////tab//<option value=''>--- Physical Counts ---</option>//crlf////tab////tab//<option value='939730'>Inspect Beginning Count</option>//crlf////tab////tab//<option value='540304'>Inspect Beginning Count Batch Detail</option>//crlf////tab////tab//<option value='882668'>Inspect Ending Count</option>//crlf////tab////tab//<option value='595200'>Inspect Ending Count Batch Detail</option>//crlf////tab////tab//<option value=''></option>//crlf////tab////tab//<option value=''>--- Purchases ---</option>//crlf////tab////tab//<option value='296620'>Inspect Purchases</option>//crlf////tab////tab//<option value=''></option>//crlf////tab////tab//<option value=''>--- Prep Count ---</option>//crlf////tab////tab//<option value='396293'>Inspect Prep Count - Period</option>//crlf////tab////tab//<option value='14337'>Inspect Prep Count - Day</option>//crlf////tab////tab//<option value='428610'>Inspect Prep Count Batch Detail - Period</option>//crlf////tab////tab//<option value='562155'>Inspect Prep Count Batch Detail - Day</option>//crlf////tab////tab//<option value=''></option>//crlf////tab////tab//<option value=''>--- Waste Count ---</option>//crlf////tab////tab//<option value='450342'>Inspect Waste Count - Period</option>//crlf////tab////tab//<option value='781058'>Inspect Waste Count - Day</option>//crlf////tab////tab//<option value='899546'>Inspect Waste Count Batch Detail - Period</option>//crlf////tab////tab//<option value='773772'>Inspect Waste Count Batch Detail - Day</option>//crlf////tab////tab//<option value=''></option>//crlf////tab////tab//<option value=''>--- Prices ---</option>//crlf////tab////tab//<option value='239144'>Inspect Beginning Price</option>//crlf////tab////tab//<option value='685954'>Inspect Ending Price</option>//crlf////tab////tab//<option value='224651'>Inspect Legit Price</option>//crlf////tab////tab//<option value='291551'>Inspect Waste Price</option>//crlf//</select>//crlf//^
ID=318619|X=183|Y=33|W=836|H=604|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=924032|AttachLeft=|AlignLeft=924032|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:false>//crlf//==========================================================================//crlf//These are javascript functions used to open an inspect window for an //crlf//inventory item.  The script can be included in a widget using //crlf////crlf//< include type:widget; server:{AspectHashID}; secure:false; documentID:\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\318619\\quot\\; params:\\quot\\\\quot\\;>//crlf////crlf//==========================================================================//crlf//</conditional>//crlf////crlf//<script ID=\\quot\\inventory_javascript\\quot\\>//crlf////tab//function inspectBeginningCount(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////tab////tab//eFloat.style.left=\\quot\\200px\\quot\\;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=939730\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//Date=\\quot\\+From;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf////crlf////tab//function inspectBeginningCountBatchDetail(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////tab////tab//eFloat.style.left=\\quot\\200px\\quot\\;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=540304\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//Date=\\quot\\+From;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf////crlf////tab//function inspectEndingCount(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////tab////tab//eFloat.style.left=\\quot\\200px\\quot\\;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=882668\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//Date=\\quot\\+From;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf////crlf////tab//function inspectEndingCountBatchDetail(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////tab////tab//eFloat.style.left=\\quot\\200px\\quot\\;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=595200\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//Date=\\quot\\+From;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf////crlf////tab//function inspectPurchases(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////tab////tab//eFloat.style.left=\\quot\\200px\\quot\\;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=296620\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//DateFrom=\\quot\\+From;//crlf////tab////tab//if(To) sUrl +=\\quot\\//amp//DateTo=\\quot\\+To;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf////crlf////tab//function inspectPrepCountForPeriod(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////tab////tab//eFloat.style.left=\\quot\\200px\\quot\\;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=396293\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//DateFrom=\\quot\\+From;//crlf////tab////tab//if(To) sUrl +=\\quot\\//amp//DateTo=\\quot\\+To;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf////crlf////tab//function inspectPrepCountForDay(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////tab////tab//eFloat.style.left=\\quot\\200px\\quot\\;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=14337\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//Date=\\quot\\+From;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf////crlf////tab//function inspectPrepCountBatchDetailForPeriod(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////tab////tab//eFloat.style.left=\\quot\\200px\\quot\\;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=428610\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//DateFrom=\\quot\\+From;//crlf////tab////tab//if(To) sUrl +=\\quot\\//amp//DateTo=\\quot\\+To;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf////crlf////tab//function inspectPrepCountBatchDetailForDay(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////tab////tab//eFloat.style.left=\\quot\\200px\\quot\\;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=562155\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//Date=\\quot\\+From;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf////crlf////tab//function inspectWasteCountForPeriod(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////tab////tab//eFloat.style.left=\\quot\\200px\\quot\\;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=450342\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//DateFrom=\\quot\\+From;//crlf////tab////tab//if(To) sUrl +=\\quot\\//amp//DateTo=\\quot\\+To;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf////crlf////tab//function inspectWasteCountForDay(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////tab////tab//eFloat.style.left=\\quot\\200px\\quot\\;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=781058\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//Date=\\quot\\+From;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf////crlf////tab//function inspectWasteCountBatchDetailForPeriod(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////tab////tab//eFloat.style.left=\\quot\\200px\\quot\\;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=899546\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//DateFrom=\\quot\\+From;//crlf////tab////tab//if(To) sUrl +=\\quot\\//amp//DateTo=\\quot\\+To;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf////crlf////tab//function inspectWasteCountBatchDetailForDay(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////tab////tab//eFloat.style.left=\\quot\\200px\\quot\\;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=773772\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//Date=\\quot\\+From;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf////crlf////tab//function inspectBeginningPrice(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To\\comma\\Qty\\comma\\Prefix\\comma\\Unit) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////tab////tab//eFloat.style.left=\\quot\\200px\\quot\\;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=239144\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//Qty=\\quot\\+Qty;//crlf////tab////tab//sUrl +=\\quot\\//amp//Prefix=\\quot\\+Prefix;//crlf////tab////tab//sUrl +=\\quot\\//amp//Unit=\\quot\\+Unit;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//Date=\\quot\\+Date;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf////crlf////tab//function inspectEndingPrice(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To\\comma\\Qty\\comma\\Prefix\\comma\\Unit) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////tab////tab//eFloat.style.left=\\quot\\200px\\quot\\;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=685954\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//Qty=\\quot\\+Qty;//crlf////tab////tab//sUrl +=\\quot\\//amp//Prefix=\\quot\\+Prefix;//crlf////tab////tab//sUrl +=\\quot\\//amp//Unit=\\quot\\+Unit;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//Date=\\quot\\+Date;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf////crlf////tab//function inspectLegitPrice(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To\\comma\\Qty\\comma\\QtyOnHand\\comma\\Prefix\\comma\\Unit) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////tab////tab//eFloat.style.left=\\quot\\200px\\quot\\;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=224651\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//Qty=\\quot\\+Qty;//crlf////tab////tab//sUrl +=\\quot\\//amp//QtyOnHand=\\quot\\+QtyOnHand;//crlf////tab////tab//sUrl +=\\quot\\//amp//Prefix=\\quot\\+Prefix;//crlf////tab////tab//sUrl +=\\quot\\//amp//Unit=\\quot\\+Unit;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//Date=\\quot\\+Date;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf////crlf////tab//function inspectWastePrice(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To\\comma\\Qty\\comma\\QtyOnHand\\comma\\Prefix\\comma\\Unit) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////tab////tab//eFloat.style.left=\\quot\\200px\\quot\\;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=291551\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//Qty=\\quot\\+Qty;//crlf////tab////tab//sUrl +=\\quot\\//amp//QtyOnHand=\\quot\\+QtyOnHand;//crlf////tab////tab//sUrl +=\\quot\\//amp//Prefix=\\quot\\+Prefix;//crlf////tab////tab//sUrl +=\\quot\\//amp//Unit=\\quot\\+Unit;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//Date=\\quot\\+Date;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf////crlf////tab//function inspectLegitUsageForPeriod(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////tab////tab//eFloat.style.left=\\quot\\200px\\quot\\;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=218271\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//DateFrom=\\quot\\+From;//crlf////tab////tab//if(To) sUrl +=\\quot\\//amp//DateTo=\\quot\\+To;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf////crlf////tab//function inspectLegitUsageForDay(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////tab////tab//eFloat.style.left=\\quot\\200px\\quot\\;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=703631\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//Date=\\quot\\+From;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf////crlf////tab//function inspectItem(e\\comma\\HashID\\comma\\ItemID\\comma\\StoreID\\comma\\From\\comma\\To) //crlf////tab//{//crlf////tab////tab//var eFloat=createInspectWindow(e);//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Widget=Notification Container\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=26020\\quot\\;//crlf////tab////tab////sUrl +=\\quot\\//amp//EditWindowID=\\quot\\+eFloat.id;//crlf////tab////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+ItemID;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID;//crlf////tab////tab//if(From) sUrl +=\\quot\\//amp//DateFrom=\\quot\\+From;//crlf////tab////tab//if(To) sUrl +=\\quot\\//amp//DateTo=\\quot\\+To;//crlf////crlf////tab////tab//var s=\\quot\\<div class='inspect_div' interval='0' url=\\\quot\\\\quot\\+sUrl+\\quot\\\\\quot\\></div>\\quot\\;//crlf////tab////tab//eFloat.innerHTML+=s;//crlf////tab////tab//eFloat.setAttribute(\\quot\\RawContent\\quot\\\\comma\\eFloat.innerHTML);//crlf////tab////tab//refreshWidgets();//crlf////tab//};//crlf//</script>^
ID=26020|X=183|Y=33|W=818|H=603|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=924032|AttachLeft=|AlignLeft=924032|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<_conditional expression; expression:(\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\293\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\06-29-2015\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\07-05-2015\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression; expression:undefined(\\quot\\__ItemID__\\quot\\)>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf////crlf//<conditional expression; expression:undefined(\\quot\\__StoreID__\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or ((defined(\\quot\\__StoreID__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\)))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\formatDate(incrementTime(now()\\comma\\-60)\\comma\\\\quot\\MM-dd-yyyy\\quot\\))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\))>//crlf////crlf////tab//<h1>Inspect Item: <!include type:expression; expression:lookup(Aspect_BackOffice_Lookup_Inventory_Item_Name_by_ID\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)> __DateFrom__ To: __DateTo__</h1>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\tabwidth\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\400px\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\tabheight\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\400px\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\tabstyle\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\width:800px;height:400px;\\quot\\)>//crlf////crlf////tab//<table class='tabdialog'>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__summary')\\quot\\>Summary</span></td>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__purchases');setVisible('__salt__purchases_content'\\comma\\true\\comma\\0\\comma\\true)\\quot\\>Purchases</span></td>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__physical_count')\\quot\\>Physical Count</span></td>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__waste_count')\\quot\\>Waste Count</span></td>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__legitimate_usages')\\quot\\>Legitimate Usages</span></td>//crlf////tab////tab//</tr>//crlf////tab//</table>//crlf////crlf////tab//<div ID=\\quot\\__salt__summary\\quot\\ style=\\quot\\width:__tabwidth__;height:__tabheight__\\quot\\>//crlf////tab////tab//<h2>Summary</h2>//crlf////tab////tab//<div interval=\\quot\\0\\quot\\ ID=\\quot\\__salt__summary_content\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab//ID=getWidget//amp////crlf////tab////tab////tab//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp////crlf////tab////tab////tab//Widget=Inventory Drivers//amp////crlf////tab////tab////tab//ContainerItemID=108500//amp////crlf////tab////tab////tab//StoreID=__StoreID__//amp////crlf////tab////tab////tab//DateFrom=__DateFrom__//amp////crlf////tab////tab////tab//DateTo=__DateTo__//amp////crlf////tab////tab////tab//ItemID=__ItemID__\\quot\\>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////crlf////tab//<div class=\\quot\\dialogtab\\quot\\ ID=\\quot\\__salt__purchases\\quot\\ style=\\quot\\__tabstyle__\\quot\\>//crlf////tab////tab//<h2>Purchases</h2>//crlf////tab////tab//<div ID=\\quot\\__salt__purchases_content\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab//ID=getWidget//amp////crlf////tab////tab////tab//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp////crlf////tab////tab////tab//Widget=Inventory Drivers//amp////crlf////tab////tab////tab//ContainerItemID=596515//amp////crlf////tab////tab////tab//StoreID=__StoreID__//amp////crlf////tab////tab////tab//DateFrom=__DateFrom__//amp////crlf////tab////tab////tab//DateTo=__DateTo__//amp////crlf////tab////tab////tab//ItemID=__ItemID__\\quot\\>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////crlf////tab//<div ID=\\quot\\__salt__physical_count\\quot\\ style=\\quot\\width:__tabwidth__;height:__tabheight__\\quot\\>//crlf////tab////tab//<h2>Physical Count</h2>//crlf////tab//</div>//crlf////crlf////tab//<div ID=\\quot\\__salt__waste_count\\quot\\ style=\\quot\\width:__tabwidth__;height:__tabheight__\\quot\\>//crlf////tab////tab//<h2>Waste Count</h2>//crlf////tab//</div>//crlf////crlf////tab//<div ID=\\quot\\__salt__legitimate_usages\\quot\\ style=\\quot\\width:__tabwidth__;height:__tabheight__\\quot\\>//crlf////tab////tab//<h2>Legitimate Usages</h2>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=990270|X=183|Y=33|W=954|H=706|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=924032|AttachLeft=|AlignLeft=924032|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__ __DateFrom__ __DateTo__ __ItemID__//crlf//</state>//crlf////crlf//<!-- Top border for floating window -->//crlf//<!--//crlf//<div style=\\quot\\width:100\\percent\\;height:10px;background-color://pound//c9c9c9\\quot\\></div>//crlf//<img class='hyperlink' style=\\quot\\position:absolute;top:10px;right:5px;z-index=99\\quot\\ src=\\quot\\{ImageHostUrl}close20x20.png\\quot\\ onClick=\\quot\\closeInspectWindow('__EditWindowID__')\\quot\\>//crlf//-->//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\293\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\06-29-2015\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\07-05-2015\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//ASPECT_BACKOFFICE_LEGIT_USAGE_SUMMARY//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__DateFrom__\\quot\\)) and (defined(\\quot\\__DateTo__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//<h1>Inspect Legitimate Usage1: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=872686//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//DateFrom=__DateFrom__//crlf////tab////tab////tab////amp//DateTo=__DateTo__//crlf////tab////tab////tab////amp//ItemID=__ItemID__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=939730|X=183|Y=33|W=745|H=589|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=924032|AttachLeft=|AlignLeft=924032|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__ __DateFrom__ __DateTo__ __ItemID__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\293\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\06-29-2015\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\07-05-2015\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Physical_Count//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//<h1>Beginning Count: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=872900//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//Date=__Date__//crlf////tab////tab////tab////amp//ItemID=__ItemID__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=882668|X=183|Y=33|W=722|H=600|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=924032|AttachLeft=|AlignLeft=924032|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__ __DateFrom__ __DateTo__ __ItemID__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\293\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\06-29-2015\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\07-05-2015\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Physical_Count//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__DateFrom__\\quot\\)) and (defined(\\quot\\__DateTo__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//<h1>Ending Count: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=872900//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//DateFrom=__DateFrom__//crlf////tab////tab////tab////amp//Date=__Date__//crlf////tab////tab////tab////amp//ItemID=__ItemID__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=296620|X=183|Y=33|W=770|H=626|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=924032|AttachLeft=|AlignLeft=924032|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__ __DateFrom__ __DateTo__ __ItemID__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\293\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\06-29-2015\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\07-05-2015\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Inspect Invoice Details//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__DateFrom__\\quot\\)) and (defined(\\quot\\__DateTo__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//<h1>Inspect Invoice Details: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=596515//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//DateFrom=__DateFrom__//crlf////tab////tab////tab////amp//DateTo=__DateTo__//crlf////tab////tab////tab////amp//ItemID=__ItemID__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=781058|X=183|Y=33|W=811|H=635|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=924032|AttachLeft=|AlignLeft=924032|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__ __DateFrom__ __DateTo__ __ItemID__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\652\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Date\\quot\\\\comma\\\\quot\\__Date__\\quot\\\\comma\\\\quot\\07-05-2015\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Waste_Count//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//<h1>Inspect Waste Count: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=872903//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//Date=__Date__//crlf////tab////tab////tab////amp//ItemID=__ItemID__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=14337|X=183|Y=33|W=815|H=679|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=924032|AttachLeft=|AlignLeft=924032|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__ __DateFrom__ __DateTo__ __ItemID__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\581\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Date\\quot\\\\comma\\\\quot\\__Date__\\quot\\\\comma\\\\quot\\07-05-2015\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Prep_Log//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//<h1>Inspect Prep Count: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=872904//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//Date=__Date__//crlf////tab////tab////tab////amp//ItemID=__ItemID__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=239144|X=183|Y=33|W=700|H=670|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=924032|AttachLeft=|AlignLeft=924032|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__ __DateFrom__ __DateTo__ __ItemID__ __Qty__ __Prefix__ __Unit__//crlf////tab//{@now()}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\3665\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Date\\quot\\\\comma\\\\quot\\__Date__\\quot\\\\comma\\\\quot\\06-28-2015\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Qty\\quot\\\\comma\\\\quot\\__Qty__\\quot\\\\comma\\\\quot\\172\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Prefix\\quot\\\\comma\\\\quot\\__Prefix__\\quot\\\\comma\\\\quot\\1\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Unit\\quot\\\\comma\\\\quot\\__Unit__\\quot\\\\comma\\\\quot\\17\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Inspect Beginning Price//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Qty__\\quot\\))>//crlf////tab//Error: Missing Qty//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Prefix__\\quot\\))>//crlf////tab//Error: Missing Prefix//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Unit__\\quot\\))>//crlf////tab//Error: Missing Unit//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\))and (defined(\\quot\\__ItemID__\\quot\\)) and (defined(\\quot\\__Qty__\\quot\\))  and (defined(\\quot\\__Unit__\\quot\\))  and (defined(\\quot\\__Prefix__\\quot\\)) >//crlf////tab//<h1>Inspect Beginning Price: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=872905//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//Date=__Date__//crlf////tab////tab////tab////amp//ItemID=__ItemID__//crlf////tab////tab////tab////amp//Qty=__Qty__//crlf////tab////tab////tab////amp//Prefix=__Prefix__//crlf////tab////tab////tab////amp//Unit=__Unit__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=685954|X=183|Y=33|W=854|H=727|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=924032|AttachLeft=|AlignLeft=924032|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__ __DateFrom__ __DateTo__ __ItemID__ __Qty__ __Prefix__ __Unit__//crlf////tab//{@now()}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\3665\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Date\\quot\\\\comma\\\\quot\\__Date__\\quot\\\\comma\\\\quot\\06-28-2015\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Qty\\quot\\\\comma\\\\quot\\__Qty__\\quot\\\\comma\\\\quot\\172\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Prefix\\quot\\\\comma\\\\quot\\__Prefix__\\quot\\\\comma\\\\quot\\1\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Unit\\quot\\\\comma\\\\quot\\__Unit__\\quot\\\\comma\\\\quot\\17\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Inspect Beginning Price//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Qty__\\quot\\))>//crlf////tab//Error: Missing Qty//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Prefix__\\quot\\))>//crlf////tab//Error: Missing Prefix//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Unit__\\quot\\))>//crlf////tab//Error: Missing Unit//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\))and (defined(\\quot\\__ItemID__\\quot\\)) and (defined(\\quot\\__Qty__\\quot\\))  and (defined(\\quot\\__Unit__\\quot\\))  and (defined(\\quot\\__Prefix__\\quot\\)) >//crlf////tab//<h1>Inspect Ending Price: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=872905//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//Date=__Date__//crlf////tab////tab////tab////amp//ItemID=__ItemID__//crlf////tab////tab////tab////amp//Qty=__Qty__//crlf////tab////tab////tab////amp//Prefix=__Prefix__//crlf////tab////tab////tab////amp//Unit=__Unit__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=224651|X=183|Y=33|W=774|H=666|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=924032|AttachLeft=|AlignLeft=924032|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__ __DateFrom__ __DateTo__ __ItemID__ __Qty__ __QtyOnHand__ __Prefix__ __Unit__//crlf////tab//{@now()}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\3665\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Date\\quot\\\\comma\\\\quot\\__Date__\\quot\\\\comma\\\\quot\\06-28-2015\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Qty\\quot\\\\comma\\\\quot\\__Qty__\\quot\\\\comma\\\\quot\\172\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Prefix\\quot\\\\comma\\\\quot\\__Prefix__\\quot\\\\comma\\\\quot\\1\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Unit\\quot\\\\comma\\\\quot\\__Unit__\\quot\\\\comma\\\\quot\\17\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Inspect Beginning Price//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Qty__\\quot\\))>//crlf////tab//Error: Missing Qty//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__QtyOnHand__\\quot\\))>//crlf////tab//Error: Missing QtyOnHand//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Prefix__\\quot\\))>//crlf////tab//Error: Missing Prefix//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Unit__\\quot\\))>//crlf////tab//Error: Missing Unit//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\))and (defined(\\quot\\__ItemID__\\quot\\)) and (defined(\\quot\\__Qty__\\quot\\))  and (defined(\\quot\\__Unit__\\quot\\))  and (defined(\\quot\\__Prefix__\\quot\\)) >//crlf////tab//<h1>Inspect Legit Price: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=872905//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//Date=__Date__//crlf////tab////tab////tab////amp//ItemID=__ItemID__//crlf////tab////tab////tab////amp//Qty=__Qty__//crlf////tab////tab////tab////amp//QtyOnHand=__QtyOnHand__//crlf////tab////tab////tab////amp//Prefix=__Prefix__//crlf////tab////tab////tab////amp//Unit=__Unit__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=540304|X=183|Y=33|W=801|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=924032|AttachLeft=|AlignLeft=924032|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__ __DateFrom__ __DateTo__ __ItemID__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\293\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\06-29-2015\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\07-05-2015\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_BackOffice_Physical_Count_Batch_Detail//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//<h1>Beginning Batch Detail: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=864254//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//Date=__Date__//crlf////tab////tab////tab////amp//ItemID=__ItemID__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=595200|X=183|Y=33|W=776|H=582|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=924032|AttachLeft=|AlignLeft=924032|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__ __DateFrom__ __DateTo__ __ItemID__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\293\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\06-29-2015\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\07-05-2015\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_BackOffice_Physical_Count_Batch_Detail//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//<h1>Ending Batch Detail: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=864254//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//Date=__Date__//crlf////tab////tab////tab////amp//ItemID=__ItemID__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=773772|X=183|Y=33|W=763|H=584|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=924032|AttachLeft=|AlignLeft=924032|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__ __DateFrom__ __DateTo__ __ItemID__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\1616\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Date\\quot\\\\comma\\\\quot\\__Date__\\quot\\\\comma\\\\quot\\07-05-2015\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_BackOffice_Waste_Count_Batch_Detail//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//<h1>Waste Count Batch Detail: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=141248//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//Date=__Date__//crlf////tab////tab////tab////amp//ItemID=__ItemID__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=562155|X=183|Y=33|W=774|H=555|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=924032|AttachLeft=|AlignLeft=924032|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__ __DateFrom__ __DateTo__ __ItemID__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\293\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Date\\quot\\\\comma\\\\quot\\__Date__\\quot\\\\comma\\\\quot\\07-05-2015\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Prep_Log_Batch_Detail//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//<h1>Ending Batch Detail: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=557111//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//Date=__Date__//crlf////tab////tab////tab////amp//ItemID=__ItemID__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=396293|X=183|Y=33|W=921|H=625|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=924032|AttachLeft=|AlignLeft=924032|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__ __DateFrom__ __DateTo__ __ItemID__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\581\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\06-29-2015\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\07-05-2015\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Prep_Log//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__DateFrom__\\quot\\)) and (defined(\\quot\\__DateTo__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//<h1>Inspect Prep Count: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=22917//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//DateFrom=__DateFrom__//crlf////tab////tab////tab////amp//DateTo=__DateTo__//crlf////tab////tab////tab////amp//ItemID=__ItemID__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=450342|X=183|Y=33|W=836|H=593|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=924032|AttachLeft=|AlignLeft=924032|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__ __DateFrom__ __DateTo__ __ItemID__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\581\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\06-29-2015\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\07-05-2015\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Prep_Log//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__DateFrom__\\quot\\)) and (defined(\\quot\\__DateTo__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//<h1>Inspect Waste Count: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=744105//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//DateFrom=__DateFrom__//crlf////tab////tab////tab////amp//DateTo=__DateTo__//crlf////tab////tab////tab////amp//ItemID=__ItemID__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=428610|X=183|Y=33|W=841|H=696|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=924032|AttachLeft=|AlignLeft=924032|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__ __DateFrom__ __DateTo__ __ItemID__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\581\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\06-29-2015\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\07-05-2015\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Prep_Log//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__DateFrom__\\quot\\)) and (defined(\\quot\\__DateTo__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//<h1>Prep Count Batch Detail: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=89074//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//DateFrom=__DateFrom__//crlf////tab////tab////tab////amp//DateTo=__DateTo__//crlf////tab////tab////tab////amp//ItemID=__ItemID__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=899546|X=183|Y=33|W=854|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=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=924032|AttachLeft=|AlignLeft=924032|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__ __DateFrom__ __DateTo__ __ItemID__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\656\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\06-29-2015\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\07-05-2015\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Waste Count Batch Detail - Period//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__DateFrom__\\quot\\)) and (defined(\\quot\\__DateTo__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//<h1>Waste Count Batch Detail: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=594917//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//DateFrom=__DateFrom__//crlf////tab////tab////tab////amp//DateTo=__DateTo__//crlf////tab////tab////tab////amp//ItemID=__ItemID__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=218271|X=183|Y=33|W=797|H=734|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=924032|AttachLeft=|AlignLeft=924032|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false -->//crlf//<state>//crlf////tab//__StoreID__ __DateFrom__ __DateTo__ __ItemID__ {@now()}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\3677\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\06-29-2015\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\07-05-2015\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Prep_Log//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateFrom__\\quot\\))>//crlf////tab//Error: Missing DateFrom//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__DateTo__\\quot\\))>//crlf////tab//Error: Missing DateTo//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__DateFrom__\\quot\\)) and (defined(\\quot\\__DateTo__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//<h1>Inspect Legitimate Usage1: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=872686//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//DateFrom=__DateFrom__//crlf////tab////tab////tab////amp//DateTo=__DateTo__//crlf////tab////tab////tab////amp//ItemID=__ItemID__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//__servertimerresults__//crlf//^
ID=703631|X=183|Y=33|W=818|H=683|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=924032|AttachLeft=|AlignLeft=924032|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__ __DateFrom__ __DateTo__ __ItemID__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\3677\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Date\\quot\\\\comma\\\\quot\\__Date__\\quot\\\\comma\\\\quot\\06-29-2015\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Inspect Legitimate Usage - Day//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\)) and (defined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//<h1>Inspect Legitimate Usage For Day: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=697568//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//Date=__Date__//crlf////tab////tab////tab////amp//ItemID=__ItemID__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=291551|X=183|Y=33|W=811|H=613|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=924032|AttachLeft=|AlignLeft=924032|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__ __DateFrom__ __DateTo__ __ItemID__ __Qty__ __QtyOnHand__ __Prefix__ __Unit__//crlf////tab//{@now()}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- CHANGE FALSE TO TRUE IN THIS CONDITIONAL TO DEBUG -->//crlf//<_conditional expression; expression:(false) and (\\quot\\__d__\\quot\\=\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\) and (\\quot\\__w__\\quot\\=\\quot\\Notification Container\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_Store_Name\\comma\\getToken(\\quot\\Aspect_BackOffice_Test_Store_Name\\quot\\)))>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\3665\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Date\\quot\\\\comma\\\\quot\\__Date__\\quot\\\\comma\\\\quot\\06-28-2015\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Qty\\quot\\\\comma\\\\quot\\__Qty__\\quot\\\\comma\\\\quot\\172\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Prefix\\quot\\\\comma\\\\quot\\__Prefix__\\quot\\\\comma\\\\quot\\1\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Unit\\quot\\\\comma\\\\quot\\__Unit__\\quot\\\\comma\\\\quot\\17\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Inspect Beginning Price//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__StoreID__\\quot\\)) or (\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab//Error: Missing StoreID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__ItemID__\\quot\\))>//crlf////tab//Error: Missing ItemID//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Qty__\\quot\\))>//crlf////tab//Error: Missing Qty//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__QtyOnHand__\\quot\\))>//crlf////tab//Error: Missing QtyOnHand//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Prefix__\\quot\\))>//crlf////tab//Error: Missing Prefix//crlf//</conditional>//crlf//<conditional expression:(undefined(\\quot\\__Unit__\\quot\\))>//crlf////tab//Error: Missing Unit//crlf//</conditional>//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)) and (defined(\\quot\\__Date__\\quot\\))and (defined(\\quot\\__ItemID__\\quot\\)) and (defined(\\quot\\__Qty__\\quot\\))  and (defined(\\quot\\__Unit__\\quot\\))  and (defined(\\quot\\__Prefix__\\quot\\)) >//crlf////tab//<h1>Inspect Waste Price: __ItemID__</h1>//crlf////tab//<div style=\\quot\\width:auto;height:auto;min-width:600px;min-height:250px;overflow:auto\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//crlf////tab////tab////tab////amp//Source=<_include type:expression; expression:if(defined(\\quot\\__CustomerID__\\quot\\)\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////tab////amp//ContainerItemID=872905//crlf////tab////tab////tab////amp//StoreID=__StoreID__//crlf////tab////tab////tab////amp//Date=__Date__//crlf////tab////tab////tab////amp//ItemID=__ItemID__//crlf////tab////tab////tab////amp//Qty=__Qty__//crlf////tab////tab////tab////amp//QtyOnHand=__QtyOnHand__//crlf////tab////tab////tab////amp//Prefix=__Prefix__//crlf////tab////tab////tab////amp//Unit=__Unit__\\quot\\>//crlf////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=925985|X=183|Y=33|W=890|H=370|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=924032|AttachLeft=|AlignLeft=924032|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 delete all dependent inventory drivers for a given //crlf//store starting from a given date.  The dependent drivers will be created//crlf//again as necessary.  This is used for testing to force creation of all //crlf//dependent drivers from scratch.//crlf////crlf//Params://crlf////tab//StoreID - ID of store//crlf////tab//Date - Starting date (MM-dd-yyyy)//crlf//--------------------------------------------------------------------------]//crlf////crlf//<conditional expression:not(defined(\\quot\\__StoreID__\\quot\\))>//crlf////tab//Error: Missing StoreID<br>//crlf//</conditional>//crlf////crlf//<conditional expression:not(defined(\\quot\\__Date__\\quot\\))>//crlf////tab//Error: Missing Date<br>//crlf//</conditional>//crlf////crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\)) and (defined(\\quot\\__Date__\\quot\\))>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//dt=parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab//sStoreDir=addDirSlash(getStoreDir(\\quot\\__StoreID__\\quot\\))//crlf////crlf////tab////tab//appendToLog(\\quot\\Delete dependent drivers: __Date__ \\quot\\\\plus\\sStoreDir)//crlf////crlf////tab////tab////abort if store directory is invalid//crlf////tab////tab//if(len(trim(sStoreDir))<=1)//tab////tab////crlf////tab////tab////tab//return(\\quot\\Error: Invalid store directory for store with ID:__StoreDir__ Dir:__StoreDir__\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab//arFileName=\\quot\\usage\\comma\\usage_summary\\comma\\inventory_extensions_Part1\\comma\\inventory_summary\\comma\\inventorysummary\\comma\\invoicedetail_summary\\comma\\physical_count_batch_detail\\comma\\inventory_extensions\\quot\\//crlf////crlf////tab////tab//arToDelete=\\quot\\\\quot\\//crlf////tab////tab//if(fileExists(sStoreDir\\plus\\\\quot\\invoicedetail.$$$\\quot\\))//crlf////tab////tab////tab//arToDelete=addElement(arToDelete\\comma\\sStoreDir\\plus\\\\quot\\invoicedetail.$$$\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab//s=\\quot\\\\quot\\//crlf////tab////tab//while(dt<=now())//crlf////tab////tab////tab//sDate=formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////crlf////tab////tab////tab//c=getElementCount(arFilename)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=getElement(arFilename\\comma\\n)//crlf////tab////tab////tab////tab//sFilename=sStoreDir\\plus\\s\\plus\\\\quot\\.\\quot\\\\plus\\sDate\\plus\\\\quot\\*.*\\quot\\//crlf////tab////tab////tab////tab//arFileList=getMatchingFiles(sFilename\\comma\\false\\comma\\false)//crlf////tab////tab////tab////tab//cFile=getElementCount(arFileList\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//nFile=0//crlf////tab////tab////tab////tab//while(nFile<cFile)//crlf////tab////tab////tab////tab////tab//sFilename=getElement(arFileList\\comma\\nFile\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//arToDelete=addElement(arToDelete\\comma\\sFilename)//crlf////tab////tab////tab////tab////tab//nFile\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////crlf////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab//c=getElementCount(arToDelete)//crlf////crlf////tab////tab////return if no files to delete//crlf////tab////tab//if(c=0)//crlf////tab////tab////tab//return(\\quot\\No files found\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//sFilename=getElement(arToDelete\\comma\\n)//crlf////tab////tab////tab//if((startsWith(sFilename\\comma\\sStoreDir)) and (fileExists(sFilename)))//crlf////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//sResult=sResult\\plus\\\\quot\\Delete \\quot\\\\plus\\sFilename\\plus\\\\quot\\: Error: Unable to delete\\quot\\\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//sResult=sResult\\plus\\\\quot\\Delete \\quot\\\\plus\\sFilename\\plus\\\\quot\\: Ok\\quot\\\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sResult=sResult\\plus\\\\quot\\Delete \\quot\\\\plus\\sFilename\\plus\\\\quot\\: Invalid filename\\quot\\\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab//endwhile//crlf////tab////tab//return(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf//
</widget><widget name="Period Inventory Summary" group="Extensions" category="" description="Concatenates daily inventory summaries for a period to a single file" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Period Inventory Summary" modified="08-08-2020 21:32:22" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=03-08-2019 22:20:58:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=31|toolboxy=142|aspectfuncx=268|aspectfuncy=129|aspectfuncw=750|aspectfunch=810|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Period Inventory Summary.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=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\\'753247')\\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\\'144417')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=753247|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Period Inventory Summary.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Period Inventory Summary.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Period Inventory Summary\\comma\\updatePeriodInventorySummarySingleItem\\comma\\action_list\\comma\\Action=updatePeriodInventorySummarySingleItem\\comma\\private//crlf////tab//Period Inventory Summary\\comma\\updatePeriodInventorySummary\\comma\\action_list\\comma\\Action=updatePeriodInventorySummary\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updatePeriodInventorySummarySingleItem//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updatePeriodInventorySummarySingleItem\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates a Aspect_BackOffice_Period_Inventory_Summary_Inspect driver with records//crlf////tab////tab//for a single item.  Used to inspect an item over a long period of time which is//crlf////tab////tab//not practical by just concatenating the daily summaries since the resulting file//crlf////tab////tab//would contain records for all items.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//DateFrom - Starting date - MM-dd-yyyy//crlf////tab////tab//DateTo - Ending date - MM-dd-yyyy//crlf////tab////tab//ItemID - ID of inventory item to include//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\\updatePeriodInventorySummarySingleItem\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////Enable profiling//crlf////tab////tab////tab//profile(getToken(\\quot\\Aspect_BackOffice_Profile_Inventory_Agents\\quot\\))//crlf////crlf////tab////tab////tab////abort if store ID missing//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 missing//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 missing//crlf////tab////tab////tab//if(undefined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if item ID missing//crlf////tab////tab////tab//if(undefined(\\quot\\__ItemID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Item ID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////delete the current file if it exists.  Cannot use driverDeleteActiveRecords because//crlf////tab////tab////tab////there is no delete mask for a daily inventory summary//crlf////tab////tab////tab//sFilename=lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\inventorysummary___ItemID__.__DateFrom_____DateTo__.tmp\\quot\\//crlf////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab////tab//else//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the destination driver//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Period_Inventory_Summary_Inspect\\comma\\dDest\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~ItemID=__ItemID__~~pipe~~NoDepend=true\\quot\\)//crlf////tab////tab////tab//driverSetFilter(dDest\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab//arDate=getSetTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\)//crlf////tab////tab////tab//c=getElementCount(arDate)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Daily_Inventory_Summary\\comma\\dSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=\\quot\\\\plus\\getElement(arDate\\comma\\n))//crlf////tab////tab////tab////tab//driverSetFilter(dSrc\\comma\\\\quot\\Inventory_Item_ID=\\quot\\\\plus\\quote(\\quot\\__ItemID__\\quot\\))//crlf////tab////tab////tab////tab//cRecords=driverGetRecordCount(dSrc)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\updatePeriodInventorySummarySingleItem adding date: \\quot\\\\plus\\getElement(arDate\\comma\\n)\\plus\\\\quot\\ records=\\quot\\\\plus\\cRecords)//crlf////tab////tab////tab////tab//if(cRecords>0) //crlf////tab////tab////tab////tab////tab//s=driverMerge(true\\comma\\dDest\\comma\\dSrc\\comma\\\\quot\\Date~~pipe~~ID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab////tab//appendToLog(s)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//driverClose(dSrc)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\dDest records=\\quot\\\\plus\\driverGetRecordCount(dDest))//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(dDest)//crlf////tab////tab////tab//return(\\quot\\Ok: Merged \\quot\\\\plus\\n\\plus\\\\quot\\ days\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updatePeriodInventorySummary//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updatePeriodInventorySummary\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Concatenates daily inventory summaries for a period to a single file//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//DateFrom - Starting date - MM-dd-yyyy//crlf////tab////tab//DateTo - Ending date - MM-dd-yyyy//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updatePeriodInventorySummary\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////Enable profiling//crlf////tab////tab////tab//profile(getToken(\\quot\\Aspect_BackOffice_Profile_Inventory_Agents\\quot\\))//crlf////crlf////tab////tab////tab////abort if store ID missing//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 missing//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 missing//crlf////tab////tab////tab//if(undefined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the concatenated filename//crlf////tab////tab////tab//sDir=addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab//sFilename=sDir\\plus\\\\quot\\inventorysummary.__DateFrom_____DateTo__.bin\\quot\\//crlf////crlf////tab////tab////tab////delete the file if it exists//crlf////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////verify that daily summary is up to date for each day in the period//crlf////tab////tab////tab//if(true)//crlf////tab////tab////tab////tab//setDate=getSetTime(parseTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//c=getElementCount(setDate)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//sParams=\\quot\\StoreID=__StoreID__~~pipe~~Date=\\quot\\\\plus\\getElement(setDate\\comma\\n)//crlf////tab////tab////tab////tab////tab//if(dependencyStateChanged(Aspect_Back_Office_Daily_Inventory_Summary\\comma\\sParams))//crlf////tab////tab////tab////tab////tab////tab//updateDependentDriver(Aspect_Back_Office_Daily_Inventory_Summary\\comma\\sParams)//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////append daily inventory summaries for all days to the concatenated file//crlf////tab////tab////tab//setFilename=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\\\\comma\\\\quot\\\\quot\\\\comma\\sDir\\plus\\\\quot\\inventory_summary.$e$.bin\\quot\\)//crlf////tab////tab////tab//sCmd=\\quot\\if(fileExists($e$)\\comma\\fileCopy($e$\\comma\\\\quot\\\\plus\\quote(sFilename)\\plus\\\\quot\\\\comma\\true\\comma\\true)\\comma\\false)\\quot\\//crlf////tab////tab////tab//execSetCommand(setFilename\\comma\\sCmd)//crlf////crlf////tab////tab////tab//return(\\quot\\Ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=144417|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=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=395522|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=395522|X=183|Y=218|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_Period Inventory Summary\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Period Inventory Summary\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 07-21-2015 15:42:58//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\\KAV7tpXDgrrC34l3qOMpj1Sy_Period Inventory Summary\\comma\\AgentTerminate\\comma\\395522\\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;07212015//amp//nbsp;154258//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_Period//amp//nbsp;Inventory//amp//nbsp;Summary\\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-21-2015//amp//nbsp;15:42:58</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(2)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>07212015 154258</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\\chart395522\\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>Period Inventory Summary</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: 117px; left: 158px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart395522\\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="Prep Log" group="Prep List" category="" description="Updates the prep log driver for a day to ensure it contains all prepped items." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Prep Log" modified="08-15-2015 20:06:18" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=07-23-2015 11:07:32: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=176|toolboxy=194|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Prep Log.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'694045')\\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\\'525237')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=694045|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_KAV7tpXDgrrC34l3qOMpj1Sy_Prep Log.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=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_KAV7tpXDgrrC34l3qOMpj1Sy_Prep Log.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Prep Log\\comma\\updatePrepLog\\comma\\action_list\\comma\\Action=updatePrepLog\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updatePrepLog//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updatePrepLog\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates the prep log driver for a day to ensure it contains all items in the //crlf////tab////tab//prep list.//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 - Date (MM-dd-yyyy)//crlf////tab////tab//ItemID - Optional.  If specified\\comma\\ only the given item will be updated in the count list//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\\updatePrepLog\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Missing StoreID\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(undefined(\\quot\\__Date__\\quot\\))//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Missing Date\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the drivers//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Prep_List\\comma\\drvPrepList\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~ShowAllItems=true\\quot\\)//crlf////tab////tab////tab//if(defined(\\quot\\__ItemID__\\quot\\))//crlf////tab////tab////tab////tab//driverSetFilter(drvPrepList\\comma\\\\quot\\ItemID=\\quot\\\\plus\\quote(\\quot\\__ItemID__\\quot\\)\\comma\\true)//tab////crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//driverSetFilter(drvPrepList\\comma\\\\quot\\true\\quot\\\\comma\\true)//tab////crlf////tab////tab////tab//endif//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Prep_Log\\comma\\drvPrepLog\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~NoDepend\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvPrepLog\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////Note:  Need to merge using ID.  Cannot merge using ItemID and GroupID because an//crlf////tab////tab////tab////item might be assigned to a single group more than once.//crlf////tab////tab////tab////A problem will occur if a count list from one store is dropped into another.  This//crlf////tab////tab////tab////would affect existing counts but not new ones.  Existing counts could be filtered//crlf////tab////tab////tab////to show only items with counts to eliminate the extra records.//crlf////tab////tab////tab////Also can\\apos\\t merge by item/group/position because if the position is changed in the//crlf////tab////tab////tab////count list\\comma\\ it will cause extra records to be added.//crlf////tab////tab////tab//arKeyFields=\\quot\\ID~~pipe~~GroupID\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\Inventory_Item_ID~~pipe~~Size_Prefix~~pipe~~Size_Unit\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\Inventory_Item_ID=ItemID~~pipe~~Size_Prefix=Active_Size_Prefix~~pipe~~Size_Unit=Active_Size_Unit\\quot\\//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvPrepLog\\comma\\\\quot\\Quantity=0\\quot\\\\comma\\drvPrepList\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverClose(drvPrepList)//crlf////tab////tab////tab//driverClose(drvPrepLog)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//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=525237|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=797220|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|
^
ID=797220|X=183|Y=205|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentTabs|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=AgentScript|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Prep Log\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Prep Log\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 07-23-2015 11:13:00//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\\KAV7tpXDgrrC34l3qOMpj1Sy_Prep Log\\comma\\AgentTerminate\\comma\\797220\\comma\\2\\comma\\//crlf////tab////tab//scriptSetResult(2)//crlf////tab//\\quot\\>//crlf//</conditional>
^
ID=ScriptText|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;07232015//amp//nbsp;111300//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_Prep//amp//nbsp;Log\\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-23-2015//amp//nbsp;11:13:00</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(2)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>
^
ID=AgentDescription|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentStatus|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentChart|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>07232015 111300</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\\chart797220\\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>Prep Log</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: 96px; left: 218px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart797220\\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="Prep Log Batch Detail" group="Prep List" category="" description="Breaks down counts in the prep log into counts for the constituent inventory items" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Prep Log Batch Detail" modified="08-15-2015 20:06:46" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=07-23-2015 11:08: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=84|toolboxy=229|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Prep Log Batch Detail.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=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\\'733579')\\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\\'351596')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=733579|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_KAV7tpXDgrrC34l3qOMpj1Sy_Prep Log Batch Detail.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//
^
ID=action_list|X=300|Y=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=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_KAV7tpXDgrrC34l3qOMpj1Sy_Prep Log Batch Detail.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Prep Log Batch Detail\\comma\\updatePrepLogBatchDetail\\comma\\action_list\\comma\\Action=updatePrepLogBatchDetail\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updatePrepLogBatchDetail//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updatePrepLogBatchDetail\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Breaks down counts entered for batch inventory items into counts//crlf////tab////tab//for the constituent inventory items//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 - Date in MM-dd-yyyy format//crlf////tab////tab//ItemID - Optional.  ID of inventory item being updated//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\\updatePrepLogBatchDetail\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if store not specified//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 date not specified//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////open the prep log//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Prep_Log\\comma\\drvPrepLog\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab//driverSetSubtotal(drvPrepLog\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\Inventory_Item_ID\\quot\\)//crlf////tab////tab////tab//driverSetDetails(drvPrepLog\\comma\\false)//crlf////tab////tab////tab//driverSetFilter(drvPrepLog\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////if no ItemID is specified\\comma\\ delete the batch details for the day so they will all be//crlf////tab////tab////tab////calculated from scratch//crlf////tab////tab////tab//if(undefined(\\quot\\__ItemID__\\quot\\))//crlf////tab////tab////tab////tab//sFilename=lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\prep_log_batch_detail.__Date__.bin\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the prep log batch detail driver//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Prep_Log_Batch_Detail\\comma\\drvBatchDetail\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~NoDepend\\quot\\)//crlf////crlf////tab////tab////tab////if an ItemID is specified\\comma\\ delete records for the item.  The ItemID will be the top level//crlf////tab////tab////tab////item and records will exist for each ingredient used in the item//crlf////tab////tab////tab//if(defined(\\quot\\__ItemID__\\quot\\))//crlf////tab////tab////tab////tab//driverSetFilter(drvBatchDetail\\comma\\\\quot\\Top_Item_ID=\\quot\\\\plus\\quote(\\quot\\__ItemID__\\quot\\)\\comma\\true)//crlf////tab////tab////tab////tab//driverDeleteActiveRecords(drvBatchDetail)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab////if the file was successfully deleted\\comma\\ there shouldn\\apos\\t be any record.//crlf////tab////tab////tab////tab////This is a double-check//crlf////tab////tab////tab////tab//driverSetFilter(drvBatchDetail\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverDeleteActiveRecords(drvBatchDetail)//crlf////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////iterate through each record in the prep log//crlf////tab////tab////tab//c=driverGetRecordCount(drvPrepLog\\comma\\false)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sItemID=driverGetField(drvPrepLog\\comma\\\\quot\\Inventory_Item_ID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\n=\\quot\\\\plus\\n\\plus\\\\quot\\ ItemID=\\quot\\\\plus\\sItemID)//crlf////tab////tab////tab////tab//dStandard_Quantity=driverGetField(drvPrepLog\\comma\\\\quot\\Standard_Quantity\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(dStandard_Quantity<>0)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Calc batch detail ItemID=\\quot\\\\plus\\sItemID\\plus\\\\quot\\ Qty=\\quot\\\\plus\\dStandard_Quantity)//crlf////tab////tab////tab////tab////tab////dSizePrefix=driverGetField(drvPrepLog\\comma\\\\quot\\Standard_Size_Prefix\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////sSizeUnit=driverGetField(drvPrepLog\\comma\\\\quot\\Standard_Size_Unit\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//dSizePrefix=lookup(Aspect_BackOffice_Lookup_Inventory_Item_Count_Size1_Prefix\\comma\\sItemID\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab//sSizeUnit=lookup(Aspect_BackOffice_Lookup_Inventory_Item_Count_Size1_Unit\\comma\\sItemID\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\dSizePrefix=\\quot\\\\plus\\dSizePrefix)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\sSizeUnit=\\quot\\\\plus\\sSizeUnit)//crlf////tab////tab////tab////tab////tab//calcLegitimateUsage(sItemID\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\dStandard_Quantity\\comma\\dSizePrefix\\comma\\sSizeUnit\\comma\\drvBatchDetail)//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(drvBatchDetail)//tab////tab////tab////crlf////tab////tab////tab//driverClose(drvPrepLog)//crlf////tab////tab////tab//scriptSetResult(\\quot\\Ok: Calculated batch detail for \\quot\\\\plus\\c\\plus\\\\quot\\ prepped items\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//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=351596|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=618521|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|
^
ID=618521|X=183|Y=218|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentTabs|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=AgentScript|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Prep Log Batch Detail\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Prep Log Batch Detail\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 07-23-2015 11:13:16//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Prep Log Batch Detail\\comma\\AgentTerminate\\comma\\618521\\comma\\2\\comma\\//crlf////tab////tab//scriptSetResult(2)//crlf////tab//\\quot\\>//crlf//</conditional>
^
ID=ScriptText|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;07232015//amp//nbsp;111316//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_Prep//amp//nbsp;Log//amp//nbsp;Batch//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;07-23-2015//amp//nbsp;11:13:16</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(2)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>
^
ID=AgentDescription|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentStatus|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentChart|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>07232015 111316</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\\chart618521\\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>Prep Log Batch 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: 82px; left: 125px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart618521\\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="Prep List" group="Prep List" category="" description="Updates the prep list to ensure it contains a record for every item with the 'Include in prep log' flag set in the 'all items' group." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Prep List" modified="08-15-2015 20:05:53" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=07-23-2015 12:01:31: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=136|toolboxy=170|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Prep List.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'763470')\\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\\'149236')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=763470|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_KAV7tpXDgrrC34l3qOMpj1Sy_Prep List.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~~backslash~~WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Prep List.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Prep List\\comma\\updatePrepList\\comma\\action_list\\comma\\Action=updatePrepList\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updatePrepList//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updatePrepList\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates the prep list to ensure it contains a record for every item with //crlf////tab////tab//the \\quot\\Include in prep log\\quot\\ flag set in the \\quot\\all items\\quot\\ group.//tab////crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - ID of the store//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updatePrepList\\quot\\; commands:\\quot\\//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////open the drivers//crlf////tab////tab////tab//driverOpen(\\quot\\Aspect_Back_Office_Inventory_Item\\quot\\\\comma\\drvItem\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvItem\\comma\\\\quot\\Include_In_Prep_Log\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Prep_List\\comma\\drvPrepList\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~ShowAllItems=true~~pipe~~NoDepend\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvPrepList\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab//arKeyFields=\\quot\\ItemID~~pipe~~GroupID\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\ItemID~~pipe~~GroupID\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\ItemID=ID~~pipe~~GroupID=Count_List_All_Items_ID\\quot\\//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvPrepList\\comma\\\\quot\\true\\quot\\\\comma\\drvItem\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverClose(drvItem)//crlf////tab////tab////tab//driverClose(drvPrepList)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//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=149236|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=118788|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|
^
ID=118788|X=183|Y=205|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentTabs|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=AgentScript|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Prep List\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Prep List\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 07-23-2015 12:05:02//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\\KAV7tpXDgrrC34l3qOMpj1Sy_Prep List\\comma\\AgentTerminate\\comma\\118788\\comma\\2\\comma\\//crlf////tab////tab//scriptSetResult(2)//crlf////tab//\\quot\\>//crlf//</conditional>
^
ID=ScriptText|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;07232015//amp//nbsp;120502//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_Prep//amp//nbsp;List\\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-23-2015//amp//nbsp;12:05:02</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(2)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>
^
ID=AgentDescription|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentStatus|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentChart|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>07232015 120502</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\\chart118788\\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>Prep List</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: 92px; left: 168px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart118788\\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="Waste List" group="Waste Count" category="" description="Updates the waste list to include all items  flagged for inclusion in the waste list." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Waste List" modified="08-15-2015 20:08:45" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=07-24-2015 15:19:04: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=62|toolboxy=206|aspectfuncx=171|aspectfuncy=63|aspectfuncw=805|aspectfunch=811|aspectfuncLock=true|aspectfuncVisible=true|PublishFtpFilename=Waste List.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'685634')\\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\\'383824')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=685634|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_KAV7tpXDgrrC34l3qOMpj1Sy_Waste List.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=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_KAV7tpXDgrrC34l3qOMpj1Sy_Waste List.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Waste List\\comma\\updateWasteCountList\\comma\\action_list\\comma\\Action=updateWasteCountList\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateWasteList//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateWasteCountList\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates the waste list to ensure it contains a record for every item with //crlf////tab////tab//the \\quot\\Include in waste list\\quot\\ flag set in the \\quot\\all items\\quot\\ group.//tab////crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - ID of the store//crlf////tab////tab//ItemID - Optional ID of the inventory item to be updated//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\\updateWasteCountList\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\updateWasteCountList StoreID=__StoreID__ ItemID=__ItemID__\\quot\\)//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////open the drivers//crlf////tab////tab////tab//driverOpen(\\quot\\Aspect_Back_Office_Inventory_Item\\quot\\\\comma\\drvItem\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//if(defined(\\quot\\__ItemID__\\quot\\))//crlf////tab////tab////tab////tab//driverSetFilter(drvItem\\comma\\\\quot\\ID=\\quot\\\\plus\\quote(\\quot\\__ItemID__\\quot\\)\\comma\\true)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//driverSetFilter(drvItem\\comma\\\\quot\\Include_in_Waste_Count\\quot\\\\comma\\true)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Waste_Count_List\\comma\\drvWasteList\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~ShowAllItems=true~~pipe~~NoDepend\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvWasteList\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab//arKeyFields=\\quot\\ItemID~~pipe~~GroupID\\quot\\//crlf////tab////tab////tab//arFieldsToMerge=\\quot\\ItemID~~pipe~~GroupID\\quot\\//crlf////tab////tab////tab//arAliasFields=\\quot\\ItemID=ID~~pipe~~GroupID=Count_List_All_Items_ID\\quot\\//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvWasteList\\comma\\\\quot\\true\\quot\\\\comma\\drvItem\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverClose(drvItem)//crlf////tab////tab////tab//driverClose(drvWasteList)//crlf////tab////tab////tab//appendToLog(\\quot\\updateWasteCountList: \\quot\\\\plus\\s)//crlf////tab////tab////tab//return(s)//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=383824|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=748974|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|
^
ID=748974|X=183|Y=205|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentTabs|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=AgentScript|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Waste List\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Waste List\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 07-24-2015 15:20:59//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\\KAV7tpXDgrrC34l3qOMpj1Sy_Waste List\\comma\\AgentTerminate\\comma\\748974\\comma\\2\\comma\\//crlf////tab////tab//scriptSetResult(2)//crlf////tab//\\quot\\>//crlf//</conditional>
^
ID=ScriptText|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;07242015//amp//nbsp;152059//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_Waste//amp//nbsp;List\\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-24-2015//amp//nbsp;15:20:59</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(2)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>
^
ID=AgentDescription|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentStatus|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentChart|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>07242015 152059</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\\chart748974\\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>Waste List</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: 193px; left: 191px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart748974\\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="Waste Count Batch Detail Summary" group="Waste Count" category="" description="Concatenates daily waste count batch details for a period into a single file.  Used to accumulate totals for inventory extensions." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Waste Count Batch Detail Summary" modified="08-15-2015 20:08:24" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=07-29-2015 20:36:29:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=179|toolboxy=130|aspectfuncx=50|aspectfuncy=50|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=null|aspectfuncVisible=false|PublishFtpFilename=Waste Count Batch Detail Summary.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=code|X=1500|Y=0|W=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\\'844880')\\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\\'503961')\\quot\\>Notes</span></td>
//crlf////tab//</tr>
//crlf//</table>
^
ID=844880|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AspectScript|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=sensor_list|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>
//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}
//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Waste Count Batch Detail Summary.html\\quot\\)\\comma\\\\quot\\\\quot\\)}
//crlf//</state>
//crlf//
//crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>
//crlf//</conditional>
//crlf//
//crlf//
^
ID=action_list|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=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~~backslash~~WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Waste Count Batch Detail Summary.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Waste Count Batch Detail Summary\\comma\\updateWasteCountBatchDetailSummary\\comma\\action_list\\comma\\Action=updateWasteCountBatchDetailSummary\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateWasteCountBatchDetailSummary//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateWasteCountBatchDetailSummary\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Concatenates waste count batch details for a period to a single file//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//DateFrom - Starting date - MM-dd-yyyy//crlf////tab////tab//DateTo - Ending date - MM-dd-yyyy//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateWasteCountBatchDetailSummary\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if store ID missing//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 missing//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 missing//crlf////tab////tab////tab//if(undefined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the concatenated filename//crlf////tab////tab////tab//sDir=addDirSlash(lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab//sFilename=sDir\\plus\\\\quot\\waste_count_batch_summary.__DateFrom_____DateTo__.bin\\quot\\//crlf////crlf////tab////tab////tab////delete the file if it exists//crlf////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////append waste count batch details for all days to the concatenated file//crlf////tab////tab////tab//setFilename=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\\\\comma\\\\quot\\\\quot\\\\comma\\sDir\\plus\\\\quot\\waste_count_batch_detail.$e$.bin\\quot\\)//crlf////tab////tab////tab//sCmd=\\quot\\if(fileExists($e$)\\comma\\fileCopy($e$\\comma\\\\quot\\\\plus\\quote(sFilename)\\plus\\\\quot\\\\comma\\true\\comma\\true)\\comma\\false)\\quot\\//crlf////tab////tab////tab//execSetCommand(setFilename\\comma\\sCmd)//crlf////tab////tab////tab//return(\\quot\\Ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//
^
ID=debug_console|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=503961|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentStart|X=183|Y=44|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=526026|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|
^
ID=526026|X=183|Y=231|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentTabs|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>
//crlf////tab//<tr>
//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>
//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>
//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>
//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>
//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>
//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>
//crlf////tab//</tr>
//crlf//</table>
//crlf//
^
ID=AgentScript|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>
//crlf////tab//<!include type:script; name:\\quot\\agent_Waste Count Batch Detail Summary\\quot\\; commands:\\quot\\
//crlf//
//crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Waste Count Batch Detail Summary\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\
//crlf////tab////tab////Created 07-29-2015 20:58:22
//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\\KAV7tpXDgrrC34l3qOMpj1Sy_Waste Count Batch Detail Summary\\comma\\AgentTerminate\\comma\\526026\\comma\\2\\comma\\
//crlf////tab////tab//scriptSetResult(2)
//crlf////tab//\\quot\\>
//crlf//</conditional>
^
ID=ScriptText|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;07292015//amp//nbsp;205822//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_Waste//amp//nbsp;Count//amp//nbsp;Batch//amp//nbsp;Detail//amp//nbsp;Summary\\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-29-2015//amp//nbsp;20:58:22</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(2)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>
^
ID=AgentDescription|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentStatus|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentChart|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>07292015 205822</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\\chart526026\\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>Waste Count Batch Detail Summary</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: 146px; left: 126px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart526026\\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="Inventory Sizes" group="Inventory" category="Dependent Drivers" description="Contains a list of default sizes and an agent action to update the active size list with the defaults." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Inventory Sizes" modified="12-11-2018 21:34:24" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=03-09-2016 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=1 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(value(getToken(\\quote\\AspectCoreVersion\\quote\\))\\gt\\=7.539) and (fileSize(getToken(\\quote\\homedir\\quote\\)+\\quote\\Aspect_BackOffice\store_list.dta\\quote\\)\\gt\\0)" TaskConditional_Expression_Description="Only executes when the version is up to date, at least one store exists and data is not being imported from Aspect6." TaskState_Function="getFilespecState(getSetFor(getCollection(\\quote\\Aspect_BackOffice_Store_Name_By_Directory\\quote\\,\\quote\\true\\quote\\,\\quote\\\\quote\\,\\quote\\\\quote\\,\\quote\\,\\quote\\,\\quote\\keys\\quote\\),\\quote\\size.bin\\quote\\))" TaskState_Expression_Description="Executes whenever sizes are modified.  Ensures that default sizes exist in the size driver." TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=83|toolboxy=96|aspectfuncx=305|aspectfuncy=100|aspectfuncw=750|aspectfunch=810|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Inventory Sizes.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=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\\'787335')\\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\\'499235')\\quot\\>Default Sizes</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\\'873701')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=787335|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Sizes.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Inventory Sizes\\comma\\getDefaultSizes\\comma\\sensor_list\\comma\\Sensor=getDefaultSizes\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//getDefaultSizes//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getDefaultSizes\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//This is a list of default sizes.  The Aspect_Back_Office_Size driver uses//crlf////tab////tab//a dependency to merge these sizes whenever they are updated.  The format//crlf////tab////tab//matches the Aspect_Back_Office_Size structure: ID\\comma\\Used\\comma\\Name\\comma\\Type\\comma\\Factor.//crlf////crlf////tab////tab//A new size can be added by including it in the list below.  It will//crlf////tab////tab//automatically be merged into the size Aspect_Back_Office_Size driver.//tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//A table of default sizes that can be saved to a file and read using the//crlf////tab////tab//Aspect_BackOffice_Size_Defaults driver.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//1\\comma\\true\\comma\\Cup\\comma\\1\\comma\\8\\comma\\true//crlf////tab////tab//2\\comma\\true\\comma\\Fluid Ounce\\comma\\1\\comma\\1\\comma\\true//crlf////tab////tab//3\\comma\\true\\comma\\Gallon\\comma\\1\\comma\\128\\comma\\true//crlf////tab////tab//4\\comma\\true\\comma\\Keg\\comma\\1\\comma\\1984\\comma\\true//crlf////tab////tab//5\\comma\\true\\comma\\Litre\\comma\\1\\comma\\33.81402270184\\comma\\true//crlf////tab////tab//6\\comma\\true\\comma\\Pint\\comma\\1\\comma\\16\\comma\\true//crlf////tab////tab//7\\comma\\true\\comma\\Quart\\comma\\1\\comma\\32\\comma\\true//crlf////tab////tab//8\\comma\\true\\comma\\Tablespoon\\comma\\1\\comma\\0.5\\comma\\true//crlf////tab////tab//9\\comma\\true\\comma\\Teaspoon\\comma\\1\\comma\\0.1667\\comma\\true//crlf////tab////tab//10\\comma\\true\\comma\\Ounce\\comma\\2\\comma\\1\\comma\\true//crlf////tab////tab//11\\comma\\true\\comma\\Pound\\comma\\2\\comma\\16\\comma\\true//crlf////tab////tab//12\\comma\\true\\comma\\Bag\\comma\\4\\comma\\0\\comma\\true//crlf////tab////tab//13\\comma\\true\\comma\\Box\\comma\\4\\comma\\0\\comma\\true//crlf////tab////tab//14\\comma\\true\\comma\\Bottle\\comma\\4\\comma\\0\\comma\\true//crlf////tab////tab//15\\comma\\true\\comma\\Can\\comma\\4\\comma\\0\\comma\\true//crlf////tab////tab//16\\comma\\true\\comma\\Case\\comma\\4\\comma\\0\\comma\\true//crlf////tab////tab//17\\comma\\true\\comma\\Each\\comma\\3\\comma\\1\\comma\\true//crlf////tab////tab//18\\comma\\true\\comma\\Dozen\\comma\\3\\comma\\12\\comma\\true//crlf////tab////tab//19\\comma\\true\\comma\\Serving\\comma\\4\\comma\\1\\comma\\true//crlf////tab////tab//kg\\comma\\true\\comma\\Kilogram\\comma\\2\\comma\\35.27396194958\\comma\\true//crlf////tab////tab//gram\\comma\\true\\comma\\Gram\\comma\\2\\comma\\0.03527396194958\\comma\\true//crlf////tab////tab//Kg1_8\\comma\\true\\comma\\Keg 1/8 Bbl\\comma\\1\\comma\\496\\comma\\true//crlf////tab////tab//Kg5Gal\\comma\\true\\comma\\Keg 5 GaL\\comma\\1\\comma\\640\\comma\\true//crlf////tab////tab//Kg1_6\\comma\\true\\comma\\Keg 1/6 Bbl\\comma\\1\\comma\\660.48\\comma\\true//crlf////tab////tab//Kg1_4\\comma\\true\\comma\\Keg 1/4 Bbl\\comma\\1\\comma\\992\\comma\\true//crlf////tab////tab//Kg1_2\\comma\\true\\comma\\Keg 1/2 Bbl\\comma\\1\\comma\\1984\\comma\\true//crlf////tab////tab//Kg1_50\\comma\\true\\comma\\Keg 50Lt\\comma\\1\\comma\\1690.701135092\\comma\\true//crlf////tab////tab//Kg1_25\\comma\\true\\comma\\Keg 25Lt\\comma\\1\\comma\\845.3505675461\\comma\\true//crlf////tab//</conditional>//crlf//</conditional>//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_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Sizes.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Inventory Sizes\\comma\\mergeDefaultSizes\\comma\\action_list\\comma\\Action=mergeDefaultSizes\\comma\\private//crlf////tab//Inventory Sizes\\comma\\mergeDefaultSizesAllStores\\comma\\action_list\\comma\\Action=mergeDefaultSizesAllStores\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//mergeDefaultSizes//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\mergeDefaultSizes\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Merges default sizes into the active Aspect_Back_Office_Size driver for//crlf////tab////tab//the given store.  Default sizes are gotten using a sensor and written//crlf////tab////tab//to a file where they are read by the Aspect_BackOffice_Size_Defaults//crlf////tab////tab//and merged into the Aspect_Back_Office_Size driver driver.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - ID of store to be updated//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\\mergeDefaultSizes\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing store ID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab////need to determine why this action is called with no StoreID//crlf////tab////tab////tab////tab////Ok is returned to prevent the update being tried again//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the default sizes//crlf////tab////tab////tab//s=getSensorValue(\\quot\\getDefaultSizes\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//s=trim(replaceSubstring(s\\comma\\char(9)\\comma\\\\quot\\\\quot\\))//crlf////tab////tab////tab////crlf////tab////tab////tab////write the values to a file in the store directory//crlf////tab////tab////tab//sStoreDir=lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab//fileWriteContent(sStoreDir\\plus\\\\quot\\size_default.csv\\quot\\\\comma\\s\\comma\\false)//crlf////crlf////tab////tab////tab////open the drivers//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Size_Defaults\\comma\\drvDefault\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvDefault\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Size\\comma\\drvSize\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~NoDepend=true\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvSize\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvSize\\comma\\drvDefault\\comma\\\\quot\\ID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//appendToLog(\\quot\\mergeDefaultSizes: \\quot\\\\plus\\s)//crlf////crlf////tab////tab////tab//driverClose(drvSize)//crlf////tab////tab////tab//driverClose(drvDefault)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//mergeDefaultSizesAllStores//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\mergeDefaultSizesAllStores\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Calls the mergeDefaultSizes action for all stores to ensure that default //crlf////tab////tab//sizes are added to the store\\apos\\s size driver//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\mergeDefaultSizesAllStores\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////get collection of stores//crlf////tab////tab////tab//arStoreID=getCollection(\\quot\\Aspect_BackOffice_Store_Name_By_Directory\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\keys\\quot\\)//crlf////tab////tab////tab//cStore=getElementCount(arStoreID)//crlf////tab////tab////tab//nStore=0//crlf////tab////tab////tab//cUpdate=0//crlf////tab////tab////tab//while(nStore<cStore)//crlf////tab////tab////tab////tab//sStoreID=getElement(arStoreID\\comma\\nStore)//crlf////tab////tab////tab////tab//sDriverID=\\quot\\Aspect_BackOffice_Update_Sizes_State\\quot\\//crlf////tab////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\~~pipe~~StateFilespec=\\quot\\\\plus\\getStoreDir(sStoreID)\\plus\\\\quot\\size.bin\\quot\\//crlf////tab////tab////tab////tab//if(dependencyStateChanged(sDriverID\\comma\\sParams))//crlf////tab////tab////tab////tab////tab//execAgentAction(mergeDefaultSizes\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab////tab////tab//setDependencyStates(sDriverID\\comma\\sParams\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sParams)//crlf////tab////tab////tab////tab////tab//cUpdate\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nStore\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////crlf////tab////tab////tab//return(\\quot\\Ok: Updated \\quot\\\\plus\\cUpdate\\plus\\\\quot\\ of \\quot\\\\plus\\cStore\\plus\\\\quot\\ stores\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=873701|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=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|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=518867|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=518867|X=183|Y=205|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=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_Inventory Sizes\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Sizes\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 08-14-2015 09:38:46//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Sizes\\comma\\AgentTerminate\\comma\\518867\\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;08142015//amp//nbsp;093846//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_Inventory//amp//nbsp;Sizes\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;08-14-2015//amp//nbsp;09:38:46</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//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>08142015 093846</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\\chart518867\\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>Inventory Sizes</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: 120px; left: 124px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart518867\\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=499235|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="Inventory Documentation" group="Documentation" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Inventory Documentation" modified="01-29-2017 01:26:32" modifiedby="Thnikpad2" TaskEnabled=false IsAgent=false ContainsAgentSensors=true ContainsAgentActions=false TaskInitialStartTime=03-08-2016 00:01:07:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=68|toolboxy=382|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Inventory 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=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_VWaUGu88BMN0hDYWzZj57VpG_Sales Documentation.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Inventory Documentation\\comma\\getInventoryDriverList\\comma\\sensor_list\\comma\\Sensor=getInventoryDriverList\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//getInventoryDriverList//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getInventoryDriverList\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Returns a list of driver ID'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\\Aspect_Back_Office_Vendor//crlf////tab////tab//Setup\\comma\\Aspect_BackOffice_Size_Defaults//crlf////tab////tab//Setup\\comma\\Aspect_Back_Office_Size\\comma\\mergeDefaultSizes//crlf////tab////tab//Setup\\comma\\Aspect_Back_Office_Inventory_Item_Group//crlf////tab////tab//Setup\\comma\\Aspect_Back_Office_Count_Group//crlf////tab////tab//Setup\\comma\\Aspect_Back_Office_Prep_Group//crlf////tab////tab//Setup\\comma\\Aspect_Back_Office_Inventory_Item\\comma\\updateInventoryItems//crlf////tab////tab//Setup\\comma\\Aspect_Back_Office_Conversions//crlf////tab////tab//Setup\\comma\\Aspect_Back_Office_Menu_Item_Detail//crlf////tab////tab//Lists\\comma\\Aspect_Back_Office_Physical_Count_List\\comma\\updatePhysicalCountList//crlf////tab////tab//Lists\\comma\\Aspect_Back_Office_Waste_Count_List\\comma\\updateWasteCountList//crlf////tab////tab//Lists\\comma\\Aspect_Back_Office_Prep_List\\comma\\updatePrepList//crlf////tab////tab//Tasks\\comma\\Aspect_Back_Office_Physical_Count\\comma\\updatePhysicalCount//crlf////tab////tab//Tasks\\comma\\Aspect_Back_Office_Waste_Count\\comma\\updateWasteCount//crlf////tab////tab//Tasks\\comma\\Aspect_Back_Office_Prep_Log\\comma\\updatePrepLog//crlf////tab////tab//Tasks\\comma\\Aspect_Back_Office_Invoice//crlf////tab////tab//Tasks\\comma\\Aspect_Back_Office_Invoice_Detail//crlf////tab////tab//Daily\\comma\\Aspect_BackOffice_Physical_Count_Batch_Detail\\comma\\updatePhysicalCountBatchDetail//crlf////tab////tab//Daily\\comma\\Aspect_BackOffice_Waste_Count_Batch_Detail\\comma\\updateWasteCountBatchDetail//crlf////tab////tab//Daily\\comma\\Aspect_BackOffice_Waste_Count_Batch_Detail_Summary\\comma\\updateWasteCountBatchDetailSummary//crlf////tab////tab//Daily\\comma\\Aspect_Back_Office_Prep_Log_Batch_Detail\\comma\\updatePrepLogBatchDetail//crlf////tab////tab//Daily\\comma\\Aspect_Back_Office_Invoice_Detail_Concatenated//crlf////tab////tab//Daily\\comma\\Aspect_Back_Office_Invoice_Detail_Summary\\comma\\updateInvoiceDetailSummary//crlf////tab////tab//Legit\\comma\\Aspect_Back_Office_Legitimate_Usage\\comma\\updateLegitimateUsage//crlf////tab////tab//Legit\\comma\\Aspect_Back_Office_Legitimate_Usage_Temp_File//crlf////tab////tab//Legit\\comma\\Aspect_BackOffice_Legit_Usage_Summary\\comma\\updateLegitUsageSummary//crlf////tab////tab//Period\\comma\\Aspect_Back_Office_Daily_Inventory_Summary\\comma\\updateDailyInventorySummary//crlf////tab////tab//Period\\comma\\Aspect_BackOffice_Daily_Inventory_Summary_Perpetual\\comma\\updatePerpetual//crlf////tab////tab//Period\\comma\\Aspect_BackOffice_Period_Inventory_Summary\\comma\\updatePeriodInventorySummary//crlf////tab////tab//Period\\comma\\Aspect_BackOffice_Period_Inventory_Summary_Inspect\\comma\\updatePeriodInventorySummarySingleItem//crlf////tab////tab//Period\\comma\\Aspect_Back_Office_Inventory_Extensions\\comma\\updateInventoryExtensions//crlf////tab////tab//Period\\comma\\Aspect_Back_Office_Inventory_Extensions_Part1\\comma\\updateInventoryExtensions_Part1//crlf////tab//</conditional>//crlf//</conditional>//crlf//
^
ID=action_list|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_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//<option value=\\apos\\887231\\apos\\>Scratchpad</option>//crlf////tab//<option value=\\apos\\841765\\apos\\>Overview</option>//crlf////tab//<option value=\\apos\\50841\\apos\\>Activity Log for Inventory</option>//crlf////tab//<option value=\\apos\\250123\\apos\\>Packing Aspect6 Files</option>//crlf////tab//<option value=\\apos\\905408\\apos\\>Importing Data From Aspect6</option>//crlf////tab//<option value=\\apos\\424476\\apos\\>Placeholder6</option>//crlf////tab//<option value=\\apos\\894522\\apos\\>Placeholder7</option>//crlf////tab//<option value=\\apos\\584998\\apos\\>Placeholder8</option>//crlf////tab//<option value=\\apos\\172031\\apos\\>Placeholder9</option>//crlf////tab//<option value=\\apos\\355722\\apos\\>Placeholder10</option>//crlf//</select>//crlf//
^
ID=887231|X=183|Y=43|W=916|H=344|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=|
^
ID=841765|X=183|Y=43|W=1105|H=37|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 (defined(\\quot\\__getContent__\\quot\\))>//crlf////tab//<div style=\\quot\\width:100\\percent\\;max-width:1200px\\quot\\>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Importing data from Aspect6//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=Importing data from Aspect6\\quot\\;>//crlf////tab////tab////tab//<include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\; widget:\\quot\\Inventory Documentation\\quot\\; containerItemID:\\quot\\905408\\quot\\; params:\\quot\\\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Count\\comma\\ Waste and Prep Lists//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=Count\\comma\\ Waste and Prep Lists\\quot\\;>//crlf////tab////tab//<p>Count\\comma\\ waste and prep lists are used to determine the items that appear in the physical //crlf////tab////tab////tab//inventory count\\comma\\ waste count and prep log.  They also determine the order in which the //crlf////tab////tab////tab//items are displayed.</p>//crlf////crlf////tab////tab//<h1>Physical Count List</h1>//crlf////tab////tab//<p>There are two ways to add items to the list displayed when editing a count.  The first //crlf////tab////tab////tab//is to do nothing.  The list used to edit counts will contain all inventory items and //crlf////tab////tab////tab//any recipes that have the \\quot\\Include in count list\\quot\\ checkbox enabled.</p>//crlf////crlf////tab////tab//<p>The second way is to create one or more count groups and manually add items to each //crlf////tab////tab////tab//group by editing the Physicsl Count List.  Items can be added to more than one group //crlf////tab////tab////tab//and they can be added more than once to the same group.  The sort order can also be //crlf////tab////tab////tab//specified.  When the count is edited\\comma\\ all of the inventory items will be available\\comma\\ but //crlf////tab////tab////tab//the list may also be filtered to a specific count group.</p>//crlf////crlf////tab////tab//<h1>Waste Count List</h1>//crlf////tab////tab//<p>The waste count list work the same as the physical count list except that only items //crlf////tab////tab////tab//with the \\quot\\Include in Waste Count\\quot\\ option enabled are added to the list (instead of all //crlf////tab////tab////tab//items).  A user just needs to enable this setting for each inventory item they wish to //crlf////tab////tab////tab//include in the waste count.</p>//crlf////crlf////tab////tab//<p>A user may also edit the waste count list and add items manually.  These items are //crlf////tab////tab////tab//assigned to a count group and may be sorted in a specific order.</p>//crlf////crlf////tab////tab//<h1>Prep List</h1>//crlf////crlf////tab////tab//<p></p>//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////crlf////tab////tab//<conditional expression:false>//crlf////tab////tab//=================================================================//crlf////tab////tab//Driver Descriptions//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=Inventory 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=getInventoryDriverList\\amp\\getContent=true\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Drivers Resource//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=Inventory Drivers Resource\\quot\\;>//crlf////tab////tab////tab//<include //crlf////tab////tab////tab////tab//type:view; //crlf////tab////tab////tab////tab//viewid:\\quot\\8RV4iXbY\\quot\\; //crlf////tab////tab////tab////tab//Source:\\quot\\\\quot\\; //crlf////tab////tab////tab////tab//params:\\quot\\PackageID=Aspect_BackOffice\\amp\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//ResourceType=Drivers\\amp\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//Display=Inventory Drivers\\amp\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//getContent=true\\quot\\;> //crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=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=Inventory 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//<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=KAV7tpXDgrrC34l3qOMpj1Sy\\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//TableControls=false\\percent\\//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>
^
ID=905408|X=183|Y=43|W=1023|H=1878|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=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=<div style=\\quot\\width:100\\percent\\;max-width:800px\\quot\\>//crlf////tab//<h1>Importing Data From Aspect6</h1>//crlf////tab//<p>Select Back Office / Support - Aspect6 Drivers / Import Aspect6 Data to import //crlf////tab////tab//data from Aspect6.</p>//crlf////crlf////tab//<ul>//crlf////tab////tab//<li>Use the \\quot\\All Inventory Setup\\comma\\ Data and Sales Mix\\quot\\ option to import all inventory //crlf////tab////tab////tab//data.  The process may take 10 or more minutes to import 6 months of data.</li>//crlf////tab////tab//<li>There is no method for purging deleted records in Aspect7\\comma\\ so it may be best to //crlf////tab////tab////tab//pack the Aspect6 data before importing it into Aspect7.</li>//crlf////tab////tab//<li>When importing\\comma\\ the \\quot\\Import Deleted Records\\quot\\ option should be enabled so that the //crlf////tab////tab////tab//calculations in Aspect7 match those in Aspect6.</li>//crlf////tab////tab//<li>Data can be imported from Aspect6 multiple times\\comma\\ even if new items or recipes //crlf////tab////tab////tab//are added to the Aspect7 data.  Changes made to Aspect6 data will be overwritten if //crlf////tab////tab////tab//data is imported again.</li>//crlf////tab////tab//<li>When importing\\comma\\ the import option can also be set to \\quot\\Inventory Counts\\quot\\ or \\quot\\Invoices\\quot\\ //crlf////tab////tab////tab//to limit the scope of the import.  For example\\comma\\ if data has been imported to Aspect7\\comma\\ //crlf////tab////tab////tab//counts and invoices could be imported the following week.</li>//crlf////tab//</ul>//crlf////crlf////tab//<h1>Comparing Aspect6 and Aspect7 data</h1>//crlf////crlf////tab//<p>Inventory calculations in Aspect7 can be compared to Aspect6 after //crlf////tab//importing.  The comparison uses an inventory extensions xml export from Aspect6.</p>//crlf////crlf////tab//<p>To compare data in Aspect6 and Aspect7\\comma\\ follow these steps:</p>//crlf////crlf////tab//<p><b>Note: Aspect7 does not use the calculated perpetual as a physical count when a count //crlf////tab////tab//is not entered.  Beginning and ending counts for the period to be compared should be //crlf////tab////tab//initialized in Aspect6 before the following steps.</b></p>//crlf////crlf////tab//<ol>//crlf////tab////tab//<li>Select Back Office / Support - Aspect6 Drivers / Export XML Report and export an //crlf////tab////tab////tab//Inventory Extensions xml report.  The report will be exported to 5.csv in the //crlf////tab////tab////tab//Aspect6 store directory</li>//crlf////tab////tab//<li>Select Compare Inventory-Aspect6 Vs Aspect7 to compare the data.  Enter the full //crlf////tab////tab////tab//filename of the xml export (e.g. c:\aspect\store1\5.csv).  A table will be displayed //crlf////tab////tab////tab//showing any differences between the two.  There is a display to compare actual usages and //crlf////tab////tab////tab//another to compare legitimate usages.</li>//crlf////tab//</ol>//crlf////crlf////tab//<p>A xml export containing cost of sales data can be created but it is not required for //crlf////tab////tab//the comparison.  Both xml exports can be viewed by selecting XML Export - Inventory Extensions //crlf////tab////tab//and XML Export - Cost Of Sales.</p>//crlf////crlf////tab//<p>There should be no differences in legitimate usages.  There will be some small variances //crlf////tab////tab//in actual cost due to different methods used to calculate prices.  Aspect7 should be more //crlf////tab////tab//accurate.</p>//crlf////tab////crlf////tab//<p>Some variances will appear in Aspect7 if a size prefix is missing.  For example\\comma\\ Aspect6 //crlf////tab////tab//may sometimes allow a size to be selected and assume that the prefix is 1.  Aspect7 does //crlf////tab////tab//not assume that a blank prefix is 1 and will generate an error and abort the calculation.</p>//crlf////crlf//</div>//crlf////crlf//
^
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=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=<h1>Packing Aspect6 Inventory Files for a Company</h1>//crlf////crlf//<div style=\\quot\\width:100\\percent\\;max-width:650px\\quot\\>//crlf//<ol>//crlf////tab//<li>//crlf////tab////tab//Before executing these steps\\comma\\ the number of records in the ingr and recipe files must be //crlf////tab////tab//identical at every store.  This can be confirmed using the \\quot\\Pack Inventory Files - Company\\quot\\//crlf////tab////tab//view.  If menu maintenance has not been enabled already\\comma\\ it must be enabled and all of the //crlf////tab////tab//stores must be updated.  Do <b><u>not</u></b> enable the \\quot\\keep deleted items\\quot\\ checkbox in the //crlf////tab////tab//inventory items section of the menu maintenance.//crlf////tab//</li>//crlf////tab//<li>//crlf////tab////tab//After confirming that the number of records is identical at every store\\comma\\ disable the //crlf////tab////tab//menu maintenance so files are not sent from the master to the stores.//crlf////tab//</li>//crlf////tab//<li>//crlf////tab////tab//Open the \\quot\\Pack Inventory Files - Company\\quot\\ view and execute \\quot\\Set Records To Pack\\quot\\ for //crlf////tab////tab//each store in the list  This sets which items will be kept and which will be removed.//crlf////tab//</li>//crlf////tab//<li>//crlf////tab////tab//Open the \\quot\\Get Active Records For Company\\quot\\ view.  This gets a list of active records from //crlf////tab////tab//every store and consolidates them into a single master file of active records.<br>//crlf////tab////tab//<br>//crlf////tab////tab////crlf////tab////tab//The files will be located on your computer in the c:\aspect7\temporary_files\[companyid] //crlf////tab////tab//directory.  There will be one file for every store in the company.  Confirm this.  Open the view //crlf////tab////tab//again to get any missing files.<br>//crlf////tab////tab//<br>//crlf////tab////tab////crlf////tab////tab//The master list of active records are contained in active_items.csv and //crlf////tab////tab//active_recipes.csv.<br>//crlf////tab//</li>//crlf////tab//<li>//crlf////tab////tab//Use the File Transfer option in the control panel to send the active_items.csv and //crlf////tab////tab//active_recipes.csv to every store.  The files must be sent to c:\aspect7\aspect6\.  //crlf////tab////tab//It's easiest to copy the two files to a directory where they can both be sent at the //crlf////tab////tab//same time.  For example\\comma\\ copy them to c:\aspect7\temporary_files\[companyid]\send.  //crlf////tab////tab//In this case\\comma\\ the source Local Filespec and Remote Filespec in the file transfer //crlf////tab////tab//will be:<br>//crlf////tab////tab//<br>//crlf////tab////tab//<code>C:\Aspect7\temporary_files\packfiles\[companyid]\send\*.csv</code><br>//crlf////tab////tab//<br>//crlf////tab////tab//<span>c:\aspect7\aspect6</span><br>//crlf////tab////tab//<br>//crlf////tab//</li>//crlf////tab//<li>//crlf////tab////tab//Using the \\quot\\Pack Inventory Files - Company\\quot\\ view\\comma\\ execute the \\quot\\Set Records To Pack\\quot\\ //crlf////tab////tab//command again for every store.  This time\\comma\\ the records in the master files will also //crlf////tab////tab//be included in the records to be kept at each store.  This is done so that a store will //crlf////tab////tab//not remove an item that is in use at another store.  The number of records to pack and //crlf////tab////tab//the number to keep MUST be identical at every store.  Being off by one or two items //crlf////tab////tab//is not acceptable.  They must match exactly.<br>//crlf////tab////tab//<br>//crlf////tab////tab//If the number of records to pack is not the same at every store\\comma\\ make sure the //crlf////tab////tab//\\quot\\Keep deleted items\\quot\\ checkbox is disabled in the menu maintenance.  If it was not disabled\\comma\\ //crlf////tab////tab//the menu maintenance routine will need to be re-enabled and files will need to be sent //crlf////tab////tab//to the stores and this process will need to be started again from the beginning.//crlf////tab//</li>//crlf////tab//<li>//crlf////tab////tab//After confirming that all stores are identical\\comma\\ run the pack process at each store.  //crlf////tab////tab//Confirm that the new file sizes are identical at every store.  It's probably best to //crlf////tab////tab//start with two stores and confirm that the files match.  If not\\comma\\ they will need to be //crlf////tab////tab//restored from a backup and the problem investigated.  If they do match\\comma\\ continue with //crlf////tab////tab//the next store.  After 3 or 4 stores have worked properly\\comma\\ the rest can be packed //crlf////tab////tab//all at once.//crlf////tab//</li>//crlf////tab//<li>//crlf////tab////tab//After confirming that all stores are identical after packing\\comma\\ re-enable the menu //crlf////tab////tab//maintenance.//crlf////tab//</li>//crlf//</ol>//crlf//</div>//crlf//
^
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=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=text|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=1041|H=697|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=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=<constant name:\\quot\\__agentSensorsAndActions__\\quot\\;//crlf////tab//value: \\quot\\updateDailyInventorySummary~~pipe~~updatePerpetual~~pipe~~importAreas~~pipe~~ImportAspect6Data~~pipe~~importConversions~~pipe~~importInventoryCount~~pipe~~importInventoryItemGroups~~pipe~~importInventoryItems~~pipe~~importInvoiceDetails~~pipe~~importInvoices~~pipe~~importMenuItemDetails~~pipe~~importMenuItemGroups~~pipe~~importMenuItems~~pipe~~importSizes~~pipe~~importVendors~~pipe~~updateInventoryExtensions~~pipe~~updateInventoryExtensions_Part1~~pipe~~ItemNameChanged~~pipe~~updateInventoryItems~~pipe~~getDefaultSize~~pipe~~mergeDefaultSizes~~pipe~~getDefaultSizes~~pipe~~updateInvoiceDetailSummary~~pipe~~updateLegitUsageSummary~~pipe~~updateLegitimateUsage~~pipe~~updatePeriodInventorySummary~~pipe~~updatePeriodInventorySummarySingleItem~~pipe~~updatePhysicalCount~~pipe~~updatePhysicalCountBatchDetail~~pipe~~updatePhysicalCountList~~pipe~~updatePrepList~~pipe~~updatePrepLog~~pipe~~updatePrepLogBatchDetail~~pipe~~updateWasteCount~~pipe~~updateWasteCountBatchDetail~~pipe~~updateWasteCountBatchDetailSummary~~pipe~~updateWasteCountList\\quot\\;//crlf//>//crlf////crlf//<conditional expression:(false) or (defined(\\quot\\__getContent__\\quot\\))>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\FilterTo\\quot\\\\comma\\\\quot\\__FilterTo__\\quot\\\\comma\\\\quot\\__agentSensorsAndActions__\\quot\\)>//crlf////crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ACTIVITY_LOG_BY_FILENAME\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\Date={@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ACTIVITY_LOG_BY_FILENAME_INVENTORY\\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\\if(isSubset(ActivityLogLogType\\comma\\'26\\comma\\27')\\comma\\if(gte(pos(Agent_Method_Name\\comma\\'__FilterTo__')\\comma\\0\\comma\\'N')\\comma\\true\\comma\\false)\\comma\\false)\\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\\ACTIVITY_LOG_BY_FILENAMEDialog\\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//
^
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="Aspect6 Drivers" group="" category="Aspect6 Utilities" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Aspect6 Drivers" modified="03-30-2017 18:00:16" modifiedby="Thnikpad2" TaskEnabled=false IsAgent=false ContainsAgentSensors=true ContainsAgentActions=false TaskInitialStartTime=04-06-2016 10:48: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=64|toolboxy=214|aspectfuncx=190|aspectfuncy=100|aspectfuncw=809|aspectfunch=801|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Aspect6 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=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\\'839784')\\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\\'372872')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=839784|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Aspect6 Drivers.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Aspect6 Drivers\\comma\\openAspect6XMLInventoryExtensions\\comma\\sensor_list\\comma\\Sensor=openAspect6XMLInventoryExtensions\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//openAspect6XMLInventoryExtensions//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\openAspect6XMLInventoryExtensions\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//This item is used to open an inventory extensions xml export using the//crlf////tab////tab//Aspect6_XML_Export_Inventory_Extensions driver.  The driver could open the//crlf////tab////tab//file directly\\comma\\ but this script is used to strip out any quotes embedded in//crlf////tab////tab//the item name because these cause a problem reading the comma-delimited file.//crlf////crlf////tab////tab//A new file is created in the temporary files folder and records are copied//crlf////tab////tab//to that file after stripping any embedded double quotes and this file is //crlf////tab////tab//returned to the driver//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Filename - Filename of the xml export file//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//System driver name//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\openAspect6XMLInventoryExtensions\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////get the temporary filename//crlf////tab////tab////tab//sTempFilename=getToken(\\quot\\temporary_files\\quot\\)+fileName(\\quot\\__filename__\\quot\\)+fileExt(\\quot\\__Filename__\\quot\\)+\\quot\\.$$$\\quot\\//crlf////crlf////tab////tab////tab////see if the file needs updating//crlf////tab////tab////tab//bUpdate=true//crlf////tab////tab////tab//if((fileExists(sTempFilename)) and (fileSize(sTempFilename)>0)))//crlf////tab////tab////tab////tab//t1=fileModified(\\quot\\__Filename__\\quot\\)//crlf////tab////tab////tab////tab//t2=fileModified(sTempFilename)//crlf////tab////tab////tab////tab//if(t2>=t1)//crlf////tab////tab////tab////tab////tab//bUpdate=false//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Update xml content=\\quot\\+bUpdate)//crlf////crlf////tab////tab////tab////create the file//crlf////tab////tab////tab//if(bUpdate)//crlf////tab////tab////tab////tab////create salt used for replacement of quotes//crlf////tab////tab////tab////tab//sConstant1=getSalt(4)//crlf////tab////tab////tab////tab//sConstant2=getSalt(4)//crlf////tab////tab////tab////tab//sConstant3=getSalt(4)//crlf////tab////tab////tab////tab//sConstant4=getSalt(4)//crlf////crlf////tab////tab////tab////tab//s=fileGetContent(\\quot\\__Filename__\\quot\\)//crlf////crlf////tab////tab////tab////tab////replace quote-comma-quote with constant1//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)+\\quot\\\\comma\\\\quot\\+char(0x22)\\comma\\sConstant1)//crlf////crlf////tab////tab////tab////tab////replace comma-quote with constant2//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\\\comma\\\\quot\\+char(0x22)\\comma\\sConstant2)//crlf////crlf////tab////tab////tab////tab////replace quote-comma with constant3//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)+\\quot\\\\comma\\\\quot\\\\comma\\sConstant3)//crlf////crlf////tab////tab////tab////tab////replace quote-[cr] with constant4//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)+char(13)\\comma\\sConstant3)//crlf////crlf////tab////tab////tab////tab////remove any remaining characters//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab////restore the valid quotes//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\sConstant1\\comma\\char(0x22)+\\quot\\\\comma\\\\quot\\+char(0x22))//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\sConstant2\\comma\\\\quot\\\\comma\\\\quot\\+char(0x22))//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\sConstant3\\comma\\char(0x22)+\\quot\\\\comma\\\\quot\\)//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\sConstant4\\comma\\char(0x22)+char(13))//crlf////crlf////tab////tab////tab////tab////write the output//crlf////tab////tab////tab////tab//fileWriteContent(sTempFilename\\comma\\s)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the driver//crlf////tab////tab////tab//sDriverName=getSalt(4)//crlf////tab////tab////tab//driverOpen(Aspect6_XML_Export_Inventory_Extensions\\comma\\sDriverName\\comma\\READ\\comma\\true\\comma\\\\quot\\ProcessedFilename=\\quot\\+sTempFilename+\\quot\\~~pipe~~keyexpression=DiskIndex\\quot\\)//crlf////tab////tab////tab//return(sDriverName)//crlf////tab////tab//\\quot\\>//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_KAV7tpXDgrrC34l3qOMpj1Sy_Aspect6 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=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=372872|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=895185|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<select onChange=\\quot\\showTab(this)\\quot\\>//crlf////tab//<option value=\\apos\\103953\\apos\\>Open Driver</option>//crlf////tab//<option value=\\apos\\168464\\apos\\>Param Definitions</option>//crlf////tab//<option value=\\apos\\696037\\apos\\>Inventory Groups</option>//crlf////tab//<option value=\\apos\\153338\\apos\\>ingr.dta</option>//crlf////tab//<option value=\\apos\\695917\\apos\\>Recpgrp.dta</option>//crlf////tab//<option value=\\apos\\345697\\apos\\>recipe.dta</option>//crlf////tab//<option value=\\apos\\341123\\apos\\>recpingr.dta</option>//crlf////tab//<option value=\\apos\\250555\\apos\\>nvsize.dta</option>//crlf////tab//<option value=\\apos\\599524\\apos\\>open XML export - Inventory Extensions</option>//crlf////tab//<option value=\\apos\\711716\\apos\\>Inventory Count (mm-dd-yy.cnt)</option>//crlf////tab//<option value=\\apos\\787234\\apos\\>Invoice Headers (acctpybl.dta)</option>//crlf////tab//<option value=\\apos\\893123\\apos\\>Invoice Details (mm-dd-yy.pay)</option>//crlf//</select>//crlf//^
ID=153338|X=183|Y=40|W=720|H=667|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=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=895185|AttachLeft=|AlignLeft=895185|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//__StoreDir__//crlf////tab//{@gfs(addDirSlash(\\quot\\__StoreDir__\\quot\\)+\\quot\\ingr.dta\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:defined(\\quot\\__getContent__\\quot\\)>//crlf////tab//<conditional expression:not(defined(\\quot\\__StoreDir__\\quot\\))>//crlf////tab////tab//Error: Missing StoreDir//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:defined(\\quot\\__StoreDir__\\quot\\)>//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT6_DRIVER_INVENTORY_ITEMS_BY_FILENAME\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\Filename=__StoreDir__ingr.dta~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT6_DRIVER_INVENTORY_ITEMS_BY_FILENAME\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab////tab//_height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\ASPECT6_DRIVER_INVENTORY_ITEMS_BY_FILENAMEDialog\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=103953|X=183|Y=40|W=720|H=667|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=895185|AttachLeft=|AlignLeft=895185|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:defined(\\quot\\__getContent__\\quot\\)>//crlf////tab//DriverSelection=__DriverSelection__<br>//crlf////tab//<conditional expression:false>//crlf////tab//======================================================================//crlf////tab//Open driver//crlf////tab//======================================================================//crlf////tab//</conditional>//crlf////tab//<!include //crlf////tab////tab//type:widget; //crlf////tab////tab//server:{AspectHashID}; //crlf////tab////tab//secure:true; //crlf////tab////tab//documentID:\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\; //crlf////tab////tab//widget:\\quot\\Aspect6 Drivers\\quot\\; //crlf////tab////tab//containerItemID:\\quot\\__DriverSelection__\\quot\\; //crlf////tab////tab//params:\\quot\\getContent=true//amp//StoreDir=__StoreDir__//amp//Date=__Date__\\quot\\;//crlf////tab//>//crlf////crlf//</conditional>^
ID=168464|X=183|Y=40|W=720|H=667|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=895185|AttachLeft=|AlignLeft=895185|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getDriverSelection\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value.length==0) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<select name=\\quot\\__ParamName__\\quot\\ ID=\\quot\\__ParamID__\\quot\\ onChange=\\quot\\viewParamModified(\\apos\\__ParamID__\\apos\\)\\quot\\>//crlf////tab////tab//<option value=\\quot\\696037\\quot\\>Inventory Groups (ingrgrp.dta)</option>//crlf////tab////tab//<option value=\\quot\\153338\\quot\\>Inventory Items (ingr.dta)</option>//crlf////tab////tab//<option value=\\quot\\695917\\quot\\>Recipe Groups (recpgrp.dta)</option>//crlf////tab////tab//<option value=\\quot\\345697\\quot\\>Recipes (recipe.dta)</option>//crlf////tab////tab//<option value=\\quot\\341123\\quot\\>Recipe Ingredients (recpingr.dta)</option>//crlf////tab////tab//<option value=\\quot\\250555\\quot\\>Sizes (nvsize.dta)</option>//crlf////tab////tab//<option value=\\apos\\711716\\apos\\>Inventory Count (mm-dd-yy.cnt)</option>//crlf////tab////tab//<option value=\\apos\\787234\\apos\\>Invoice Headers (acctpybl.dta)</option>//crlf////tab////tab//<option value=\\apos\\893123\\apos\\>Invoice Details (mm-dd-yy.dta)</option>//crlf////tab//</select>//crlf//</conditional>//crlf////crlf//^
ID=345697|X=183|Y=40|W=720|H=667|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=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=895185|AttachLeft=|AlignLeft=895185|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//__StoreDir__//crlf////tab//{@gfs(addDirSlash(\\quot\\__StoreDir__\\quot\\)+\\quot\\recipe.dta\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:defined(\\quot\\__getContent__\\quot\\)>//crlf////tab//<conditional expression:not(defined(\\quot\\__StoreDir__\\quot\\))>//crlf////tab////tab//Error: Missing StoreDir//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:defined(\\quot\\__StoreDir__\\quot\\)>//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT6_DRIVER_RECIPES_BY_FILENAME\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\Filename=__StoreDir__recipe.dta~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT6_DRIVER_RECIPES_BY_FILENAME\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab////tab//_height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\ASPECT6_DRIVER_RECIPES_BY_FILENAMEDialog\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=341123|X=183|Y=40|W=720|H=667|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=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=895185|AttachLeft=|AlignLeft=895185|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//__StoreDir__//crlf////tab//{@gfs(addDirSlash(\\quot\\__StoreDir__\\quot\\)+\\quot\\recpingr.dta\\quot\\)}//crlf////tab//1.02//crlf//</state>//crlf////crlf//<conditional expression:defined(\\quot\\__getContent__\\quot\\)>//crlf////tab//<conditional expression:not(defined(\\quot\\__StoreDir__\\quot\\))>//crlf////tab////tab//Error: Missing StoreDir//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:defined(\\quot\\__StoreDir__\\quot\\)>//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT6_DRIVER_RECIPE_INGREDIENTS_BY_FILENAME\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\Filename=__StoreDir__recpingr.dta~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT6_DRIVER_RECIPE_INGREDIENTS_BY_FILENAME\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab////tab//_height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\ASPECT6_DRIVER_RECIPE_INGREDIENTS_BY_FILENAMEDialog\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=250555|X=183|Y=40|W=720|H=667|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=895185|AttachLeft=|AlignLeft=895185|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//__StoreDir__//crlf////tab//{@gfs(addDirSlash(\\quot\\__StoreDir__\\quot\\)+\\quot\\nvsize.dta\\quot\\)}//crlf////tab//1.01//crlf//</state>//crlf////crlf//<conditional expression:defined(\\quot\\__getContent__\\quot\\)>//crlf////tab//<conditional expression:not(defined(\\quot\\__StoreDir__\\quot\\))>//crlf////tab////tab//Error: Missing StoreDir//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:defined(\\quot\\__StoreDir__\\quot\\)>//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT6_DRIVER_INVENTORY_SIZES\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\Filename=__StoreDir__nvsize.dta~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT6_DRIVER_INVENTORY_SIZES\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab////tab//_height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\ASPECT6_DRIVER_INVENTORY_SIZESDialog\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=599524|X=183|Y=40|W=720|H=667|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=895185|AttachLeft=|AlignLeft=895185|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 inventory extensions xml export using the//crlf//Aspect6_XML_Export_Inventory_Extensions driver.  The driver could open the//crlf//file directly\\comma\\ but this script is used to strip out any quotes embedded in//crlf//the item name because these cause a problem reading the comma-delimited file.//crlf////crlf//A new file is created in the temporary files folder and records are copied//crlf//to that file after stripping any embedded double quotes and this file is //crlf//returned to the driver//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression; expression:defined(\\quot\\__filename__\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\openAspect6XMLInventoryExtensions\\quot\\; commands:\\quot\\//crlf////tab////tab////get the temporary filename//crlf////tab////tab//sTempFilename=getToken(\\quot\\temporary_files\\quot\\)+fileName(\\quot\\__filename__\\quot\\)+fileExt(\\quot\\__Filename__\\quot\\)+\\quot\\.$$$\\quot\\//crlf////crlf////tab////tab////see if the file needs updating//crlf////tab////tab//bUpdate=true//crlf////tab////tab//if((fileExists(sTempFilename)) and (fileSize(sTempFilename)>0)))//crlf////tab////tab////tab//t1=fileModified(\\quot\\__Filename__\\quot\\)//crlf////tab////tab////tab//t2=fileModified(sTempFilename)//crlf////tab////tab////tab//if(t2>=t2)//crlf////tab////tab////tab////tab//bUpdate=false//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////create the file//crlf////tab////tab//if(bUpdate)//crlf////tab////tab////tab////create salt used for replacement of quotes//crlf////tab////tab////tab//sConstant1=getSalt(4)//crlf////tab////tab////tab//sConstant2=getSalt(4)//crlf////crlf////tab////tab////tab//sOutput=\\quot\\\\quot\\//crlf////tab////tab////tab//sContent=fileGetContent(\\quot\\__Filename__\\quot\\)//crlf////tab////tab////tab//sContent=replaceSubstring(sContent\\comma\\char(13)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//c=getElementCount(sContent\\comma\\char(10))//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=getElement(sContent\\comma\\n\\comma\\char(10))//crlf////tab////tab////tab////tab//cFields=getElementCount(s)//crlf////tab////tab////tab////tab//if(cFields<>46)//crlf////tab////tab////tab////tab////tab////replace comma-quote with constant1//crlf////tab////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\\\comma\\\\quot\\+char(0x22)\\comma\\sConstant1)//crlf////crlf////tab////tab////tab////tab////tab////replace quote-comma with constant2//crlf////tab////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)+\\quot\\\\comma\\\\quot\\\\comma\\sConstant2)//crlf////crlf////tab////tab////tab////tab////tab////remove any remaining characters//crlf////tab////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////restore the valid quotes//crlf////tab////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\sConstant1\\comma\\\\quot\\\\comma\\\\quot\\+char(0x22))//crlf////tab////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\sConstant2\\comma\\char(0x22)+\\quot\\\\comma\\\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////append to the new output//crlf////tab////tab////tab////tab//sOutput=sOurput+s+char(13)+char(10)//crlf////crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////tab////tab//endif//crlf////crlf////tab////tab////write the output//crlf////tab////tab//fileWriteContent(sTempFilename\\comma\\sOutput)//crlf////crlf////tab////tab////open the driver//crlf////tab////tab//sDriverName=getSalt(4)//crlf////tab////tab//driverOpen(Aspect6_XML_Export_Inventory_Extensions\\comma\\sDriverName\\comma\\READ\\comma\\true)//crlf////tab////tab//return(sDriverName)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=695917|X=183|Y=40|W=720|H=667|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=895185|AttachLeft=|AlignLeft=895185|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//__StoreDir__//crlf////tab//{@gfs(addDirSlash(\\quot\\__StoreDir__\\quot\\)+\\quot\\recpgrp.dta\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:defined(\\quot\\__getContent__\\quot\\)>//crlf////tab//<conditional expression:not(defined(\\quot\\__StoreDir__\\quot\\))>//crlf////tab////tab//Error: Missing StoreDir//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:defined(\\quot\\__StoreDir__\\quot\\)>//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT6_DRIVER_RECIPE_GROUPS_BY_FILENAME\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\Filename=__StoreDir__recpgrp.dta~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT6_DRIVER_RECIPE_GROUPS_BY_FILENAME\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab////tab//_height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\ASPECT6_DRIVER_RECIPES_BY_FILENAMEDialog\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=696037|X=183|Y=40|W=720|H=667|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=895185|AttachLeft=|AlignLeft=895185|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//__StoreDir__//crlf////tab//{@gfs(addDirSlash(\\quot\\__StoreDir__\\quot\\)+\\quot\\ingrgrp.dta\\quot\\)}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\05222016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:defined(\\quot\\__getContent__\\quot\\)>//crlf////tab//<conditional expression:not(defined(\\quot\\__StoreDir__\\quot\\))>//crlf////tab////tab//Error: Missing StoreDir//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:defined(\\quot\\__StoreDir__\\quot\\)>//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT6_DRIVER_INVENTORY_GROUPS\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\Filename=__StoreDir__ingrgrp.dta~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT6_DRIVER_INVENTORY_GROUPS\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab////tab//_height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\ASPECT6_DRIVER_INVENTORY_ITEMS_BY_FILENAMEDialog\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=711716|X=183|Y=40|W=720|H=667|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=895185|AttachLeft=|AlignLeft=895185|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//__StoreDir__//crlf////tab//__Date__//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\06012016\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:defined(\\quot\\__getContent__\\quot\\)>//crlf////tab//<conditional expression:not(defined(\\quot\\__StoreDir__\\quot\\))>//crlf////tab////tab//Error: Missing StoreDir//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(defined(\\quot\\__Date__\\quot\\))>//crlf////tab////tab//Error: Missing Date//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:defined(\\quot\\__StoreDir__\\quot\\)>//crlf////tab////tab//<!!include type:expression; expression:htmlConstant(\\quot\\Filename\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\__StoreDir__\\quot\\+formatDate(parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\\\quot\\MM-dd-yy\\quot\\)+\\quot\\.cnt\\quot\\)>//crlf////crlf////tab////tab//<!!!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\Aspect6_Driver_Inventory_Count\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\Filename=__Filename__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect6_Driver_Inventory_Count\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab////tab//_height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\ASPECT6_DRIVER_INVENTORY_ITEMS_BY_FILENAMEDialog\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=787234|X=183|Y=40|W=1004|H=808|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=895185|AttachLeft=|AlignLeft=895185|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//__StoreDir__//crlf////tab//{@gfs(addDirSlash(\\quot\\__StoreDir__\\quot\\)\\plus\\\\quot\\acctpybl.dta\\quot\\)}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\03302017\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}}//crlf////tab//1.01//crlf//</state>//crlf////crlf//<conditional expression:defined(\\quot\\__getContent__\\quot\\)>//crlf////tab//<conditional expression:not(defined(\\quot\\__StoreDir__\\quot\\))>//crlf////tab////tab//Error: Missing StoreDir//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:defined(\\quot\\__StoreDir__\\quot\\)>//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT6_DRIVER_INVOICES\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\Filename=__StoreDir__acctpybl.dta~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT6_DRIVER_INVOICES\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab////tab//height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\ASPECT6_DRIVER_INVOICESDialog\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab//>//tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=893123|X=183|Y=40|W=1053|H=777|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=895185|AttachLeft=|AlignLeft=895185|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@now()}//crlf//</state>//crlf////crlf//<conditional expression:defined(\\quot\\__getContent__\\quot\\)>//crlf////tab//<conditional expression:not(defined(\\quot\\__StoreDir__\\quot\\))>//crlf////tab////tab//Error: Missing StoreDir//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:defined(\\quot\\__StoreDir__\\quot\\)>//crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\Filename\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\__StoreDir__\\quot\\\\plus\\formatDate(parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\\\quot\\MM-dd-yy\\quot\\)\\plus\\\\quot\\.pay\\quot\\)>//crlf////crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT6_INVOICE_DETAILS_BY_FILENAME\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\Filename=__Filename__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT6_INVOICE_DETAILS_BY_FILENAME\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab////tab//height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\ASPECT6_INVOICE_DETAILS_BY_FILENAMEDialog\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//
</widget><widget name="Parameter Definitions" group="UI" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Parameter Definitions" modified="02-06-2019 22:53:24" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=01-18-2019 20:20:04: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=22|toolboxy=174|aspectfuncx=177|aspectfuncy=100|aspectfuncw=842|aspectfunch=800|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Parameter Definitions.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=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\\'206967')\\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\\'675059')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=206967|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Parameter Definitions.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=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_KAV7tpXDgrrC34l3qOMpj1Sy_Parameter Definitions.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=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=675059|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=118812|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='924041'>Select Inventory Group</option>//crlf////tab//<option value='713544'>Select Inventory Item</option>//crlf////tab//<option value='367458'>Select Size Unit</option>//crlf////tab//<option value='406174'>Select Menu Group</option>//crlf////tab//<option value='155112'>Select Recipe</option>//crlf////tab//<option value='613527'>Select Vendor</option>//crlf////tab//<option value='947251'>Select Invoice</option>//crlf////tab//<option value='815908'>External Filters</option>//crlf////tab//<option value='108059'>Placeholder9</option>//crlf////tab//<option value='142704'>Placeholder10</option>//crlf////tab//<option value='233013'>Placeholder11</option>//crlf////tab//<option value='116819'>Placeholder12</option>//crlf////tab//<option value='681093'>Placeholder13</option>//crlf////tab//<option value='753684'>Placeholder14</option>//crlf////tab//<option value='246170'>Placeholder15</option>//crlf//</select>//crlf//^
ID=924041|X=151|Y=32|W=770|H=721|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=118812|AttachLeft=|AlignLeft=118812|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Used to select an inventory group.  //crlf////crlf//Params://crlf////tab//StoreID - ID of the store//crlf//--------------------------------------------------------------------------]//crlf////crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\_select_\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:Collection;//crlf////tab////tab//Comment: \\quot\\Use ~0x3B~ for semicolon in htmlparams to separate multiple javascript commands\\quot\\;//crlf////tab////tab//Comment: \\quot\\Single or double quotes are ok in filter.  If the filter is modified using javascript\\comma\\\\quot\\;//crlf////tab////tab//Comment: \\quot\\use single quotes in the javascript.  The getHtmlSelectOptions query in the notificaiton container\\quot\\;//crlf////tab////tab//Comment: \\quot\\converts single quotes to double quotes before calling getCollection.\\quot\\;//crlf////tab////tab//name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Group_Name_By_ID\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\c:\\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=viewParamModified('__ParamID__')\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//^
ID=713544|X=151|Y=32|W=770|H=721|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=118812|AttachLeft=|AlignLeft=118812|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Used to select an inventory item.  //crlf////crlf//Params://crlf////tab//StoreID - ID of the store//crlf////tab//InventoryGroupID - Optional.  ID of inventory group.  Used to filter list.//crlf//--------------------------------------------------------------------------]//crlf////crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if((Value==\\quot\\0\\quot\\) ~~pipe~~~~pipe~~ (Value==\\quot\\000\\quot\\)) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:Collection;//crlf////tab////tab//Comment: \\quot\\Use ~0x3B~ for semicolon in htmlparams to separate multiple javascript commands\\quot\\;//crlf////tab////tab//Comment: \\quot\\Single or double quotes are ok in filter.  If the filter is modified using javascript\\comma\\\\quot\\;//crlf////tab////tab//Comment: \\quot\\use single quotes in the javascript.  The getHtmlSelectOptions query in the notificaiton container\\quot\\;//crlf////tab////tab//Comment: \\quot\\converts single quotes to double quotes before calling getCollection.\\quot\\;//crlf////tab////tab//name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Items_by_ID_with_Select\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\c:\\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=viewParamModified('__ParamID__')\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\(Record_Type=1) and ((undefined(\\quot\\__InventoryGroupID__\\quot\\)) or (\\quot\\GroupID\\quot\\=\\quot\\__InventoryGroupID__\\quot\\))\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//^
ID=367458|X=151|Y=32|W=770|H=721|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=118812|AttachLeft=|AlignLeft=118812|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Used to select an size unit//crlf////crlf//Params://crlf////tab//StoreID - ID of the store//crlf//--------------------------------------------------------------------------]//crlf////crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:Collection;//crlf////tab////tab//Comment: \\quot\\Use ~0x3B~ for semicolon in htmlparams to separate multiple javascript commands\\quot\\;//crlf////tab////tab//Comment: \\quot\\Single or double quotes are ok in filter.  If the filter is modified using javascript\\comma\\\\quot\\;//crlf////tab////tab//Comment: \\quot\\use single quotes in the javascript.  The getHtmlSelectOptions query in the notificaiton container\\quot\\;//crlf////tab////tab//Comment: \\quot\\converts single quotes to double quotes before calling getCollection.\\quot\\;//crlf////tab////tab//name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\c:~~backslash~~\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=viewParamModified(\\apos\\__ParamID__\\apos\\)\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//^
ID=406174|X=151|Y=32|W=770|H=721|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=118812|AttachLeft=|AlignLeft=118812|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Used to select a menu group.  //crlf////crlf//Params://crlf////tab//StoreID - ID of the store//crlf//--------------------------------------------------------------------------]//crlf////crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:Collection;//crlf////tab////tab//Comment: \\quot\\Use ~0x3B~ for semicolon in htmlparams to separate multiple javascript commands\\quot\\;//crlf////tab////tab//Comment: \\quot\\Single or double quotes are ok in filter.  If the filter is modified using javascript\\comma\\\\quot\\;//crlf////tab////tab//Comment: \\quot\\use single quotes in the javascript.  The getHtmlSelectOptions query in the notificaiton container\\quot\\;//crlf////tab////tab//Comment: \\quot\\converts single quotes to double quotes before calling getCollection.\\quot\\;//crlf////tab////tab//name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\POS_Generic_Lookup_Menu_Category_By_Category_ID\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\c:\\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=viewParamModified('__ParamID__')\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//^
ID=155112|X=151|Y=32|W=770|H=721|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=118812|AttachLeft=|AlignLeft=118812|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Used to select an inventory item.  //crlf////crlf//Params://crlf////tab//StoreID - ID of the store//crlf////tab//MenuGroupID - Optional.  ID of inventory group.  Used to filter list.//crlf//--------------------------------------------------------------------------]//crlf////crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if((Value==\\quot\\0\\quot\\) ~~pipe~~~~pipe~~ (Value==\\quot\\000\\quot\\)) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:Collection;//crlf////tab////tab//Comment: \\quot\\Use ~0x3B~ for semicolon in htmlparams to separate multiple javascript commands\\quot\\;//crlf////tab////tab//Comment: \\quot\\Single or double quotes are ok in filter.  If the filter is modified using javascript\\comma\\\\quot\\;//crlf////tab////tab//Comment: \\quot\\use single quotes in the javascript.  The getHtmlSelectOptions query in the notificaiton container\\quot\\;//crlf////tab////tab//Comment: \\quot\\converts single quotes to double quotes before calling getCollection.\\quot\\;//crlf////tab////tab//name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Items_by_ID_with_Select\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\c:\\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=viewParamModified('__ParamID__')\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\(Record_Type=2) and ((undefined(\\quot\\__MenuGroupID__\\quot\\)) or (\\quot\\Menu_Item_Group_ID_Override\\quot\\=\\quot\\__MenuGroupID__\\quot\\))\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//^
ID=613527|X=151|Y=32|W=770|H=721|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=118812|AttachLeft=|AlignLeft=118812|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Used to select a vendor//crlf////crlf//Params://crlf////tab//StoreID - ID of the store//crlf//--------------------------------------------------------------------------]//crlf////crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if((Value==\\quot\\0\\quot\\) ~~pipe~~~~pipe~~ (Value==\\quot\\000\\quot\\)) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:Collection;//crlf////tab////tab//Comment: \\quot\\Use ~0x3B~ for semicolon in htmlparams to separate multiple javascript commands\\quot\\;//crlf////tab////tab//Comment: \\quot\\Single or double quotes are ok in filter.  If the filter is modified using javascript\\comma\\\\quot\\;//crlf////tab////tab//Comment: \\quot\\use single quotes in the javascript.  The getHtmlSelectOptions query in the notificaiton container\\quot\\;//crlf////tab////tab//Comment: \\quot\\converts single quotes to double quotes before calling getCollection.\\quot\\;//crlf////tab////tab//name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Vendor_Names_By_ID_With_Select\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\c:\\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=viewParamModified('__ParamID__')\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//^
ID=947251|X=151|Y=32|W=770|H=721|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=118812|AttachLeft=|AlignLeft=118812|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Used to select an invoice//crlf////crlf//Params://crlf////tab//StoreID - ID of the store//crlf////tab//VendorID - Optional.  ID of vendor.//crlf////tab//Date - Optional.  Date in MM-dd-yyyy format.//crlf//--------------------------------------------------------------------------]//crlf////crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if((Value==\\quot\\0\\quot\\) ~~pipe~~~~pipe~~ (Value==\\quot\\000\\quot\\)) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:Collection;//crlf////tab////tab//Comment: \\quot\\Use ~0x3B~ for semicolon in htmlparams to separate multiple javascript commands\\quot\\;//crlf////tab////tab//Comment: \\quot\\Single or double quotes are ok in filter.  If the filter is modified using javascript\\comma\\\\quot\\;//crlf////tab////tab//Comment: \\quot\\use single quotes in the javascript.  The getHtmlSelectOptions query in the notificaiton container\\quot\\;//crlf////tab////tab//Comment: \\quot\\converts single quotes to double quotes before calling getCollection.\\quot\\;//crlf////tab////tab//name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Lookup_Invoice_Number_By_ID\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\c:\\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=viewParamModified('__ParamID__')\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\((not(defined(\\quot\\__VendorID__\\quot\\))) or (\\quot\\VendorID\\quot\\=\\quot\\__VendorID__\\quot\\))//crlf////tab////tab////tab//and ((not(defined(\\quot\\__Date__\\quot\\))) or (formatDate(Date\\comma\\\\quot\\MM-dd-yyyy\\quot\\)=\\quot\\__Date__\\quot\\))\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//^
ID=815908|X=151|Y=32|W=770|H=721|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=118812|AttachLeft=|AlignLeft=118812|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//These filters can be added using an embedded view.  This makes it possible for //crlf//dimensional reports to be created and for external filters to be applied to them //crlf//without having to create a special report viewer for each report.//crlf////crlf//Params://crlf////tab//Salt - Required//crlf////tab//StoreID - Required for some filters//crlf////tab//InventoryGroup - If true\\comma\\ an inventory group filter will be displayed//crlf////tab//ContainsText - If true\\comma\\ a contains text filter will be displayed//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:not(defined(\\quot\\__salt__\\quot\\))>//crlf////tab//<h1>Error: Missing salt param</h1>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Filter to inventory group//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__InventoryGroup__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__InventoryGroup\\quot\\;//crlf////tab////tab//Condition:\\quot\\not('$value$'='0')\\quot\\;//crlf////tab////tab//Expression:\\quot\\gte(pos('$value$'\\comma\\Inventory_Item_Full_Group_Name)\\comma\\0\\comma\\'n')\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\refreshTable('__salt__'\\comma\\'refresh')\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Full_Group_Name_By_Full_Group_Name\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Filter to items containing text.  Note: an expression is not required for //crlf//this filter because javascript creates the expression based on the fields //crlf//displayed in the table//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__ContainsText__\\quot\\=\\quot\\true\\quot\\)>//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')\\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//>//crlf//</conditional>//crlf//^
ID=108059|X=151|Y=32|W=770|H=721|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=118812|AttachLeft=|AlignLeft=118812|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=142704|X=151|Y=32|W=770|H=721|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=118812|AttachLeft=|AlignLeft=118812|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=233013|X=151|Y=32|W=770|H=721|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=118812|AttachLeft=|AlignLeft=118812|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=116819|X=151|Y=32|W=770|H=721|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=118812|AttachLeft=|AlignLeft=118812|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=681093|X=151|Y=32|W=770|H=721|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=118812|AttachLeft=|AlignLeft=118812|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=753684|X=151|Y=32|W=770|H=721|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=118812|AttachLeft=|AlignLeft=118812|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=246170|X=151|Y=32|W=770|H=721|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=118812|AttachLeft=|AlignLeft=118812|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 Invoices" group="" category="Export" description="Includes scripts used to call the appropriate merge definition for a selected invoice export." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Export Invoices" modified="02-09-2021 01:12:08" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=03-08-2019 22:20:58:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=18|toolboxy=127|aspectfuncx=221|aspectfuncy=100|aspectfuncw=855|aspectfunch=656|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Export Invoices.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\\'611417')\\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\\'812538')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=611417|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Export Invoices.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Export Invoices.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Export Invoices\\comma\\exportInvoices\\comma\\action_list\\comma\\Action=exportInvoices\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//exportInvoices//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\exportInvoices\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Exports invoices to a selected format for a given store and time period//crlf////tab////tab//Parameters must include either DateFrom/DateTo or InvoiceID.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//DateFrom - Optional start date//crlf////tab////tab//DateTo - Optional end date//crlf////tab////tab//InvoiceID - Optional comma-delimited list of invoice ID\\apos\\s to be exported//crlf////tab////tab//ExportFormat - Optional export format.  If not specified\\comma\\ the export format specified //crlf////tab////tab////tab//in the store record will be used.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\exportInvoices\\quot\\; commands:\\quot\\//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\\)) or (undefined(\\quot\\__DateTo__\\quot\\))) and (undefined(\\quot\\__InvoiceID__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateFrom/DateTo or InvoiceID\\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_Invoice_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\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Set the merge definitions used to export the invoice headers and details//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(sExportFormat=\\quot\\Generic\\quot\\)//crlf////tab////tab////tab////tab//sInvoiceHeaderMergeDef=\\quot\\sbSZnnDk\\quot\\//crlf////tab////tab////tab////tab//sInvoiceDetailMergeDef=\\quot\\9yI4OMQN\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\QuickBooks\\quot\\)//crlf////tab////tab////tab////tab//sInvoiceHeaderMergeDef=\\quot\\IfBihdQA\\quot\\//crlf////tab////tab////tab////tab//sInvoiceDetailMergeDef=\\quot\\6nHg4WG0\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\MAS90\\quot\\)//crlf////tab////tab////tab////tab//sInvoiceHeaderMergeDef=\\quot\\Opx0aNPg\\quot\\//crlf////tab////tab////tab////tab//sInvoiceDetailMergeDef=\\quot\\FOpb2dFC\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\QBOnline\\quot\\)//crlf////tab////tab////tab////tab//sInvoiceHeaderMergeDef=\\quot\\JxZomNXV\\quot\\//crlf////tab////tab////tab////tab//sInvoiceDetailMergeDef=\\quot\\azreSjqN\\quot\\//crlf////tab////tab////tab//elseif(sExportFormat=\\quot\\M3\\quot\\)//crlf////tab////tab////tab////tab//sInvoiceHeaderMergeDef=\\quot\\s0LHe1JY\\quot\\//crlf////tab////tab////tab////tab//sInvoiceDetailMergeDef=\\quot\\eiOC20KM\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Set output filenames and clear the contents of all files //crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////set file name for exported generic headers and clear the existing file//crlf////tab////tab////tab//sExportHeadersFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\invoice_header_export.$$$\\quot\\//crlf////tab////tab////tab//if(fileExists(sExportHeadersFilename))//crlf////tab////tab////tab////tab//fileSetLength(sExportHeadersFilename\\comma\\0)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////set the file name for concatenated invoice details //crlf////tab////tab////tab//sDetailsFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\concatenated_invoice_details_for_export.$$$\\quot\\//crlf////tab////tab////tab//if(fileExists(sDetailsFilename))//crlf////tab////tab////tab////tab//fileDelete(sDetailsFilename)//crlf////tab////tab////tab////tab//if(fileExists(sDetailsFilename))//crlf////tab////tab////tab////tab////tab//fileSetLength(sDetailsFilename\\comma\\0)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////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//s=\\quot\\__StoreID__\\comma\\\\quot\\\\plus\\sExportFormat//crlf////tab////tab////tab//fileWriteContent(getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\invoice_export_metadata.$$$\\quot\\\\comma\\s)//crlf////crlf////tab////tab////tab////set the file name for the final output file//crlf////tab////tab////tab//sFinalOutputFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\invoice_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////open the invoice header file and filter to the date range.  The driver is //crlf////tab////tab////tab////opened in WRITE mode so the export flag and date can be set below//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//dInvoice=\\quot\\InvoiceHeader\\quot\\\\plus\\getSalt(4)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Invoice\\comma\\dInvoice\\comma\\WRITE\\comma\\true\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////filter the invoice headers to either a date range or speciic ID\\apos\\s//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//if(defined(\\quot\\__InvoiceID__\\quot\\))//crlf////tab////tab////tab////tab//sFilter=\\quot\\isSubset(ID\\comma\\\\quot\\\\plus\\quote(\\quot\\__InvoiceID__\\quot\\)\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sFilter=\\quot\\(date(Date\\comma\\true)\\quot\\\\plus\\char(0x3E)\\plus\\\\quot\\=parseTime(\\quot\\\\plus\\quote(\\quot\\__DateFrom__\\quot\\)\\plus\\char(0x2C)\\plus\\quote(\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\))\\quot\\//crlf////tab////tab////tab////tab//sFilter=sFilter\\plus\\\\quot\\ and (date(Date\\comma\\true)\\quot\\\\plus\\char(0x3C)\\plus\\\\quot\\=parseTime(\\quot\\\\plus\\quote(\\quot\\__DateTo__\\quot\\)\\plus\\char(0x2C)\\plus\\quote(\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\))\\quot\\//crlf////tab////tab////tab////tab//sFilter=sFilter\\plus\\\\quot\\ and (not(Is_Exported))\\quot\\//crlf////tab////tab////tab////tab//sFilter=sFilter\\plus\\\\quot\\ and (not(Paid))\\quot\\//crlf////tab////tab////tab////tab//sFilter=sFilter\\plus\\\\quot\\ and (Vendor_Export_to_AP)\\quot\\//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//appendToLog(\\quot\\sFilter=\\quot\\\\plus\\sFilter)//crlf////tab////tab////tab//driverSetFilter(dInvoice\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\Opened invoice headers.  Records=\\quot\\\\plus\\driverGetRecordCount(dInvoice))//crlf////crlf////tab////tab////tab////abort if there are no invoices to export//crlf////tab////tab////tab//cInvoicesToExport=driverGetRecordCount(dInvoice)//crlf////tab////tab////tab//if(cInvoicesToExport=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: No invoices to export\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Create an array of date_entered and an array of invoice ID\\apos\\s that will be exported//crlf////tab////tab////tab////Also set the Is_Exported and Date_Exported fields in the invoice record//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//arInvoiceID=\\quot\\\\quot\\//crlf////tab////tab////tab//arDateEntered=\\quot\\\\quot\\//crlf////tab////tab////tab//c=driverGetRecordCount(dInvoice)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sID=driverGetField(dInvoice\\comma\\\\quot\\ID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sDate=formatDate(driverGetField(dInvoice\\comma\\\\quot\\Date_Entered\\quot\\\\comma\\n)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////crlf////tab////tab////tab////tab//if(containsElement(arInvoiceID\\comma\\sID)<0)//crlf////tab////tab////tab////tab////tab//arInvoiceID=addElement(arInvoiceID\\comma\\sID)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//if(containsElement(arDateEntered\\comma\\sDate)<0)//crlf////tab////tab////tab////tab////tab//arDateEntered=addElement(arDateEntered\\comma\\sDate)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////set the export flag//crlf////tab////tab////tab////tab//driverPutField(dInvoice\\comma\\\\quot\\Is_Exported\\quot\\\\comma\\n\\comma\\true)//crlf////tab////tab////tab////tab//driverPutField(dInvoice\\comma\\\\quot\\Date_Exported\\quot\\\\comma\\n\\comma\\now())//crlf////crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////appendToLog(\\quot\\arDateEntered=\\quot\\\\plus\\arDateEntered)//crlf////tab////tab////tab////appendToLog(\\quot\\arInvoiceID=\\quot\\\\plus\\arInvoiceID)//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////concatenate all invoice detail files containing details to be exported to a single file//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//sStoreDir=getStoreDir(\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab//c=getElementCount(arDateEntered)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sDate=getElement(arDateEntered\\comma\\n)//crlf////tab////tab////tab////tab//sFilename=sStoreDir\\plus\\\\quot\\invoice_detail.\\quot\\\\plus\\sDate\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//fileCopy(sFilename\\comma\\sDetailsFilename\\comma\\true\\comma\\true)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////export the invoice headers to the appropriate invoice header driver.  The //crlf////tab////tab////tab////driver used depends on the export format.//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//appendToLog(\\quot\\Exporting invoice headers to \\quot\\\\plus\\sExportHeadersFilename)//crlf////tab////tab////tab//sArgs=\\quot\\MergeID=\\quot\\\\plus\\sInvoiceHeaderMergeDef//crlf////tab////tab////tab//sArgs=sArgs\\plus\\\\quot\\\\amp\\SourceDriver=\\quot\\\\plus\\dInvoice//crlf////tab////tab////tab//sArgs=sArgs\\plus\\\\quot\\\\amp\\DestDriverParams=Filename=\\quot\\\\plus\\sExportHeadersFilename//crlf////tab////tab////tab//appendToLog(\\quot\\sArgs=\\quot\\\\plus\\sArgs)//crlf////tab////tab////tab//s=execAgentAction(\\quot\\executeMergeDefinition\\quot\\\\comma\\sArgs)//crlf////tab////tab////tab//appendToLog(\\quot\\merged headers to: \\quot\\\\plus\\sExportHeadersFilename\\plus\\\\quot\\: \\quot\\\\plus\\s)//crlf////crlf////tab////tab////tab////remove quotes around tab character in the export file//crlf////tab////tab////tab//s=fileGetContent(sExportHeadersFilename)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)\\plus\\char(9)\\plus\\char(0x22)\\comma\\char(9))//crlf////tab////tab////tab//fileWriteContent(sExportHeadersFilename\\comma\\s)//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////open a driver containing the concatenated invoice details//crlf////tab////tab////tab////filter the driver to the invoice to be exported and set subtotals so the driver//crlf////tab////tab////tab////only includes totals for each invoice/inventory group//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//appendToLog(\\quot\\Opening driver of consolidated invoice details\\quot\\)//crlf////tab////tab////tab//drvInvoiceDetails=getSalt(4)//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Invoice_Detail_For_Export\\comma\\drvInvoiceDetails\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\sDetailsFilename\\plus\\\\quot\\~~pipe~~StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//sFilter=\\quot\\isSubset(InvoiceID\\comma\\\\quot\\\\plus\\quote(arInvoiceID)\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab////driverSetFilter(drvInvoiceDetails\\comma\\sFilter\\comma\\true)//crlf////crlf////tab////tab////tab////6/14/17 Modified this subtotal to allow for situation in which two inventory groups //crlf////tab////tab////tab////have the same g/l account code.//crlf////tab////tab////tab////02/2021 Modified this subtotal to include Inventory_Item_Group_ID so that inventory group//crlf////tab////tab////tab////names are available for the M3 export//crlf////tab////tab////tab//if(sExportFormat=\\quot\\M3\\quot\\)//crlf////tab////tab////tab////tab//driverSetSubtotal(drvInvoiceDetails\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\InvoiceID~~pipe~~GL_Account~~pipe~~Inventory_Item_Group_ID\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//driverSetSubtotal(drvInvoiceDetails\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\InvoiceID~~pipe~~GL_Account\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverSetDetails(drvInvoiceDetails\\comma\\false)//crlf////tab////tab////tab//driverSetFilter(drvInvoiceDetails\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\Concatenated invoice details subtotaled contains \\quot\\\\plus\\driverGetRecordCount(drvInvoiceDetails)\\plus\\\\quot\\ records\\quot\\)//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////export the consolidated details.  The driver used depends on the export format//crlf////tab////tab////tab////and is determined by the merge definition.//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//sExportDetailsFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\invoice_detail_export.$$$\\quot\\//crlf////tab////tab////tab//if(fileExists(sExportDetailsFilename))//crlf////tab////tab////tab////tab//fileSetLength(sExportDetailsFilename\\comma\\0)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//appendToLog(\\quot\\Exporting invoice details to \\quot\\\\plus\\sExportDetailsFilename)//crlf////tab////tab////tab//sArgs=\\quot\\MergeID=\\quot\\\\plus\\sInvoiceDetailMergeDef//crlf////tab////tab////tab//sArgs=sArgs\\plus\\\\quot\\\\amp\\SourceDriver=\\quot\\\\plus\\drvInvoiceDetails//crlf////tab////tab////tab//sArgs=sArgs\\plus\\\\quot\\\\amp\\DestDriverParams=Filename=\\quot\\\\plus\\sExportDetailsFilename//crlf////tab////tab////tab//s=execAgentAction(\\quot\\executeMergeDefinition\\quot\\\\comma\\sArgs)//crlf////tab////tab////tab//appendToLog(\\quot\\merged details to: \\quot\\\\plus\\sExportDetailsFilename\\plus\\\\quot\\: \\quot\\\\plus\\s)//crlf////crlf////tab////tab////tab////remove quotes around tab character in the export file//crlf////tab////tab////tab//s=fileGetContent(sExportDetailsFilename)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)\\plus\\char(9)\\plus\\char(0x22)\\comma\\char(9))//crlf////tab////tab////tab//fileWriteContent(sExportDetailsFilename\\comma\\s)//crlf////crlf////tab////tab////tab////close the invoice headers and concatenated details//crlf////tab////tab////tab//driverClose(dInvoice)//crlf////tab////tab////tab//driverClose(drvInvoiceDetails)//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////open a consolidated driver containing both the exported invoice headers and details//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//appendToLog(\\quot\\Opening consolidated driver of exported invoice headers and details\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Invoice_Export_Consolidated\\comma\\drvConsolidated\\comma\\READ\\comma\\true)//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////sort and filter the consolidated driver//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//driverSetSort(drvConsolidated\\comma\\\\quot\\InvoiceID\\comma\\RecType\\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=Ow4XsNMA\\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\\merged consolidated records to: \\quot\\\\plus\\sFinalOutputFilename\\plus\\\\quot\\: \\quot\\\\plus\\s)//crlf////crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab////Remove all quotes from the final output.  Replace all quote tokens //crlf////tab////tab////tab////with double quotes.  Quote tokens are included in calculated fields like //crlf////tab////tab////tab////the GL_Account field in the invoice detail structure//crlf////tab////tab////tab////=========================================================================//crlf////tab////tab////tab//s=fileGetContent(sFinalOutputFilename)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\\\percent\\\\quot\\\\plus\\\\quot\\22\\quot\\\\comma\\char(0x22))//crlf////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\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////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////save a copy of the file for debugging purposes//crlf////tab////tab////tab//fileCopy(sFinalOutputFilename\\comma\\fileDrive(sFinalOutputFilename)\\plus\\fileDir(sFinalOutputFilename)\\plus\\fileName(sFinalOutputFilename)\\plus\\\\quot\\_part1\\quot\\\\plus\\fileExt(sFinalOutputFilename))//crlf////crlf////tab////tab////tab//if(sExportFormat=\\quot\\QuickBooks\\quot\\)//crlf////tab////tab////tab////tab////add ENDTRNS at the end of each set of details.  This is done by adding it//crlf////tab////tab////tab////tab////before each occurence of TRNS\\comma\\ (at the start of the invoice) and then removing//crlf////tab////tab////tab////tab////the ENDTRANS at the top of the file before the first invoice//crlf////tab////tab////tab////tab//sFinal=fileGetContent(sFinalOutputFilename)//crlf////tab////tab////tab////tab//sFinal=replaceSubstring(sFinal\\comma\\\\quot\\TRNS\\comma\\\\quot\\\\comma\\\\quot\\ENDTRNS\\quot\\\\plus\\char(13)\\plus\\char(10)\\plus\\\\quot\\TRNS\\comma\\\\quot\\)//crlf////crlf////tab////tab////tab////tab////remove the ENDTRNS before the first invoice.  Len is 9 to remove the cr/lf too//crlf////tab////tab////tab////tab//sFinal=substring(sFinal\\comma\\9)//crlf////crlf////tab////tab////tab////tab////add an ENDTRNS to the end of the file//crlf////tab////tab////tab////tab//sFinal=trim(sFinal)\\plus\\char(13)\\plus\\char(10)\\plus\\\\quot\\ENDTRNS\\quot\\//crlf////crlf////tab////tab////tab////tab////add the header at the top of the file//crlf////tab////tab////tab////tab//s=char(0x21)\\plus\\\\quot\\TRNS\\comma\\TRNSTYPE\\comma\\DATE\\comma\\ACCNT\\comma\\CLASS\\comma\\NAME\\comma\\DOCNUM\\comma\\AMOUNT\\comma\\DUEDATE\\quot\\\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab//s=s\\plus\\char(0x21)\\plus\\\\quot\\SPL\\comma\\TRNSTYPE\\comma\\DATE\\comma\\ACCNT\\comma\\CLASS\\comma\\AMOUNT\\quot\\\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab//s=s\\plus\\char(0x21)\\plus\\\\quot\\ENDTRNS\\quot\\\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab//sFinal=s\\plus\\sFinal\\plus\\char(13)\\plus\\char(10)//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\sFinal)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(sExportFormat=\\quot\\QBOnline\\quot\\)//crlf////tab////tab////tab////tab//sFinal=fileGetContent(sFinalOutputFilename)//crlf////crlf////tab////tab////tab////tab//s=\\quot\\\\apos\\Bill number\\apos\\\\comma\\\\apos\\Line.Amount\\apos\\\\comma\\\\apos\\Vendor\\apos\\\\comma\\\\apos\\AP account\\apos\\\\comma\\\\apos\\TxnDate\\apos\\\\comma\\\\apos\\Due date\\apos\\\\comma\\\\apos\\Line: Account name\\quot\\//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x27)\\comma\\char(0x22))\\plus\\char(13)\\plus\\char(10)//crlf////crlf////tab////tab////tab////tab////remove header lines//crlf////tab////tab////tab////tab//cLine=getElementCount(sFinal\\comma\\char(10))//crlf////tab////tab////tab////tab//nLine=0//crlf////tab////tab////tab////tab//while(nLine<cLine)//crlf////tab////tab////tab////tab////tab//sLine=getElement(sFinal\\comma\\nLine\\comma\\char(10))//crlf////tab////tab////tab////tab////tab//if(getElementCount(sLine)>1)//crlf////tab////tab////tab////tab////tab////tab//sLine=removeChar(sLine\\comma\\char(0x22))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\2\\comma\\quote(getElement(sLine\\comma\\2)))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\3\\comma\\quote(getElement(sLine\\comma\\3)))//crlf////tab////tab////tab////tab////tab////tab//s=s\\plus\\sLine\\plus\\char(10)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//nLine\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\s)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(sExportFormat=\\quot\\M3\\quot\\)//crlf////tab////tab////tab////tab//sFinal=fileGetContent(sFinalOutputFilename)//crlf////crlf////tab////tab////tab////tab////header//crlf////tab////tab////tab////tab//s=\\quot\\CompanyID\\comma\\PropertyID\\comma\\VendorNumber\\comma\\VendorName\\comma\\Phone\\comma\\Fax\\comma\\Email\\comma\\AddressLine1\\comma\\AddressLine2\\comma\\City\\comma\\State\\comma\\Zip\\comma\\Title\\comma\\FirstName\\comma\\LastName\\comma\\InvoiceNumber\\comma\\InvoiceDate\\comma\\PostDate\\comma\\DueDate\\comma\\Description\\comma\\Amount\\comma\\AccountNumber\\comma\\LineItemAmount\\comma\\LineItemDescription\\comma\\TaxGroup\\comma\\TaxCode\\quot\\\\plus\\char(13)\\plus\\char(10)//crlf////crlf////tab////tab////tab////tab//cLine=getElementCount(sFinal\\comma\\char(10))//crlf////tab////tab////tab////tab//nLine=0//crlf////tab////tab////tab////tab//appendToLog(\\quot\\M3 cLine=\\quot\\\\plus\\cLine)//crlf////tab////tab////tab////tab//while(nLine<cLine)//crlf////tab////tab////tab////tab////tab//sLine=getElement(sFinal\\comma\\nLine\\comma\\char(10))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\sLine=\\quot\\\\plus\\sLine)//crlf////crlf////tab////tab////tab////tab////tab////remove header lines (record type 1)//crlf////tab////tab////tab////tab////tab//if(getElement(sLine\\comma\\0)=2)//crlf////tab////tab////tab////tab////tab////tab////remove the record type//crlf////tab////tab////tab////tab////tab////tab//sLine=substring(sLine\\comma\\2)//crlf////crlf////tab////tab////tab////tab////tab////tab////remove the time from the date fields//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\16\\comma\\replaceSubstring(getElement(getElement(sLine\\comma\\16)\\comma\\0\\comma\\\\quot\\ \\quot\\)\\comma\\\\quot\\-\\quot\\\\comma\\\\quot\\/\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\17\\comma\\replaceSubstring(getElement(getElement(sLine\\comma\\17)\\comma\\0\\comma\\\\quot\\ \\quot\\)\\comma\\\\quot\\-\\quot\\\\comma\\\\quot\\/\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//sLine=setElement(sLine\\comma\\18\\comma\\replaceSubstring(getElement(getElement(sLine\\comma\\18)\\comma\\0\\comma\\\\quot\\ \\quot\\)\\comma\\\\quot\\-\\quot\\\\comma\\\\quot\\/\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab//s=s\\plus\\sLine\\plus\\char(10)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Added line.  Elements=\\quot\\\\plus\\getElementCount(s\\comma\\char(10)))//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Removed header\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//nLine\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//fileWriteContent(sFinalOutputFilename\\comma\\s)//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_Invoice_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 invoice 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 invoice output file name specified in store record\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//s=trim(fileGetContent(sOutputFilename))//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//return(\\quot\\Ok: Exported \\quot\\\\plus\\cInvoicesToExport\\plus\\\\quot\\ invoices.\\quot\\\\plus\\char(13)\\plus\\s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=812538|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=414754|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='279951'>Documentation</option>//crlf////tab//<option value='975057'>Output Files</option>//crlf////tab//<option value='481062'>Invoice Export - Final (Part2)</option>//crlf////tab//<option value='664194'>Invoice Export - Final (Part1)</option>//crlf////tab//<option value='455844'>Invoice Export - Consolidated</option>//crlf////tab//<option value='592014'>Invoice Export - Tab Delimited Headers</option>//crlf////tab//<option value='994398'>Invoice Export - Tab Delimited Details</option>//crlf////tab//<option value='43797'>Invoice Export - Headers</option>//crlf////tab//<option value='787580'>Invoice Export - Details</option>//crlf////tab//<option value='363030'>Invoice Detail For Export</option>//crlf////tab//<option value='947598'>Set GL Accounts for Testing</option>//crlf//</select>//crlf//^
ID=455844|X=183|Y=32|W=1019|H=619|AutoHeight=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=414754|AttachLeft=|AlignLeft=414754|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<conditional expression:(true) or (defined(\\quot\\__getContent__\\quot\\))>//crlf////tab//<div style=\\quot\\margin:10px 0px;width:100\\percent\\;max-width:600px\\quot\\>//crlf////tab////tab//<p>This table displays the consolidated headers and details that will be included in //crlf////tab////tab////tab//the final export.  Only the Content field will be merged to the final export.</p>//crlf////crlf////tab////tab//<p>The table is sorted by Invoice ID and Record Type so the header for each invoice //crlf////tab////tab////tab//appears above the details.</p>//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\\Aspect_BackOffice_Invoice_Export_Consolidated\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=InvoiceID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACKOFFICE_INVOICE_EXPORT_CONSOLIDATED\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab//height:\\quot\\auto\\quot\\;//crlf////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT_BACKOFFICE_INVOICE_EXPORT_CONSOLIDATEDDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\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////crlf//^
ID=43797|X=183|Y=32|W=977|H=612|AutoHeight=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=414754|AttachLeft=|AlignLeft=414754|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=//crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\Filename\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getToken(\\quot\\temporary_files\\quot\\)+\\quot\\invoice_header_export.$$$\\quot\\)>//crlf////crlf//<conditional expression:(true) or (defined(\\quot\\__getContent__\\quot\\))>//crlf////tab//<div style=\\quot\\margin:10px 0px;width:100\\percent\\;max-width:600px\\quot\\>//crlf////tab////tab//<p>This table displays the invoice headers that will be included in the final output.</p>//crlf////crlf////tab////tab//<p>The DiskIndex\\comma\\ Key For Export\\comma\\ InvoiceID and RecType are metadata fields that will //crlf////tab////tab////tab//not be exported.  The remaining fields are to the right of the [tab] field and will //crlf////tab////tab////tab//be read as a single field when the driver is opened as a tab-delimited driver.  This //crlf////tab////tab////tab//single field will be exported as a record in the final export.</p>//crlf////tab//</div>//crlf////crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//s=fileGetContent(getToken(\\quot\\temporary_files\\quot\\)+\\quot\\invoice_export_metadata.$$$\\quot\\)//crlf////tab////tab//sExportFormat=getElement(s\\comma\\1)//crlf////tab////tab//appendToLog(\\quot\\sExportFormat=\\quot\\+sExportFormat)//crlf////tab////tab//sDriverID=\\quot\\\\quot\\//crlf////tab////tab//if(sExportFormat=\\quot\\Generic\\quot\\)//crlf////tab////tab////tab//sDriverID=\\quot\\Aspect_BackOffice_Invoice_Export_Generic_Header\\quot\\//crlf////tab////tab//elseif(sExportFormat=\\quot\\QuickBooks\\quot\\)//crlf////tab////tab////tab//sDriverID=\\quot\\Aspect_BackOffice_Invoice_Export_Quickbooks_Header\\quot\\//crlf////tab////tab//elseif(sExportFormat=\\quot\\MAS90\\quot\\)//crlf////tab////tab////tab//sDriverID=\\quot\\Aspect_BackOffice_Invoice_Export_Generic_Header\\quot\\//crlf////tab////tab//endif//crlf////crlf////tab////tab//s=htmlConstant(\\quot\\ExportFormat\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sExportFormat)//crlf////tab////tab//s=s+htmlConstant(\\quot\\DriverID\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sDriverID)//crlf////tab////tab//return(s)//crlf////tab//\\quot\\>//crlf////crlf////tab//<h1>Export Format: __ExportFormat__</h1>//crlf////tab//<h1>DriverID: __DriverID__</h1>//crlf////tab////tab////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\\Filename=__Filename__~~pipe~~keyexpression=Key_For_Export~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACKOFFICE_INVOICE_EXPORT_HEADER___ExportFormat__\\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_INVOICE_EXPORT_GENERIC_HEADERDialog\\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//^
ID=787580|X=183|Y=32|W=842|H=615|AutoHeight=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=414754|AttachLeft=|AlignLeft=414754|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=//crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\Filename\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getToken(\\quot\\temporary_files\\quot\\)+\\quot\\invoice_detail_export.$$$\\quot\\)>//crlf////crlf//<conditional expression:(true) or (defined(\\quot\\__getContent__\\quot\\))>//crlf////tab//<div style=\\quot\\margin:10px 0px;width:100\\percent\\;max-width:600px\\quot\\>//crlf////tab////tab//<p>This table displays the invoice details that will be included in the final output.</p>//crlf////crlf////tab////tab//<p>The DiskIndex\\comma\\ Key For Export\\comma\\ InvoiceID and RecType are metadata fields that will //crlf////tab////tab////tab//not be exported.  The remaining fields are to the right of the [tab] field and will //crlf////tab////tab////tab//be read as a single field when the driver is opened as a tab-delimited driver.  This //crlf////tab////tab////tab//single field will be exported as a record in the final export.</p>//crlf////tab//</div>//crlf////crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//s=fileGetContent(getToken(\\quot\\temporary_files\\quot\\)+\\quot\\invoice_export_metadata.$$$\\quot\\)//crlf////tab////tab//sExportFormat=getElement(s\\comma\\1)//crlf////tab////tab//appendToLog(\\quot\\sExportFormat=\\quot\\+sExportFormat)//crlf////tab////tab//sDriverID=\\quot\\\\quot\\//crlf////tab////tab//if(sExportFormat=\\quot\\Generic\\quot\\)//crlf////tab////tab////tab//sDriverID=\\quot\\Aspect_BackOffice_Invoice_Export_Generic_Detail\\quot\\//crlf////tab////tab//elseif(sExportFormat=\\quot\\QuickBooks\\quot\\)//crlf////tab////tab////tab//sDriverID=\\quot\\Aspect_BackOffice_Invoice_Export_Quickbooks_Detail\\quot\\//crlf////tab////tab//elseif(sExportFormat=\\quot\\MAS90\\quot\\)//crlf////tab////tab////tab//sDriverID=\\quot\\Aspect_BackOffice_Invoice_Export_MAS90_Detail\\quot\\//crlf////tab////tab//endif//crlf////crlf////tab////tab//s=htmlConstant(\\quot\\ExportFormat\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sExportFormat)//crlf////tab////tab//s=s+htmlConstant(\\quot\\DriverID\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sDriverID)//crlf////tab////tab//return(s)//crlf////tab//\\quot\\>//crlf////crlf////tab//<h1>Export Format: __ExportFormat__</h1>//crlf////tab//<h1>DriverID: __DriverID__</h1>//crlf////tab////tab////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\\Filename=__Filename__~~pipe~~keyexpression=Key_For_Export~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACKOFFICE_INVOICE_EXPORT_DETAIL__ExportFormat__\\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_INVOICE_EXPORT_GENERIC_HEADERDialog\\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//^
ID=481062|X=183|Y=32|W=842|H=615|AutoHeight=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=414754|AttachLeft=|AlignLeft=414754|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=//crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\Filename\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getToken(\\quot\\temporary_files\\quot\\)+\\quot\\invoice_export_final.csv\\quot\\)>//crlf////crlf//<conditional expression:(true) or (defined(\\quot\\__getContent__\\quot\\))>//crlf////tab//<div style=\\quot\\margin:10px 0px;width:100\\percent\\;max-width:600px\\quot\\>//crlf////tab////tab//<p>This table displays the final export.  It is a tab-delimited table containing a //crlf////tab////tab////tab//single field (there are no tabs in the file\\comma\\ but it couldn't be a comma-delimited //crlf////tab////tab////tab//file because the headers and details do not contain the same number of fields.  The //crlf////tab////tab////tab//tab delimiter is just used to avoid using any delimiters).</p>//crlf////crlf////tab////tab//<p>Any trailing commas in the invoice header records just indicate that another field //crlf////tab////tab////tab//follows - Check Number.  If there is no check number\\comma\\ there will be a trailing comma.</p>//crlf////tab//</div>//crlf////crlf////tab//<hr>//crlf////tab//<div style=\\quot\\width:100\\percent\\;max-height:300px;overflow:auto\\quot\\>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//s=fileGetContent(\\quot\\__Filename__\\quot\\)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(13)+char(10)\\comma\\getToken(\\quot\\br\\quot\\))//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</div>//crlf////tab//<hr>//crlf////crlf////tab//<conditional expression:false>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_BackOffice_Invoice_Export_Final\\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=Content~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_BackOffice_Invoice_Export_Final\\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_INVOICE_EXPORT_GENERIC_HEADERDialog\\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////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//^
ID=363030|X=183|Y=32|W=842|H=615|AutoHeight=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=414754|AttachLeft=|AlignLeft=414754|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=//crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\Filename\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getToken(\\quot\\temporary_files\\quot\\)+\\quot\\concatenated_invoice_details_for_export.$$$\\quot\\)>//crlf////crlf//<conditional expression:(true) or (defined(\\quot\\__getContent__\\quot\\))>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Get the StoreID that was used to create the file.  This is written to a //crlf////tab//temp file when the files are concatenated//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//s=fileGetContent(getToken(\\quot\\temporary_files\\quot\\)+\\quot\\invoice_export_metadata.$$$\\quot\\)//crlf////tab////tab//return(htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getElement(s\\comma\\0)))//crlf////tab//\\quot\\>//crlf////crlf////tab//<div style=\\quot\\margin:10px 0px;width:100\\percent\\;max-width:600px\\quot\\>//crlf////tab////tab//<p>This table displays the invoice details that will be exported.  It is sorted by Invoice ID //crlf////tab////tab//and Inventory Group ID and only the subtotals are displayed.  Only subtotals are included //crlf////tab////tab//when records are merged to the export file.  The Calculate As Formula option is enabled //crlf////tab////tab//for field so they are calculated when the driver is filtered to subtotals only.</p>//crlf////crlf////tab////tab//<p>Subtotals for the Group ID with no Vendor ID are displayed in this table but they //crlf////tab////tab//don't make it to the export file.  The reason why needs to be documented.</p>//crlf////crlf////tab////tab//<p>If another field is included in the export\\comma\\ make sure that it appears in this table\\comma\\ //crlf////tab////tab//otherwise it will not be exported.</p>//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\\Aspect_BackOffice_Invoice_Detail_For_Export\\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~~StoreID=__StoreID__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_BackOffice_Invoice_Detail_For_Export\\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_INVOICE_EXPORT_GENERIC_HEADERDialog\\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//<div style=\\quot\\width:100px;height:600px\\quot\\></div>//crlf////crlf//^
ID=592014|X=183|Y=32|W=842|H=615|AutoHeight=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=414754|AttachLeft=|AlignLeft=414754|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=//crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\Filename\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getToken(\\quot\\temporary_files\\quot\\)+\\quot\\invoice_header_export.$$$\\quot\\)>//crlf////crlf//<conditional expression:(true) or (defined(\\quot\\__getContent__\\quot\\))>//crlf////tab//<div style=\\quot\\margin:10px 0px;width:100\\percent\\;max-width:600px\\quot\\>//crlf////tab////tab//<p>This table displays the exported invoice headers when read as a tab-delimited driver. //crlf////tab////tab////tab//The value of the Content field will be written to the final export driver.</p>//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\\ASPECT_BACKOFFICE_INVOICE_EXPORT_TAB_DELIMITED\\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=Key_For_Export~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACKOFFICE_INVOICE_EXPORT_TAB_DELIMITED\\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_INVOICE_EXPORT_TAB_DELIMITEDDialog\\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>//crlf////crlf////crlf//^
ID=994398|X=183|Y=32|W=842|H=615|AutoHeight=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=414754|AttachLeft=|AlignLeft=414754|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=//crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\Filename\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getToken(\\quot\\temporary_files\\quot\\)+\\quot\\invoice_detail_export.$$$\\quot\\)>//crlf////crlf//<conditional expression:(true) or (defined(\\quot\\__getContent__\\quot\\))>//crlf////tab//<div style=\\quot\\margin:10px 0px;width:100\\percent\\;max-width:600px\\quot\\>//crlf////tab////tab//<p>This table displays the exported invoice details when read as a tab-delimited driver. //crlf////tab////tab////tab//The value of the Content field will be written to the final export driver.</p>//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\\ASPECT_BACKOFFICE_INVOICE_EXPORT_TAB_DELIMITED\\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=Key_For_Export~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACKOFFICE_INVOICE_EXPORT_TAB_DELIMITED\\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_INVOICE_EXPORT_TAB_DELIMITEDDialog\\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>//crlf////crlf//^
ID=947598|X=183|Y=32|W=842|H=615|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=414754|AttachLeft=|AlignLeft=414754|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Create dummy gl account codes for inventory groups//crlf//--------------------------------------------------------------------------]//crlf//<include type:expression:false>//crlf////tab//<include type:script; commands:\\quot\\//crlf////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Item_Group\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=KSgWUSkuQ6lmWrLVXXV3aHWv\\quot\\)//crlf////tab////tab//c=driverGetRecordCount(d\\comma\\true)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//s=driverGetFieldAbsolute(d\\comma\\\\quot\\Name\\quot\\\\comma\\n)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\GL_Account_Code\\quot\\\\comma\\n\\comma\\\\quot\\xx-\\quot\\+s)//crlf////tab////tab//n++//crlf////tab////tab//endwhile//crlf////tab////tab//driverClose(d)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Create dummy codes for vendors//crlf//--------------------------------------------------------------------------]//crlf//<include type:expression:true>//crlf////tab//<include type:script; commands:\\quot\\//crlf////tab////tab//driverOpen(Aspect_Back_Office_Vendor\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=KSgWUSkuQ6lmWrLVXXV3aHWv\\quot\\)//crlf////tab////tab//c=driverGetRecordCount(d\\comma\\true)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//s=driverGetFieldAbsolute(d\\comma\\\\quot\\Name\\quot\\\\comma\\n)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Code\\quot\\\\comma\\n\\comma\\\\quot\\xx-\\quot\\+s)//crlf////tab////tab//n++//crlf////tab////tab//endwhile//crlf////tab////tab//driverClose(d)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=279951|X=183|Y=32|W=842|H=615|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=414754|AttachLeft=|AlignLeft=414754|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:600px\\quot\\>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Overview//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Overview\\quot\\;>//crlf////crlf////tab////tab//<p>Creating an export file consists of exporting the invoice headers and invoice details to//crlf////tab////tab////tab//two temporary files which are then consolidated and used to produce the final output.</p>//crlf////crlf////tab////tab//<p>Invoice headers and details are exported to files in the form:</p>//crlf////tab////tab//<table class=\\quot\\bordered\\quot\\>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<th align=\\quot\\left\\quot\\>Key For Export</th>//crlf////tab////tab////tab////tab//<th align=\\quot\\left\\quot\\>[tab]</th>//crlf////tab////tab////tab////tab//<th align=\\quot\\left\\quot\\>Comma-separated values to be included in the export</th>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Key For Export</td>//crlf////tab////tab////tab////tab//<td>[tab]</td>//crlf////tab////tab////tab////tab//<td>Field1\\comma\\Field2\\comma\\Field3\\comma\\Field4...</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</table>//crlf////crlf////tab////tab//<p>The structure looks like this:</p>//crlf////tab////tab//<table class=\\quot\\bordered\\quot\\>//crlf////tab////tab////tab//<tr><th align=\\quot\\left\\quot\\>Field</th></tr>//crlf////tab////tab////tab//<tr><td>Key For Export</td></tr>//crlf////tab////tab////tab//<tr><td>[tab]</td></tr>//crlf////tab////tab////tab//<tr><td>Export Field1</td></tr>//crlf////tab////tab////tab//<tr><td>Export Field2</td></tr>//crlf////tab////tab////tab//<tr><td>Export Field3</td></tr>//crlf////tab////tab//</table>//crlf////crlf////tab////tab//<h1>The Tab Trick</h1>//crlf////tab////tab//<p>Files are exported as CSV files with a tab inserted into them.  When they are read\\comma\\ //crlf////tab////tab////tab//they are opened as a tab delimited file which allows the comma-separated fields to //crlf////tab////tab////tab//the right of the tab to be read as a single field.</p>//crlf////crlf////tab////tab//<p>This procedure writes the headers and details to a comma delimited file\\comma\\ using //crlf////tab////tab////tab//merge definitions to specify the fields to be exported.</p>//crlf////crlf////tab////tab//<p>After the files are exported\\comma\\ they are opened and consolidated vertically.  However\\comma\\ //crlf////tab////tab////tab//instead of opening them as CSV files\\comma\\ they are opened as tab-delimited files which //crlf////tab////tab////tab//means they only contain two fields - the export key and the content.  The export key //crlf////tab////tab////tab//is a pipe-delimited value used to record the invoice ID and record type.</p>//crlf////crlf////tab////tab//<p>In the last step\\comma\\ the consolidated driver containing the exported headers and details //crlf////tab////tab////tab//is merged to the output file which contains only a single field - content.  The //crlf////tab////tab////tab//export key is used to get the invoice ID and record type (header or detail so the //crlf////tab////tab////tab//consolidated driver can be sorted before merging to the final output.  The driver is //crlf////tab////tab////tab//sorted by invoice ID and record type which puts the header at the start of the details //crlf////tab////tab////tab//for each invoice.</p>//crlf////crlf////tab////tab//<h1>Considerations</h1>//crlf////crlf////tab////tab//<ul>//crlf////tab////tab////tab//<li>Amounts and dates are converted to text fields in the invoices abd invoice details //crlf////tab////tab////tab////tab//so they can be formatted.  They are text fields in the export files.  Otherwise\\comma\\ //crlf////tab////tab////tab////tab//rounding causes numbers to have many decimal places and dates include the date and //crlf////tab////tab////tab////tab//time.</li>//crlf////tab////tab////tab//<li>The final output does not include quotes around text fields.  This is different //crlf////tab////tab////tab////tab//than Aspect6 but may not matter.  It is not a simple matter to add quotes in the //crlf////tab////tab////tab////tab//output.  It would probably require creating additional text fields that embed //crlf////tab////tab////tab////tab//values in quotes.</li>//crlf////tab////tab////tab//<li>Subtotals are important when merging the invoice details.  Make sure that //crlf////tab////tab////tab////tab//any required values appear in the Invoice Detail For Export display.</li>//tab////tab////tab////tab////crlf////tab////tab//</ul>//crlf////crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Creating a new export//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Creating a new export;\\quot\\>//crlf////tab////tab//<ol>//crlf////tab////tab////tab//<li>Create structures and drivers to defined the output for the headers and details.  //crlf////tab////tab////tab////tab//Use the \\quot\\Aspect Back-Office Invoice Export - Generic Detail\\quot\\ and \\quot\\Aspect Back-Office //crlf////tab////tab////tab////tab//Invoice Export - Generic Header\\quot\\ structures as templates.</li>//crlf////tab////tab////tab//<li>Create merge definitions to merge the headers and details to tab-delimited drivers.  //crlf////tab////tab////tab////tab//Use the \\quot\\Generic Header\\quot\\ and \\quot\\Generic Detail\\quot\\ merge definitions as examples.//crlf////tab////tab////tab////tab//<b>Make sure to include \\quot\\suppressquotes=true\\quot\\ in the params for the destination //crlf////tab////tab////tab////tab//driver.</li>//crlf////tab////tab//</ol>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf//</div>//crlf//^
ID=975057|X=183|Y=32|W=842|H=615|AutoHeight=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=414754|AttachLeft=|AlignLeft=414754|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\max-width:800px\\quot\\>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Invoice Export - Overview//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Overview\\quot\\;>//crlf////tab////tab//<p>This view is used to troubleshoot an invoice export.</p>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Invoice Export - Final (Part2)//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Invoice Export - Final (Part2)\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\; widget:\\quot\\Export Invoices\\quot\\; containerItemID:\\quot\\481062\\quot\\; params:\\quot\\getContent=true\\quot\\;>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Invoice Export - Final (Part1)//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Invoice Export - Final (Part1)\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\; widget:\\quot\\Export Invoices\\quot\\; containerItemID:\\quot\\664194\\quot\\; params:\\quot\\getContent=true\\quot\\;>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Invoice Export - Consolidated//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Invoice Export - Consolidated\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\; widget:\\quot\\Export Invoices\\quot\\; containerItemID:\\quot\\455844\\quot\\; params:\\quot\\getContent=true\\quot\\;>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Invoice Export - Tab Delimited Headers//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Invoice Export - Tab Delimited Headers\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\; widget:\\quot\\Export Invoices\\quot\\; containerItemID:\\quot\\592014\\quot\\; params:\\quot\\getContent=true\\quot\\;>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Invoice Export - Tab Delimited Details//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Invoice Export - Tab Delimited Details\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\; widget:\\quot\\Export Invoices\\quot\\; containerItemID:\\quot\\994398\\quot\\; params:\\quot\\getContent=true\\quot\\;>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Invoice Export - Headers//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Invoice Export - Headers\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\; widget:\\quot\\Export Invoices\\quot\\; containerItemID:\\quot\\43797\\quot\\; params:\\quot\\getContent=true\\quot\\;>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Invoice Export - Details//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Invoice Export - Details\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\; widget:\\quot\\Export Invoices\\quot\\; containerItemID:\\quot\\787580\\quot\\; params:\\quot\\getContent=true\\quot\\;>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Invoice Detail For Export//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Invoice Detail For Export\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\; widget:\\quot\\Export Invoices\\quot\\; containerItemID:\\quot\\363030\\quot\\; params:\\quot\\getContent=true\\quot\\;>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf//</div>//crlf//^
ID=664194|X=183|Y=32|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=414754|AttachLeft=|AlignLeft=414754|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=//crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\Filename\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getToken(\\quot\\temporary_files\\quot\\)+\\quot\\invoice_export_final_part1.csv\\quot\\)>//crlf////crlf//<conditional expression:(true) or (defined(\\quot\\__getContent__\\quot\\))>//crlf////tab//<div style=\\quot\\margin:10px 0px;width:100\\percent\\;max-width:600px\\quot\\>//crlf////tab////tab//<p></p>//crlf////tab//</div>//crlf////crlf////tab//<hr>//crlf////tab//<div style=\\quot\\width:100\\percent\\;max-height:300px;overflow:auto\\quot\\>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//s=fileGetContent(\\quot\\__Filename__\\quot\\)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(13)+char(10)\\comma\\getToken(\\quot\\br\\quot\\))//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</div>//crlf////tab//<hr>//crlf//</conditional>//crlf//
</widget><widget name="Inventory Test Bench" group="" category="Development" description="This widget contains items used to test and evaluate the performance of inventory related dependent drivers." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Inventory Test Bench" modified="03-13-2017 01:05:49" modifiedby="Thnikpad2" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=08-12-2016 00:02:17: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=163|aspectfuncx=249|aspectfuncy=100|aspectfuncw=850|aspectfunch=656|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Inventory Test Bench.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=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'122408')\\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\\'163904')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=122408|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=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=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=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_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Test Bench.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Test Bench.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=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=163904|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=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=841392|X=151|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=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='343046'>Dependency States</option>//crlf////tab//<option value='621617'>Open Script Driver</option>//crlf////tab//<option value='865179'>Agents for Inventory Dependent Drivers</option>//crlf////tab//<option value='689935'>Placeholder4</option>//crlf////tab//<option value='599915'>Placeholder5</option>//crlf////tab//<option value='741695'>Placeholder6</option>//crlf////tab//<option value='207337'>Placeholder7</option>//crlf////tab//<option value='241452'>Placeholder8</option>//crlf////tab//<option value='761857'>Placeholder9</option>//crlf////tab//<option value='468220'>Placeholder10</option>//crlf//</select>//crlf//^
ID=343046|X=151|Y=40|W=870|H=622|AutoHeight=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=841392|AttachLeft=|AlignLeft=841392|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\1mNufdynZWHlF17UxiqvpXVh\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\02-27-2017\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\03-05-2017\\quot\\)>//crlf////crlf//From: __DateFrom__ To: __DateTo__<br>//crlf//<br>//crlf////crlf//<conditional expression:(true) or (defined(\\quot\\__getContent__\\quot\\))>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Javascipt//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<script ID=\\quot\\JSInventoryDependentDrivers\\quot\\>//crlf////tab////tab//function updateDependentDriver(TableID\\comma\\b) {//crlf////tab////tab////tab//if(b) { //crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=Complete.<br><br>//amp//fnOk=Close\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//var eTable=document.getElementById(TableID);//crlf////tab////tab////tab//var a=getKeyValues(TableID\\comma\\true);//crlf////crlf////tab////tab////tab////abort if no records selected//crlf////tab////tab////tab//if(a.length==0) {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=No records selected<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////get driver ID's from keys.  The key is the driver ID followed by a dash and then//crlf////tab////tab////tab////the driver params//crlf////tab////tab////tab//var s=\\quot\\\\quot\\;//crlf////tab////tab////tab//for(var i=0;i<a.length;i++) {//crlf////tab////tab////tab////tab//var n=a[i].indexOf(\\quot\\-\\quot\\);//crlf////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\\\quot\\;//crlf////tab////tab////tab////tab//s+=a[i].substring(0\\comma\\n);//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//var sDriverParams=eTable.getAttribute(\\quot\\aspectParams\\quot\\);//crlf////tab////tab////tab//sDriverParams+=\\quot\\~~pipe~~CalcState=\\quot\\+s+\\quot\\~~pipe~~UpdateDriver=true\\quot\\;//crlf////tab////tab////tab//eTable.setAttribute(\\quot\\aspectParamsActive\\quot\\\\comma\\sDriverParams);//crlf////crlf////tab////tab////tab//var sFunc=\\quot\\updateDependentDriver('\\quot\\+TableID+\\quot\\'\\comma\\true)\\quot\\;//crlf////tab////tab////tab//showDialog(\\quot\\icon=true//amp//msg=Updating drivers...\\quot\\);//crlf////tab////tab////tab//updateTableRecord(TableID\\comma\\a.toString()\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab//function calculateDependentDriverState(TableID\\comma\\b) {//crlf////tab////tab////tab//if(b) { //crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=Complete.<br><br>//amp//fnOk=Close\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//var eTable=document.getElementById(TableID);//crlf////tab////tab////tab//var a=getKeyValues(TableID\\comma\\true);//crlf////crlf////tab////tab////tab////abort if no records selected//crlf////tab////tab////tab//if(a.length==0) {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=No records selected<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////get driver ID's from keys.  The key is the driver ID followed by a dash and then//crlf////tab////tab////tab////the driver params//crlf////tab////tab////tab//var s=\\quot\\\\quot\\;//crlf////tab////tab////tab//for(var i=0;i<a.length;i++) {//crlf////tab////tab////tab////tab//var n=a[i].indexOf(\\quot\\-\\quot\\);//crlf////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\\\quot\\;//crlf////tab////tab////tab////tab//s+=a[i].substring(0\\comma\\n);//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//var sDriverParams=eTable.getAttribute(\\quot\\aspectParams\\quot\\);//crlf////tab////tab////tab//sDriverParams+=\\quot\\~~pipe~~CalcState=\\quot\\+s+\\quot\\~~pipe~~UpdateDriver=false\\quot\\;//crlf////tab////tab////tab//eTable.setAttribute(\\quot\\aspectParamsActive\\quot\\\\comma\\sDriverParams);//crlf////crlf////tab////tab////tab//var sFunc=\\quot\\calculateDependentDriverState('\\quot\\+TableID+\\quot\\'\\comma\\true)\\quot\\;//crlf////tab////tab////tab//showDialog(\\quot\\icon=true//amp//msg=Calculating states...\\quot\\);//crlf////tab////tab////tab//updateTableRecord(TableID\\comma\\a.toString()\\comma\\sFunc);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_INVENTORY_DEPENDENT_DRIVERS\\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\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Widget=Inventory Test Bench~~pipe~~ContainerItemID=621617~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_INVENTORY_DEPENDENT_DRIVERS~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~calcstate=all\\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\\true\\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\\<!include type:expression; expression:getCollection(\\quot\\StructureFields2\\quot\\\\comma\\\\quot\\Aspect_Back_Office_Inventory_Dependent_Drivers\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2c)\\comma\\\\quot\\key\\quot\\)>\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\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\\Calculate State~~pipe~~calculateDependentDriverState\\comma\\Update Driver~~pipe~~updateDependentDriver\\quot\\;//crlf////tab////tab//InspectMenu: \\quot\\66hlvBSv\\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//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//^
ID=621617|X=151|Y=40|W=870|H=622|AutoHeight=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=841392|AttachLeft=|AlignLeft=841392|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 system driver containing records for all dependent drivers associated//crlf//with a given date range and store.//crlf////crlf//Params://crlf////tab//StoreID - StoreID//crlf////tab//DateFrom - Starting date//crlf////tab//DateTo - Ending date//crlf////tab//CalcState - Optional.  Comma-delimited list of driver ID\\apos\\s for which the state will//crlf////tab////tab//be calculated.  This parameter is added to the driver params by the javascript function //crlf////tab////tab//used to calculate states for selected records.  The driver params are passed with the //crlf////tab////tab//javascript call used to update records in the table.//crlf////tab//UpdateDriver - Optional.  If true\\comma\\ drivers in the calcstate array will be updated.//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(defined(\\quot\\__StoreID__\\quot\\))>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab//sStoreDir=getStoreDir(sStoreID)//crlf////tab////tab//dtFrom=parseTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab//dtTo=parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////crlf////tab////tab////open the system driver//crlf////tab////tab//sParams=\\quot\\opening=true~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~CalcState=__CalcState__\\quot\\//crlf////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Dependent_Drivers\\comma\\d\\comma\\WRITE\\comma\\true\\comma\\sParams)//crlf////crlf////tab////tab////add drivers that do not take a date parameter//crlf////tab////tab//nPass=0//crlf////tab////tab//while(nPass<3)//crlf////tab////tab////tab//if(nPass=0)//crlf////tab////tab////tab////tab//arDriverID=\\quot\\Aspect_Back_Office_Size~~pipe~~Aspect_Back_Office_Physical_Count_List~~pipe~~Aspect_Back_Office_Prep_List~~pipe~~Aspect_Back_Office_Waste_Count_List~~pipe~~Aspect_Back_Office_Inventory_Item~~pipe~~Aspect_Back_Office_Physical_Count_List_Only_All\\quot\\//crlf////tab////tab////tab//elseif(nPass=1)//crlf////tab////tab////tab////tab//arDriverID=\\quot\\Aspect_Back_Office_Prep_Log_Batch_Detail~~pipe~~Aspect_Back_Office_Waste_Count~~pipe~~Aspect_Back_Office_Physical_Count~~pipe~~Aspect_BackOffice_Physical_Count_Batch_Detail~~pipe~~Aspect_Back_Office_Daily_Inventory_Summary~~pipe~~Aspect_Back_Office_Prep_Log~~pipe~~Aspect_BackOffice_Waste_Count_Batch_Detail~~pipe~~Aspect_BackOffice_Daily_Inventory_Summary_Perpetual~~pipe~~Aspect_Back_Office_Legitimate_Usage~~pipe~~Aspect_Back_Office_Legitimate_Usage_Sub\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//arDriverID=\\quot\\Aspect_Back_Office_Invoice_Detail_Summary~~pipe~~Aspect_BackOffice_Period_Inventory_Summary~~pipe~~Aspect_Back_Office_Inventory_Extensions_Part1~~pipe~~Aspect_BackOffice_Waste_Count_Batch_Detail_Summary~~pipe~~Aspect_BackOffice_Legit_Usage_Summary~~pipe~~Aspect_Back_Office_Inventory_Extensions~~pipe~~Aspect_BackOffice_Legit_Usage_Summary_For_Table\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//dt=dtFrom//crlf////tab////tab////tab//while(dt<=dtTo)//crlf////tab////tab////tab////tab//if(nPass=0)//crlf////tab////tab////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\\\plus\\sStoreID//crlf////tab////tab////tab////tab////tab//sDateRange=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//elseif(nPass=1)//crlf////tab////tab////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\~~pipe~~Date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab//sDateRange=formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\~~pipe~~DateFrom=\\quot\\\\plus\\formatDate(dtFrom\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\~~pipe~~DateTo=\\quot\\\\plus\\formatDate(dtTo\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab//sDateRange=formatDate(dtFrom\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ - \\quot\\\\plus\\formatDate(dtTo\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//c=getElementCount(arDriverID\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////crlf////tab////tab////tab////tab////tab//sDriverID=getElement(arDriverID\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab//bInclude=true//crlf////tab////tab////tab////tab////tab//if(sDriverID=\\quot\\Aspect_Back_Office_Physical_Count\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//bInclude=fileExists(sStoreDir\\plus\\\\quot\\physical_count.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\)//crlf////tab////tab////tab////tab////tab//elseif(sDriverID=\\quot\\Aspect_BackOffice_Physical_Count_Batch_Detail\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//bInclude=fileExists(sStoreDir\\plus\\\\quot\\physical_count_batch_detail.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//bInclude=(bInclude) or (fileExists(sStoreDir\\plus\\\\quot\\physical_count.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\))//crlf////tab////tab////tab////tab////tab//elseif(sDriverID=\\quot\\Aspect_Back_Office_Waste_Count\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//bInclude=fileExists(sStoreDir\\plus\\\\quot\\waste_count.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\)//crlf////tab////tab////tab////tab////tab//elseif(sDriverID=\\quot\\Aspect_BackOffice_Waste_Count_Batch_Detail\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//bInclude=fileExists(sStoreDir\\plus\\\\quot\\waste_count_batch_detail.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//bInclude=(bInclude) or (fileExists(sStoreDir\\plus\\\\quot\\waste_count.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\))//crlf////tab////tab////tab////tab////tab//elseif(sDriverID=\\quot\\Aspect_Back_Office_Prep_Log\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//bInclude=fileExists(sStoreDir\\plus\\\\quot\\prep_log.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\)//crlf////tab////tab////tab////tab////tab//elseif(sDriverID=\\quot\\Aspect_Back_Office_Prep_Log_Batch_Detail\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//bInclude=fileExists(sStoreDir\\plus\\\\quot\\prep_log_batch_detail.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//bInclude=(bInclude) or (fileExists(sStoreDir\\plus\\\\quot\\prep_log.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\))//crlf////tab////tab////tab////tab////tab//elseif(sDriverID=\\quot\\Aspect_Back_Office_Legitimate_Usage\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//bInclude=fileExists(sStoreDir\\plus\\\\quot\\mix.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\)//crlf////tab////tab////tab////tab////tab//elseif(sDriverID=\\quot\\//tab//Aspect_Back_Office_Legitimate_Usage_Sub\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//bInclude=fileExists(sStoreDir\\plus\\\\quot\\usage.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//if(bInclude)//crlf////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(d)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\DriverID\\quot\\\\comma\\r\\comma\\sDriverID)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\DependencyID\\quot\\\\comma\\r\\comma\\getDependencyID(sDriverID\\comma\\sParams))//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Period\\quot\\\\comma\\r\\comma\\nPass)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Driver_Params\\quot\\\\comma\\r\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Date_Range\\quot\\\\comma\\r\\comma\\sDateRange)//crlf////crlf////tab////tab////tab////tab////tab////tab////calculate states//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\CalcState=__CalcState__ UpdateDriver=__UpdateDriver__ CheckStateOnly=__CheckStateOnly__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//if((\\quot\\__CalcState__\\quot\\=\\quot\\all\\quot\\) or (containsElement(\\quot\\__CalcState__\\quot\\\\comma\\sDriverID)>=0))//crlf////tab////tab////tab////tab////tab////tab////tab//t1=now()//crlf////tab////tab////tab////tab////tab////tab////tab//sSourceState=getDependencySourceState(sDriverID\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab////tab//t2=now()//crlf////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\calc state: \\quot\\\\plus\\sDriverID\\plus\\\\quot\\ [\\quot\\\\plus\\(t2-t1)\\plus\\\\quot\\ms]\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Source_State\\quot\\\\comma\\r\\comma\\sSourceState)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Calc_Source_State_ms\\quot\\\\comma\\r\\comma\\dateNumber(t2)-dateNumber(t1))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//t1=now()//crlf////tab////tab////tab////tab////tab////tab////tab//sState=getDependencyState(sDriverID\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab////tab//t2=now()//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\State\\quot\\\\comma\\r\\comma\\sState)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Calc_State_ms\\quot\\\\comma\\r\\comma\\dateNumber(t2)-dateNumber(t1))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//if(boolean(\\quot\\__UpdateDriver__\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Test Bench Updating driver: \\quot\\\\plus\\sDriverID\\plus\\\\quot\\: \\quot\\\\plus\\sParams)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//t1=now()//crlf////tab////tab////tab////tab////tab////tab////tab////tab//updateDependentDriver(sDriverID\\comma\\sParams\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//t2=now()//crlf////tab////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Update_Driver_ms\\quot\\\\comma\\r\\comma\\dateNumber(t2)-dateNumber(t1))//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//bStateChanged=dependencyStateChanged(sDriverID\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\State_Up_To_Date\\quot\\\\comma\\r\\comma\\not(bStateChanged))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Last_State\\quot\\\\comma\\r\\comma\\getDependencyLastState(sDriverID\\comma\\sParams))//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Previous_State\\quot\\\\comma\\r\\comma\\getDependencyPreviousState(sDriverID\\comma\\sParams))//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Last_Source_State\\quot\\\\comma\\r\\comma\\getDependencyLastSourceState(sDriverID\\comma\\sParams))//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Previous_Source_State\\quot\\\\comma\\r\\comma\\getDependencyPreviousSourceState(sDriverID\\comma\\sParams))//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////tab//if(nPass=1)//crlf////tab////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////get out of the loop.  Only one pass is required//crlf////tab////tab////tab////tab////tab//dt=incrementTime(dtTo\\comma\\1)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//nPass\\plus\\\\plus\\//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//return(d)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=865179|X=151|Y=40|W=870|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=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=841392|AttachLeft=|AlignLeft=841392|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=//crlf//[!------------------------------------------------------------------------//crlf//Create filters used to get agents that operate on no period\\comma\\ a period of //crlf//a single day and a range of days.  For example\\comma\\ the agent to update inventory //crlf//items has no period.  The agent to update a legitimate usage has a period //crlf//of one day and inventory extensions has a range of dates.  This is done to //crlf//break the agents into three groups for readability.//crlf//--------------------------------------------------------------------------]//crlf//<!include type:script; commands:\\quot\\//crlf////tab//sBaseFilter1=\\quot\\(Library_ID='KAV7tpXDgrrC34l3qOMpj1Sy')\\quot\\//crlf////tab//sBaseFilter2=sBaseFilter1//crlf////tab//sBaseFilter3=sBaseFilter1//crlf////crlf////tab//sWidgets1=\\quot\\Inventory Items\\comma\\Inventory Sizes\\quot\\//crlf////tab//sWidgets2=\\quot\\\\quot\\//crlf////tab//sWidgets3=\\quot\\\\quot\\//crlf////crlf////tab//sBaseFilter1=sBaseFilter1+\\quot\\ and (gte(containsElement(\\quot\\+quote(sWidgets1\\comma\\char(0x27))+\\quot\\\\comma\\Name)\\comma\\0\\comma\\'n'))\\quot\\//crlf////tab//sBaseFilter2=sBaseFilter2+\\quot\\ and (gte(containsElement(\\quot\\+quote(sWidgets2\\comma\\char(0x27))+\\quot\\\\comma\\Name)\\comma\\0\\comma\\'n'))\\quot\\//crlf////tab//sBaseFilter3=sBaseFilter3+\\quot\\ and (gte(containsElement(\\quot\\+quote(sWidgets3\\comma\\char(0x27))+\\quot\\\\comma\\Name)\\comma\\0\\comma\\'n'))\\quot\\//crlf////crlf////tab//s=htmlConstant(\\quot\\BaseFilter1\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sBaseFilter1)//crlf////tab//s=s+htmlConstant(\\quot\\BaseFilter2\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sBaseFilter2)//crlf////tab//s=s+htmlConstant(\\quot\\BaseFilter3\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sBaseFilter3)//crlf////tab//return(s)//crlf//\\quot\\>//crlf////crlf//<!!include //crlf////tab//type:widget; //crlf////tab//server:{AspectHashID}; //crlf////tab//secure:true; //crlf////tab//documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; //crlf////tab//widget:\\quot\\Agents\\quot\\; //crlf////tab//containerItemID:\\quot\\local_agents\\quot\\; //crlf////tab//params:\\quot\\getContent=true//amp//BaseFilter=__BaseFilter1__\\quot\\;>//crlf//^
ID=689935|X=151|Y=40|W=870|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=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=841392|AttachLeft=|AlignLeft=841392|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<br><br>//crlf//<include type:script; commands:\\quot\\//crlf////tab////pound//StoreID=\\quot\\1mNufdynZWHlF17UxiqvpXVh\\quot\\//crlf////tab////pound//Date=\\quot\\03-05-2017\\quot\\//crlf////tab//s=gfs(getStoreDir(//pound//StoreID)+\\quot\\usage.\\quot\\+//pound//date+\\quot\\.bin\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\false\\comma\\ 0\\comma\\fileExists(getStoreDir(//pound//StoreID)+\\quot\\mix.\\quot\\+//pound//date+\\quot\\.bin\\quot\\))//crlf////tab//return(\\quot\\s=\\quot\\+s)//crlf//\\quot\\>^
ID=599915|X=151|Y=40|W=870|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=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=841392|AttachLeft=|AlignLeft=841392|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=741695|X=151|Y=40|W=870|H=622|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=841392|AttachLeft=|AlignLeft=841392|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=207337|X=151|Y=40|W=870|H=622|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=841392|AttachLeft=|AlignLeft=841392|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=241452|X=151|Y=40|W=870|H=622|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=841392|AttachLeft=|AlignLeft=841392|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=761857|X=151|Y=40|W=870|H=622|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=841392|AttachLeft=|AlignLeft=841392|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=468220|X=151|Y=40|W=870|H=622|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=841392|AttachLeft=|AlignLeft=841392|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="Inventory Utilities" group="Utilities" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Inventory Utilities" modified="02-20-2017 17:04:19" modifiedby="Thnikpad2" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=02-20-2017 15:50:26: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=62|toolboxy=179|aspectfuncx=50|aspectfuncy=50|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=null|aspectfuncVisible=false|PublishFtpFilename=Inventory Utilities.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=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=758957|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=758957|X=183|Y=206|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_Inventory Utilities\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Utilities\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 02-20-2017 16:27:46//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Utilities\\comma\\AgentTerminate\\comma\\758957\\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;02202017//amp//nbsp;162746//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_Inventory//amp//nbsp;Utilities\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;02-20-2017//amp//nbsp;16:27:46</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//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>02202017 162746</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\\chart758957\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\111\\quot\\ style=\\quot\\width: 120px; height: 111px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Inventory Utilities</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\\chart758957\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 155px; left: 140px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\46\\quot\\ style=\\quot\\width: 120px; height: 46px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:black\\quot\\>Other</span></div></div>^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=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\\'932600')\\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\\'871356')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=932600|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Utilities.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=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=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|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_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Utilities.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Inventory Utilities\\comma\\setInvoiceDatesTo12PM\\comma\\action_list\\comma\\Action=setInvoiceDatesTo12PM\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//setInvoiceDatesTo12PM//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\setInvoiceDatesTo12PM\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//This is a quick fix used to set the time of all invoice dates to 12pm.//crlf////tab////tab//This is normally handled by a driver listener when the invoice is edited.//crlf////tab//  The time is set to 12pm so the date of an invoice will not change if the //crlf////tab////tab//data is copied to another time zone//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\setInvoiceDatesTo12PM\\quot\\; commands:\\quot\\//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 StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the invoice driver//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Invoice\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(d)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//dt1=driverGetField(d\\comma\\\\quot\\date\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dt2=parseTime(formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ 12:00\\quot\\\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)//crlf////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\date\\quot\\\\comma\\n\\comma\\dt2)//crlf////crlf////tab////tab////tab////tab//dt1=driverGetField(d\\comma\\\\quot\\date_entered\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dt2=parseTime(formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ 12:00\\quot\\\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)//crlf////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\date_entered\\quot\\\\comma\\n\\comma\\dt2)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab//return(\\quot\\Ok: Updated the date for \\quot\\\\plus\\c\\plus\\\\quot\\ invoices\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=871356|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="USDA Database" group="" category="USDA Database" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Usda Database" modified="12-21-2017 20:23:08" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=12-09-2017 21:37:08:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=38|toolboxy=136|aspectfuncx=50|aspectfuncy=50|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=null|aspectfuncVisible=false|PublishFtpFilename=USDA Database.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=379|H=23|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class=\\apos\\tabdialog\\apos\\>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\247183\\apos\\)\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\AspectScript\\apos\\)\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\sensor_list\\apos\\)\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\action_list\\apos\\)\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\806195\\apos\\)\\quot\\>Fd_Group</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\996489\\apos\\)\\quot\\>Abbrev</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\832615\\apos\\)\\quot\\>Food Des</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\196411\\apos\\)\\quot\\>Nut Data</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\195112\\apos\\)\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=247183|X=300|Y=123|W=1120|H=711|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=123|W=1120|H=711|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=1120|H=711|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_USDA Database.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=1120|H=711|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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_KAV7tpXDgrrC34l3qOMpj1Sy_USDA Database.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=195112|X=300|Y=123|W=1120|H=711|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|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=760160|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=760160|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=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_USDA Database\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_USDA Database\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 04-01-2017 16:00: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\\KAV7tpXDgrrC34l3qOMpj1Sy_USDA Database\\comma\\AgentTerminate\\comma\\760160\\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;04012017//amp//nbsp;160008//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_USDA//amp//nbsp;Database\\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-01-2017//amp//nbsp;16:00: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=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>04012017 160008</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\\chart760160\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\111\\quot\\ style=\\quot\\width: 120px; height: 111px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>USDA Database</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\\chart760160\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 126px; left: 203px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\46\\quot\\ style=\\quot\\width: 120px; height: 46px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:black\\quot\\>Other</span></div></div>^
ID=832615|X=300|Y=123|W=1120|H=711|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:driver;//crlf////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab//title: \\quot\\\\quot\\;//crlf////tab//ID: \\quot\\\\quot\\;//crlf////tab//HashID: \\quot\\\\quot\\;//crlf////tab//driver: \\quot\\USDA_FOOD_DES\\quot\\;//crlf////tab//name: \\quot\\\\quot\\;//crlf////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab//dispose: \\quot\\false\\quot\\;//crlf////tab//state: \\quot\\\\quot\\;//crlf////tab//params: \\quot\\keyexpression=NDB_No~~pipe~~CacheTtl=0~~pipe~~Metadata=USDA_FOOD_DES\\quot\\;//crlf////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab//display: \\quot\\\\quot\\;//crlf////tab//fields: \\quot\\\\quot\\;//crlf////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab//sort: \\quot\\ID\\quot\\;//crlf////tab//filter: \\quot\\true\\quot\\;//crlf////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab//class: \\quot\\basic1\\quot\\;//crlf////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab//height:\\quot\\auto\\quot\\;//crlf////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab//EditDialogID: \\quot\\USDA_FOOD_DESDialog\\quot\\;//crlf////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab//Menu: \\quot\\\\quot\\;//crlf////tab//faq: \\quot\\\\quot\\;//crlf////tab//procedure: \\quot\\\\quot\\;//crlf////tab//video: \\quot\\\\quot\\;//crlf////tab//Messages: \\quot\\true\\quot\\;//crlf////tab//ChartType: \\quot\\\\quot\\;//crlf////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab//debug: \\quot\\false\\quot\\;//crlf//>^
ID=806195|X=300|Y=123|W=1120|H=711|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:driver;//crlf////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab//title: \\quot\\\\quot\\;//crlf////tab//ID: \\quot\\\\quot\\;//crlf////tab//HashID: \\quot\\\\quot\\;//crlf////tab//driver: \\quot\\USDA_Fd_Group\\quot\\;//crlf////tab//name: \\quot\\\\quot\\;//crlf////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab//dispose: \\quot\\false\\quot\\;//crlf////tab//state: \\quot\\\\quot\\;//crlf////tab//params: \\quot\\keyexpression=FdGrp_Cd~~pipe~~CacheTtl=0~~pipe~~Metadata=USDA_Fd_Group\\quot\\;//crlf////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab//display: \\quot\\\\quot\\;//crlf////tab//fields: \\quot\\\\quot\\;//crlf////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab//sort: \\quot\\ID\\quot\\;//crlf////tab//filter: \\quot\\true\\quot\\;//crlf////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab//class: \\quot\\basic1\\quot\\;//crlf////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab//height:\\quot\\auto\\quot\\;//crlf////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab//EditDialogID: \\quot\\USDA_Fd_GroupDialog\\quot\\;//crlf////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab//Menu: \\quot\\\\quot\\;//crlf////tab//faq: \\quot\\\\quot\\;//crlf////tab//procedure: \\quot\\\\quot\\;//crlf////tab//video: \\quot\\\\quot\\;//crlf////tab//Messages: \\quot\\true\\quot\\;//crlf////tab//ChartType: \\quot\\\\quot\\;//crlf////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab//debug: \\quot\\false\\quot\\;//crlf//>^
ID=196411|X=300|Y=123|W=1120|H=711|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:driver;//crlf////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab//title: \\quot\\\\quot\\;//crlf////tab//ID: \\quot\\\\quot\\;//crlf////tab//HashID: \\quot\\\\quot\\;//crlf////tab//driver: \\quot\\USDA_Nut_Data\\quot\\;//crlf////tab//name: \\quot\\\\quot\\;//crlf////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab//dispose: \\quot\\false\\quot\\;//crlf////tab//state: \\quot\\\\quot\\;//crlf////tab//params: \\quot\\SensorName=openUSDANutData~~pipe~~Filename=<include type:expression; expression:getToken(\\quot\\packageurl_USDA_Nutritional_Database\\quot\\)>supporting_files\nut_data.txt~~pipe~~keyexpression=FdGrp_Cd~~pipe~~CacheTtl=0~~pipe~~Metadata=USDA_Nut_Data\\quot\\;//crlf////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab//display: \\quot\\\\quot\\;//crlf////tab//fields: \\quot\\\\quot\\;//crlf////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab//sort: \\quot\\ID\\quot\\;//crlf////tab//filter: \\quot\\true\\quot\\;//crlf////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab//class: \\quot\\basic1\\quot\\;//crlf////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab//height:\\quot\\auto\\quot\\;//crlf////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab//EditDialogID: \\quot\\USDA_Fd_Nut_Data\\quot\\;//crlf////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab//Menu: \\quot\\\\quot\\;//crlf////tab//faq: \\quot\\\\quot\\;//crlf////tab//procedure: \\quot\\\\quot\\;//crlf////tab//video: \\quot\\\\quot\\;//crlf////tab//Messages: \\quot\\true\\quot\\;//crlf////tab//ChartType: \\quot\\\\quot\\;//crlf////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab//debug: \\quot\\true\\quot\\;//crlf//>^
ID=996489|X=300|Y=123|W=1120|H=711|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=//tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter to group//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(\\apos\\test\\apos\\)\\quot\\\\quot\\;//crlf////tab////tab//Comment: \\quot\\Driver params are pipe-delimited and do not contain quotes\\quot\\;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterToGroup\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(\\apos\\$value$\\apos\\=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\Group_ID=$value$\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\USDA_Fd_Group_Name_by_ID\\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 to 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(\\apos\\test\\apos\\)\\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__FilterToText\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim(\\apos\\$value$\\apos\\))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\gte(pos(\\apos\\$value$\\apos\\\\comma\\Shrt_Desc\\plus\\Group_Name\\plus\\GmWt_Desc1\\plus\\GmWt_Desc2)\\comma\\0\\comma\\n)\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder=\\apos\\Contains Text\\apos\\\\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//<!include type:driver;//crlf////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab//title: \\quot\\\\quot\\;//crlf////tab//ID: \\quot\\\\quot\\;//crlf////tab//HashID: \\quot\\\\quot\\;//crlf////tab//driver: \\quot\\USDA_Abbrev\\quot\\;//crlf////tab//name: \\quot\\\\quot\\;//crlf////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab//dispose: \\quot\\false\\quot\\;//crlf////tab//state: \\quot\\\\quot\\;//crlf////tab//params: \\quot\\keyexpression=NDB_No~~pipe~~CacheTtl=0~~pipe~~Metadata=USDA_Abbrev\\quot\\;//crlf////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab//display: \\quot\\\\quot\\;//crlf////tab//fields: \\quot\\\\quot\\;//crlf////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab//sort: \\quot\\ID\\quot\\;//crlf////tab//filter: \\quot\\true\\quot\\;//crlf////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab//class: \\quot\\basic1\\quot\\;//crlf////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab//height:\\quot\\auto\\quot\\;//crlf////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab//EditDialogID: \\quot\\USDA_Abbrev\\quot\\;//crlf////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab//ExternalFilters: \\quot\\__salt__FilterToGroup\\comma\\__salt__FilterToText\\quot\\;//crlf////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab//Menu: \\quot\\\\quot\\;//crlf////tab//faq: \\quot\\\\quot\\;//crlf////tab//procedure: \\quot\\\\quot\\;//crlf////tab//video: \\quot\\\\quot\\;//crlf////tab//Messages: \\quot\\true\\quot\\;//crlf////tab//ChartType: \\quot\\\\quot\\;//crlf////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab//debug: \\quot\\false\\quot\\;//crlf//>
</widget><widget name="Inventory Metrics" group="" category="Metrics" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Inventory Metrics" modified="02-06-2018 00:45:27" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=02-03-2018 22:52:40: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=75|toolboxy=120|aspectfuncx=100|aspectfuncy=100|aspectfuncw=879|aspectfunch=718|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Inventory Metrics.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=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\\'112185')\\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\\'387184')\\quot\\>Metrics Table</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\\'469148')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=112185|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Metrics.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=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_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Metrics.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Inventory Metrics\\comma\\clearInventoryMetrics\\comma\\action_list\\comma\\Action=clearInventoryMetrics\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//clearInventoryMetrics//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\clearInventoryMetrics\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Clears all values in the TInventoryMetrics class//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\clearInventoryMetrics\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//setInventoryMetric()//crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=469148|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=151|Y=45|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=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=920831|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=920831|X=183|Y=204|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=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=151|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Inventory Metrics\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Metrics\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 02-03-2018 22:54:07//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\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Metrics\\comma\\AgentTerminate\\comma\\920831\\comma\\2\\comma\\//crlf////tab////tab//scriptSetResult(2)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=151|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;02032018//amp//nbsp;225407//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_Inventory//amp//nbsp;Metrics\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;02-03-2018//amp//nbsp;22:54:07</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(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=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=151|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=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=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>02032018 225407</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\\chart920831\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\98\\quot\\ style=\\quot\\width: 120px; height: 98px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Inventory Metrics</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\\chart920831\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 153px; left: -33px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\46\\quot\\ style=\\quot\\width: 120px; height: 46px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:black\\quot\\>Other</span></div></div>^
ID=387184|X=300|Y=123|W=964|H=660|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\{@formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)}\\quot\\=\\quot\\02042018\\quot\\) or (\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf////tab//<script ID=\\quot\\JS\\quot\\>//crlf////tab////tab//function clearInventoryMetrics(TableID\\comma\\s) {//crlf////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab//showDialog();//crlf////tab////tab////tab////tab//refreshTable(TableID\\comma\\\\quot\\refresh\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////tab////crlf////tab////tab////tab//showDialog(\\quot\\msg=Clearing metrics...\\amp\\icon=true\\quot\\);//crlf////tab////tab////tab////crlf////tab////tab////tab//var eTable=document.getElementById(TableID);//crlf////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab////tab//var sUrl=getServer()\\plus\\\\quot\\/?network=greenlight\\amp\\ID=getWidget\\amp\\source=\\quot\\\\plus\\sHashID;//crlf////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\amp\\Widget=Inventory Metrics\\amp\\ContainerItemID=action_list\\quot\\;//crlf////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\Action=clearInventoryMetrics\\amp\\ActionExec=true\\quot\\;//crlf////crlf////tab////tab////tab//var sFunc=\\quot\\clearInventoryMetrics(~~backslash~~\\quot\\\\quot\\\\plus\\TableID\\plus\\\\quot\\~~backslash~~\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab//function updateDailyInventorySummary(salt\\comma\\s) //crlf////tab////tab//{//crlf////tab////tab////tab////the table ID is the same as the salt//crlf////tab////tab////tab//TableID=salt;//crlf////crlf////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab//showDialog();//crlf////tab////tab////tab////tab//refreshTable(TableID\\comma\\\\quot\\refresh\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////tab////crlf////tab////tab////tab//var eTable=document.getElementById(TableID);//crlf////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////tab////tab////tab//var sStoreID=document.getElementById(salt\\plus\\\\quot\\SelectStore\\quot\\).value;//crlf////tab////tab////tab//var sDate2=document.getElementById(salt\\plus\\\\quot\\SelectDate2\\quot\\).value;//crlf////crlf////tab////tab////tab////abort if no store selected//crlf////tab////tab////tab//if(sStoreID==\\quot\\0\\quot\\) {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=No store selected<br><br>\\amp\\fnOk=close\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////abort if no date selected//crlf////tab////tab////tab//if(sDate2.length==0) {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=No date2 selected<br><br>\\amp\\fnOk=close\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////format the date as MM-dd-yyyy//crlf////tab////tab////tab//sDate2=sDate2.substring(5)\\plus\\\\quot\\-\\quot\\\\plus\\sDate2.substring(0\\comma\\4);//crlf////crlf////tab////tab////tab//showDialog(\\quot\\msg=Updating Daily Inventory Summary...\\amp\\icon=true\\quot\\);//crlf////tab////tab////tab////crlf////tab////tab////tab//var sUrl=getServer()\\plus\\\\quot\\/?network=greenlight\\amp\\ID=getWidget\\amp\\source=\\quot\\\\plus\\sHashID;//crlf////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\amp\\Widget=Daily Inventory Summary\\amp\\ContainerItemID=action_list\\quot\\;//crlf////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\Action=updateDailyInventorySummary\\amp\\ActionExec=true\\quot\\;//crlf////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\\\amp\\Date=\\quot\\\\plus\\sDate2;//crlf////crlf////tab////tab////tab//var sFunc=\\quot\\updateDailyInventorySummary(~~backslash~~\\quot\\\\quot\\\\plus\\salt\\plus\\\\quot\\~~backslash~~\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab//function updateInventoryExtensions(salt\\comma\\s) //crlf////tab////tab//{//crlf////tab////tab////tab////the table ID is the same as the salt//crlf////tab////tab////tab//TableID=salt;//crlf////crlf////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab//showDialog();//crlf////tab////tab////tab////tab//refreshTable(TableID\\comma\\\\quot\\refresh\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////tab////crlf////tab////tab////tab//var eTable=document.getElementById(TableID);//crlf////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////tab////tab////tab//var sStoreID=document.getElementById(salt\\plus\\\\quot\\SelectStore\\quot\\).value;//crlf////tab////tab////tab//var sDate1=document.getElementById(salt\\plus\\\\quot\\SelectDate1\\quot\\).value;//crlf////tab////tab////tab//var sDate2=document.getElementById(salt\\plus\\\\quot\\SelectDate2\\quot\\).value;//crlf////crlf////tab////tab////tab////abort if no store selected//crlf////tab////tab////tab//if(sStoreID==\\quot\\0\\quot\\) {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=No store selected<br><br>\\amp\\fnOk=close\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////abort if no date1 selected//crlf////tab////tab////tab//if(sDate1.length==0) {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=No date1 selected<br><br>\\amp\\fnOk=close\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////abort if no date2 selected//crlf////tab////tab////tab//if(sDate2.length==0) {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=No date2 selected<br><br>\\amp\\fnOk=close\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////format the date as MM-dd-yyyy//crlf////tab////tab////tab//sDate1=sDate1.substring(5)\\plus\\\\quot\\-\\quot\\\\plus\\sDate1.substring(0\\comma\\4);//crlf////tab////tab////tab//sDate2=sDate2.substring(5)\\plus\\\\quot\\-\\quot\\\\plus\\sDate2.substring(0\\comma\\4);//crlf////crlf////tab////tab////tab//showDialog(\\quot\\msg=Updating Inventory Extensions...\\amp\\icon=true\\quot\\);//crlf////tab////tab////tab////crlf////tab////tab////tab//var sUrl=getServer()\\plus\\\\quot\\/?network=greenlight\\amp\\ID=getWidget\\amp\\source=\\quot\\\\plus\\sHashID;//crlf////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\amp\\Widget=Inventory Extensions\\amp\\ContainerItemID=action_list\\quot\\;//crlf////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\Action=updateInventoryExtensions\\amp\\ActionExec=true\\quot\\;//crlf////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\\\amp\\DateFrom=\\quot\\\\plus\\sDate1\\plus\\\\quot\\\\amp\\DateTo=\\quot\\\\plus\\sDate2;//crlf////crlf////tab////tab////tab//var sFunc=\\quot\\updateInventoryExtensions(~~backslash~~\\quot\\\\quot\\\\plus\\salt\\plus\\\\quot\\~~backslash~~\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab//function updateCostOfSales(salt\\comma\\s) //crlf////tab////tab//{//crlf////tab////tab////tab////the table ID is the same as the salt//crlf////tab////tab////tab//TableID=salt;//crlf////crlf////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab//showDialog();//crlf////tab////tab////tab////tab//refreshTable(TableID\\comma\\\\quot\\refresh\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////tab////crlf////tab////tab////tab//var eTable=document.getElementById(TableID);//crlf////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////tab////tab////tab//var sStoreID=document.getElementById(salt\\plus\\\\quot\\SelectStore\\quot\\).value;//crlf////tab////tab////tab//var sDate1=document.getElementById(salt\\plus\\\\quot\\SelectDate1\\quot\\).value;//crlf////tab////tab////tab//var sDate2=document.getElementById(salt\\plus\\\\quot\\SelectDate2\\quot\\).value;//crlf////crlf////tab////tab////tab////abort if no store selected//crlf////tab////tab////tab//if(sStoreID==\\quot\\0\\quot\\) {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=No store selected<br><br>\\amp\\fnOk=close\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////abort if no date1 selected//crlf////tab////tab////tab//if(sDate1.length==0) {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=No date1 selected<br><br>\\amp\\fnOk=close\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////abort if no date2 selected//crlf////tab////tab////tab//if(sDate2.length==0) {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=No date2 selected<br><br>\\amp\\fnOk=close\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////format the date as MM-dd-yyyy//crlf////tab////tab////tab//sDate1=sDate1.substring(5)\\plus\\\\quot\\-\\quot\\\\plus\\sDate1.substring(0\\comma\\4);//crlf////tab////tab////tab//sDate2=sDate2.substring(5)\\plus\\\\quot\\-\\quot\\\\plus\\sDate2.substring(0\\comma\\4);//crlf////crlf////tab////tab////tab//showDialog(\\quot\\msg=Updating Cost of Sales...\\amp\\icon=true\\quot\\);//crlf////tab////tab////tab////crlf////tab////tab////tab//var sUrl=getServer()\\plus\\\\quot\\/?network=greenlight\\amp\\ID=getWidget\\amp\\source=\\quot\\\\plus\\sHashID;//crlf////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\ViewID=7edJYe8P\\quot\\;//crlf////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\\\amp\\DateFrom=\\quot\\\\plus\\sDate1\\plus\\\\quot\\\\amp\\DateTo=\\quot\\\\plus\\sDate2;//crlf////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\DimDriverParams=StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\//power//DateFrom=\\quot\\\\plus\\sDate1\\plus\\\\quot\\//power//DateTo=\\quot\\\\plus\\sDate2;//crlf////crlf////tab////tab////tab//var sFunc=\\quot\\updateInventoryExtensions(~~backslash~~\\quot\\\\quot\\\\plus\\salt\\plus\\\\quot\\~~backslash~~\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab//</script>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Utility to call agent actions for profiling//crlf////tab//--------------------------------------------------------------------------]//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Select Store//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<br>//crlf////tab//<!include type:Collection;//crlf////tab////tab//ID:\\quot\\__salt__SelectStore\\quot\\;//crlf////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\;//crlf////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab//Selected:\\quot\\crG9H1ucB9lBkKgYLITPE4el\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Starting date//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<input type=\\quot\\date\\quot\\ ID=\\quot\\__salt__SelectDate1\\quot\\ value=\\quot\\2018-01-01\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Ending date//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<input type=\\quot\\date\\quot\\ ID=\\quot\\__salt__SelectDate2\\quot\\ value=\\quot\\2018-01-28\\quot\\>//crlf////crlf////tab//(Use the table menu to execute an agent action)//crlf////tab//<hr>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Filter - Category//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterCategory\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(\\apos\\$value$\\apos\\=\\apos\\0\\apos\\)\\quot\\;//crlf////tab////tab//Expression:\\quot\\Category=\\apos\\$value$\\apos\\\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Metric_Category\\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//[!------------------------------------------------------------------------//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__FilterContainsText\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim(\\apos\\$value$\\apos\\))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\gte(pos(\\apos\\$value$\\apos\\\\comma\\Metric_Name\\plus\\Description\\plus\\Category)\\comma\\0\\comma\\n)\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder=\\apos\\Contains text\\apos\\\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_INVENTORY_METRIC\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_INVENTORY_METRIC\\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_BACK_OFFICE_INVENTORY_METRICDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\__salt__FilterContainsText\\comma\\__salt__FilterCategory\\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\\Clear Metrics~~pipe~~clearInventoryMetrics\\comma\\separator\\comma\\Update Daily Inventory Summary~~pipe~~updateDailyInventorySummary\\comma\\Update Inventory Extensions~~pipe~~updateInventoryExtensions\\comma\\Update Cost Of Sales~~pipe~~updateCostOfSales\\quot\\;//crlf////tab////tab//faq: \\quot\\5UdXp1j3\\quot\\;//crlf////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf////crlf//
</widget><widget name="Invoices" group="Invoices" category="" description="Contains driver and dialog used to edit invoices" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Invoices" modified="06-03-2019 12:31:33" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=03-08-2019 22:20:58:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=16|toolboxy=104|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Invoices.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'912565')\\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\\'419839')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=912565|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_KAV7tpXDgrrC34l3qOMpj1Sy_Invoices.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Invoices.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=419839|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=983583|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\\ style=\\quot\\min-width:150px\\quot\\>//crlf////tab//<option value='291424'>Doc</option>//crlf////tab//<option value='850881'>Invoice Table</option>//crlf////tab//<option value='260988'>Invoice Dialog</option>//crlf////tab//<option value='251686'>Invoice Detail Dialog</option>//crlf////tab//<option value='409305'>Placeholder2</option>//crlf////tab//<option value='167025'>Placeholder3</option>//crlf////tab//<option value='2253'>Placeholder4</option>//crlf////tab//<option value='204615'>Placeholder5</option>//crlf//</select>//crlf//^
ID=850881|X=151|Y=32|W=1236|H=2301|AutoHeight=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=983583|AttachLeft=|AlignLeft=983583|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!--servertimer=false-->//crlf//[!------------------------------------------------------------------------//crlf//Displays a table of invoices for the given store.  Can also be used to //crlf//edit a single invoice in a dialog.//crlf////crlf//Params://crlf////tab//StoreID - Store ID//crlf////tab//DialogOnly - If true\\comma\\ the table will be hidden and the edit dialog will //crlf////tab////tab//be displayed for the given InvoiceID//crlf////tab//InvoiceID - When DialogOnly is true\\comma\\ indicates the invoice to display in //crlf////tab////tab//the edit dialog//crlf//--------------------------------------------------------------------------]//crlf//<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_INVOICE\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\))}//crlf////tab//__DialogOnly__//crlf////tab//__InvoiceID__//crlf////tab//{tInvoiceDetailDataSubmitted}//crlf////tab//{@if(fileExists(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache/WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Invoices.html\\quot\\)\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\05272019\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//1.0//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Debugging//crlf//<include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\Ak85zY9qXtSZpYaVTw2gWGtC\\quot\\)>//crlf//--------------------------------------------------------------------------]//crlf////crlf//<conditional expression:(\\quot\\{@formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)}\\quot\\=\\quot\\05272019\\quot\\) or (\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Javascript for testing//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<script ID=\\quot\\JS850881\\quot\\>//crlf////crlf////tab////tab//var cSimInvoiceCount=0;//crlf////tab////tab//var cSimItemCount=0;//crlf////tab////tab//var cItemsToAdd=30;//crlf////tab////tab//var cInvoicesToAdd=5;//crlf////crlf////tab////tab//function simulateInvoiceEntry(salt) {//crlf////tab////tab////crlf////tab////tab////tab//var eButton=document.getElementById(salt\\plus\\\\quot\\SimButton\\quot\\);//crlf////crlf////tab////tab////tab////end simulation if currently simulating//crlf////tab////tab////tab//if(eButton.getAttribute(\\quot\\InSimulation\\quot\\).equalsIgnoreCase(\\quot\\true\\quot\\)) {//crlf////tab////tab////tab////tab//eButton.setAttribute(\\quot\\InSimulation\\quot\\\\comma\\\\quot\\false\\quot\\);//crlf////tab////tab////tab////tab//eButton.value=\\quot\\Simulate invoice entry\\quot\\;//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//eButton.setAttribute(\\quot\\InSimulation\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////tab////tab////tab//eButton.value=\\quot\\End Simulation\\quot\\;//crlf////crlf////tab////tab////tab//console.log(\\quot\\------------------------------\\quot\\);//crlf////tab////tab////tab//console.log(\\quot\\simulateInvoiceEntry salt=\\quot\\\\plus\\salt);//crlf////tab////tab////tab//console.log(\\quot\\------------------------------\\quot\\);//crlf////crlf////tab////tab////tab////insert an invoice//crlf////tab////tab////tab////console.log(\\quot\\insertTableRecord invoice\\quot\\\\plus\\salt);//crlf////tab////tab////tab//insertTableRecord(\\apos\\invoice\\apos\\\\plus\\salt);//crlf////crlf////tab////tab////tab////select a vendor//crlf////tab////tab////tab//var VendorName=\\quot\\Sysco\\quot\\;//crlf////tab////tab////tab//var VendorID=\\quot\\\\quot\\;//crlf////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\VendorID\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i\\plus\\\\plus\\) {//crlf////tab////tab////tab////tab//if(e.options[i].text.equalsIgnoreCase(VendorName)) {//crlf////tab////tab////tab////tab////tab//VendorID=e.options[i].value;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//if(VendorID.length==0) {//crlf////tab////tab////tab////tab//alert(\\quot\\Cannot locate \\quot\\\\plus\\VendorName\\plus\\\\quot\\ in vendor list\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//console.log(\\quot\\Selecting vendor\\quot\\);//crlf////tab////tab////tab//e.value=VendorID;//crlf////tab////tab////tab//vendorSelected(salt);//crlf////tab////tab////tab//submitDialogCell(e);//crlf////crlf////tab////tab////tab////enter an amount//crlf////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\InvoiceAmount\\quot\\);//crlf////tab////tab////tab//e.value=\\quot\\100\\quot\\;//crlf////tab////tab////tab//submitDialogCell(e);//crlf////tab////tab////tab//getTotalAmountEnteredFromTable(salt);//crlf////crlf////tab////tab////tab////enter a number//crlf////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\InvoiceNumber\\quot\\);//crlf////tab////tab////tab//e.value=\\quot\\1234\\quot\\;//crlf////tab////tab////tab//submitDialogCell(e);//crlf////crlf////tab////tab////tab//cSimItemCount=0;//crlf////tab////tab////tab//setTimeout(\\quot\\simulateItemEntry(\\apos\\\\quot\\\\plus\\salt\\plus\\\\quot\\\\apos\\)\\quot\\\\comma\\6000);//crlf////tab////tab//};//crlf////crlf////tab////tab//function templateExists(salt) {//crlf////tab////tab////tab//var table=document.getElementById(salt);//crlf////tab////tab////tab//var index=-1;//crlf////tab////tab////tab//for (var i=0;i<table.rows.length;i\\plus\\\\plus\\) {//crlf////tab////tab////tab////tab//var s=table.rows[i].getAttribute(\\quot\\ID\\quot\\);//crlf////tab////tab////tab////tab//if((s) \\amp\\\\amp\\ (s.equalsIgnoreCase(\\quot\\InsertTemplate\\quot\\\\plus\\salt)))//crlf////tab////tab////tab////tab//{//crlf////tab////tab////tab////tab////tab//var RowTemplate=table.rows[i];//crlf////tab////tab////tab////tab////tab//var s=RowTemplate.getAttribute(\\quot\\IsInitialized\\quot\\);//crlf////tab////tab////tab////tab////tab//if((s) \\amp\\\\amp\\ (s.equalsIgnoreCase(\\quot\\true\\quot\\))) {//crlf////tab////tab////tab////tab////tab////tab//return(true);//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab////tab//return(false);//crlf////tab////tab//};//crlf////crlf////tab////tab//function simulateItemEntry(salt) {//crlf////tab////tab////tab////console.log(\\quot\\------------------------------\\quot\\);//crlf////tab////tab////tab//console.log(\\quot\\simulateItemEntry cSimItemCount=\\quot\\\\plus\\cSimItemCount);//crlf////tab////tab////tab////console.log(\\quot\\------------------------------\\quot\\);//crlf////crlf////tab////tab////tab////abort if simulation has been canceled//crlf////tab////tab////tab//if(document.getElementById(salt\\plus\\\\quot\\SimButton\\quot\\).getAttribute(\\quot\\InSimulation\\quot\\).equalsIgnoreCase(\\quot\\false\\quot\\)) {//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////delay if table is not loaded yet//crlf////tab////tab////tab//if(!document.getElementById(salt)) {//crlf////tab////tab////tab////tab//console.log(\\quot\\Waiting to fable to load\\quot\\);//crlf////tab////tab////tab////tab//setTimeout(\\quot\\simulateItemEntry(\\apos\\\\quot\\\\plus\\salt\\plus\\\\quot\\\\apos\\)\\quot\\\\comma\\1000);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////delay if template used for new record is not avaliable yet//crlf////tab////tab////tab//if(templateExists(salt)==false) {//crlf////tab////tab////tab////tab//console.log(\\quot\\Waiting for record template\\quot\\);//crlf////tab////tab////tab////tab//setTimeout(\\quot\\simulateItemEntry(\\apos\\\\quot\\\\plus\\salt\\plus\\\\quot\\\\apos\\)\\quot\\\\comma\\1000);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////insert an item//crlf////tab////tab////tab//if(cSimItemCount==0) {//crlf////tab////tab////tab////tab////console.log(\\quot\\insertTableRecord \\quot\\\\plus\\salt);//crlf////tab////tab////tab////tab//insertTableRecord(salt);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab////click the add new item button//crlf////tab////tab////tab////tab//addAnotherInvoiceDetail(salt);//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//var eList=document.getElementById(salt\\plus\\\\quot\\InvoiceDetailSelectItem\\quot\\);//crlf////tab////tab////tab//var len=eList.options.length;//crlf////tab////tab////tab//var n=Math.round(Math.random()*len);//crlf////tab////tab////tab//n=Math.min(n\\comma\\len-1);//crlf////console.log(\\quot\\set item name: len=\\quot\\\\plus\\len\\plus\\\\quot\\ n=\\quot\\\\plus\\n\\plus\\\\quot\\ salt=\\quot\\\\plus\\salt);//crlf////tab////tab////tab//var ItemName=eList.options[n].value;//crlf////console.log(\\quot\\***** set item name: \\quot\\\\plus\\ItemName\\plus\\\\quot\\ len=\\quot\\\\plus\\len\\plus\\\\quot\\ n=\\quot\\\\plus\\n\\plus\\\\quot\\ salt=\\quot\\\\plus\\salt);//crlf////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\InvoiceDetailSelectItem_input\\quot\\);//crlf////tab////tab////tab//e.value=ItemName;//crlf////tab////tab////tab//invoiceDetailItemSelected(e);//crlf////crlf////tab////tab////tab////set the quantity//crlf////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\Quantity\\quot\\);//crlf////tab////tab////tab//e.value=\\quot\\1\\quot\\;//crlf////tab////tab////tab//invoiceDetailQuantityChanged(e\\comma\\salt);//crlf////crlf////tab////tab////tab////add another item//crlf////tab////tab////tab//cSimItemCount\\plus\\\\plus\\;//crlf////tab////tab////tab////console.log(\\quot\\cSimItemCount=\\quot\\\\plus\\cSimItemCount);//crlf////tab////tab////tab//if(cSimItemCount<cItemsToAdd) {//crlf////tab////tab////tab////tab//setTimeout(\\quot\\simulateItemEntry(\\apos\\\\quot\\\\plus\\salt\\plus\\\\quot\\\\apos\\)\\quot\\\\comma\\100);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab//setTimeout(\\quot\\finishInvoiceSim(\\apos\\\\quot\\\\plus\\salt\\plus\\\\quot\\\\apos\\)\\quot\\\\comma\\100);//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab//function finishInvoiceSim(salt) {//crlf////tab////tab////tab////close the detail dialog//crlf////tab////tab////tab////closeInvoiceDetailDialog(document.getElementById(salt\\plus\\\\quot\\CloseIcon\\quot\\));//crlf////crlf////tab////tab////tab////close the invoice dialog//crlf////tab////tab////tab////closeTableEditDialog(document.getElementById(\\apos\\Aspect_Back_Office_Invoice\\apos\\\\plus\\salt));//crlf////crlf////tab////tab////tab//cSimInvoiceCount\\plus\\\\plus\\;//crlf////tab////tab////tab//if(cSimInvoiceCount<cInvoicesToAdd) {//crlf////tab////tab////tab////tab//console.log(\\quot\\cSimInvoiceCount=\\quot\\\\plus\\cSimInvoiceCount);//crlf////tab////tab////tab////tab//setTimeout(\\quot\\simulateInvoiceEntry(\\apos\\\\quot\\\\plus\\salt\\plus\\\\quot\\\\apos\\)\\quot\\\\comma\\1000);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab//var eButton=document.getElementById(salt\\plus\\\\quot\\SimButton\\quot\\);//crlf////tab////tab////tab////tab//eButton.setAttribute(\\quot\\InSimulation\\quot\\\\comma\\\\quot\\false\\quot\\);//crlf////tab////tab////tab////tab//eButton.value=\\quot\\Simulate invoice entry\\quot\\;//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Include javascript//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:not(defined(\\quot\\__EditContainer__\\quot\\))>//crlf////tab////tab//<script ID=\\quot\\JSInvoices__salt__\\quot\\>//crlf////tab////tab////tab///*****************************************************************//crlf////tab////tab////tab//This function is called when the invoice table is refreshed.  It is used to //crlf////tab////tab////tab//display an invoice after it is imported.  The function used to import the invoice //crlf////tab////tab////tab//records the ID (key) of the new record in a hidden element.  When the table is //crlf////tab////tab////tab//refreshed\\comma\\ the dialog is displayed for the key.  They value is clear afterward so //crlf////tab////tab////tab//it will not be displayed again if the table is refreshed.//crlf////tab////tab////tab//*****************************************************************///crlf////tab////tab////tab//function tableRefreshedinvoice__salt__(TableID) {//crlf////tab////tab////tab////tab//var salt=TableID.substring(7);//crlf////tab////tab////tab////tab//var sKey=document.getElementById(\\quot\\invoice\\quot\\\\plus\\salt\\plus\\\\quot\\imported_invoice_recordid\\quot\\).value;//crlf////tab////tab////tab////tab//var table=document.getElementById(TableID);//crlf////tab////tab////tab////tab//if(sKey.length>0) {//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\TableID=\\quot\\\\plus\\TableID\\plus\\\\quot\\ salt=\\quot\\\\plus\\salt\\plus\\\\quot\\ sKey=\\quot\\\\plus\\sKey);//crlf////tab////tab////tab////tab////tab//var r=getTableRowContainingKey(table\\comma\\sKey);//crlf////tab////tab////tab////tab////tab//if(r>=0) {//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\key=\\quot\\\\plus\\sKey\\plus\\\\quot\\ r=\\quot\\\\plus\\r);//crlf////tab////tab////tab////tab////tab////tab//showTableEditDialogForRow(table\\comma\\r);//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab//document.getElementById(\\quot\\invoice\\quot\\\\plus\\salt\\plus\\\\quot\\imported_invoice_recordid\\quot\\).value=\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab////record default start date//crlf////tab////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\StartDate\\quot\\);//crlf////tab////tab////tab////tab//putDefault(\\quot\\DateFrom850881\\quot\\\\comma\\e.value);//crlf////tab////tab////tab//};//crlf////crlf////tab////tab//</script>//crlf////crlf////tab////tab//<script ID=\\quot\\JSInvoices\\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\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\; //crlf////tab////tab////tab////tab//widget:\\quot\\Inventory Drivers\\quot\\; //crlf////tab////tab////tab////tab//containerItemID:\\quot\\590607\\quot\\; //crlf////tab////tab////tab////tab//params:\\quot\\\\quot\\;>//tab////tab////crlf////tab////tab//</script>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Styles for dialog//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<style ID=\\quot\\CSInvoiceTable\\quot\\>//crlf////tab////tab//div.paste_invoice_dialog {display:none;width:100\\percent\\;max-width:600px;position:absolute;top:100px;left:100px;z-index:3}//crlf////tab////tab//div.paste_invoice_dialog_title_container {height:35px;background-color:\\pound\\e9e9e9;padding:5px 0px 5px 5px;margin:0px;border:solid 1px black;font-size:10pt;font-weight:bold;}//crlf////tab////tab//div.confirm_invoice_export {display:none;width:100\\percent\\;max-width:400px;position:absolute;top:100px;left:100px;z-index:3;}//crlf////tab////tab//div.confirm_invoice_export_title_container {height:35px;background-color:\\pound\\e9e9e9;padding:5px 0px 5px 5px;margin:0px;border:solid 1px black;font-size:10pt;font-weight:bold;}//crlf////crlf////tab////tab//@media only screen and (min-width:1024px) {//crlf////tab////tab////tab//div.paste_invoice_dialog_title_container {height:20px;padding:0px 0px 0px 5px};//crlf////tab////tab////tab//div.confirm_invoice_export_title_container {height:20px;padding:0px 0px 0px 5px};//crlf////tab////tab//};//crlf////tab//</style>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Dialog used to paste an invoice//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__PasteInvoiceDialog\\quot\\ class=\\quot\\paste_invoice_dialog\\quot\\>//crlf////tab////tab//<div class=\\quot\\paste_invoice_dialog_title_container\\quot\\>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Cancel Icon//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:right\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\clear\\quot\\ style=\\quot\\position:relative;top:-3px\\quot\\ onclick=\\quot\\setVisible(\\apos\\__salt__PasteInvoiceDialog\\apos\\\\comma\\false)\\quot\\></span>//crlf////tab////tab////tab//</div>//crlf////tab////crlf////tab////tab////tab//<div style=\\quot\\float:left\\quot\\>//crlf////tab////tab////tab////tab//Import Invoice From Clipboard//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Div containing the text area//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div style=\\quot\\border:solid 1px black;padding:5px;margin:0px;width:100\\percent\\;height:auto;background-color:white\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ style=\\quot\\float:right\\quot\\ value=\\quot\\Import Invoice\\quot\\ onClick=\\quot\\importPastedInvoice(\\apos\\__salt__\\apos\\)\\quot\\>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Textarea.  Note that the closing textarea tag must be on the same line as //crlf////tab////tab////tab//the opening tag or the placeholder will not be displayed.//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<textarea ID=\\quot\\__salt__PastedContent\\quot\\ style=\\quot\\width:100\\percent\\;height:300px\\quot\\ placeholder=\\quot\\Paste the contents of the invoice here\\quot\\></textarea>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Dialog used to confirm invoice export//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__confirm_invoice_export\\quot\\ class=\\quot\\confirm_invoice_export\\quot\\>//crlf////tab////tab//<div class=\\quot\\confirm_invoice_export_title_container\\quot\\>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Cancel Icon//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:right\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\clear\\quot\\ style=\\quot\\position:relative;top:-3px\\quot\\ onclick=\\quot\\setVisible(\\apos\\__salt__confirm_invoice_export\\apos\\\\comma\\false)\\quot\\></span>//crlf////tab////tab////tab//</div>//crlf////tab////crlf////tab////tab////tab//<div style=\\quot\\float:left\\quot\\>//crlf////tab////tab////tab////tab//Export Invoices//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div style=\\quot\\border:solid 1px black;background-color:white;padding:5px 5px 5px 5px;\\quot\\>//crlf////tab////tab////tab//<div style=\\quot\\clear:both\\quot\\>//crlf////tab////tab////tab////tab//Invoices will be exported if:<br><br>//crlf////tab////tab////tab////tab//<hr>//crlf////tab////tab////tab////tab//<ul>//crlf////tab////tab////tab////tab////tab//<li>\\quot\\Export to A/P\\quot\\ is enabled for the vendor</li>//crlf////tab////tab////tab////tab////tab//<li>The invoice is not marked as paid</li>//crlf////tab////tab////tab////tab////tab//<li>The invoice has not already been exported</li>//crlf////tab////tab////tab////tab//</ul>//crlf////tab////tab////tab////tab//<hr>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//<div style=\\quot\\text-align:right\\quot\\>//crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Continue\\quot\\ onClick=\\quot\\setVisible(\\apos\\__salt__confirm_invoice_export\\apos\\\\comma\\false);exportInvoicesSub(\\apos\\invoice__salt__\\apos\\)\\quot\\>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Development reminder//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\4idczse69\\quot\\) and (not(defined(\\quot\\__getContent__\\quot\\)))>//crlf////tab////tab//<hr>//crlf////tab////tab//<p><b>Note: The size unit collection is not initialized in the edit invoice detail dialog //crlf////tab////tab////tab//when this table is loaded from the development container.  It is initialized when the //crlf////tab////tab////tab//table is loaded from the UI.</b></p>//crlf////tab////tab//<hr>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Simulation button//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\4idczse69\\quot\\)>//crlf////tab////tab//<input InSimulation=\\quot\\false\\quot\\ ID=\\quot\\__salt__SimButton\\quot\\ type=\\quot\\button\\quot\\ value=\\quot\\Simulate invoice entry\\quot\\ onClick=\\quot\\cSimInvoiceCount=0;simulateInvoiceEntry(\\apos\\__salt__\\apos\\)\\quot\\>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//These values are used when importing an invoice//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__StoreID\\quot\\ value=\\quot\\__StoreID__\\quot\\>//crlf////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__StoreDirectory\\quot\\ value=\\quot\\{@getStoreDir(\\quot\\__StoreID__\\quot\\)}\\quot\\>//crlf////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__HomeDir\\quot\\ value=\\quot\\{@replaceSubstring(addDirSlash(getToken(\\quot\\homedir\\quot\\))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\~~backslash~~\\quot\\)}\\quot\\>//crlf////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\invoice__salt__imported_invoice_recordid\\quot\\ value=\\quot\\\\quot\\>//crlf////crlf////tab//<div style=\\quot\\margin:0px 0px 0px 10px\\quot\\>//crlf////tab////tab//<conditional expression:(not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab//<form name=\\quot\\__salt__form\\quot\\>//crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Filter: Start Date//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab//InputType:\\quot\\date\\quot\\;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__Salt__StartDate\\quot\\;//crlf////tab////tab////tab////tab////tab//Condition:\\quot\\not(len(trim(\\apos\\$value$\\apos\\))=0)\\quot\\;//crlf////tab////tab////tab////tab////tab//Expression:\\quot\\gte(date(Date\\comma\\true)\\comma\\dateNumber(\\apos\\$value$\\apos\\)\\comma\\\\apos\\n\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected: \\quot\\<include type:expression; expression:getDefault(\\quot\\DateFrom850881\\quot\\\\comma\\\\quot\\\\quot\\)>\\quot\\;//crlf////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\placeholder=\\apos\\mm-dd-yyyy\\apos\\ name=\\apos\\__salt__StartDt\\apos\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab//\\amp\\nbsp;-\\amp\\nbsp;//tab////tab////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Filter: End Date//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab//InputType:\\quot\\date\\quot\\;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__Salt__EndDate\\quot\\;//crlf////tab////tab////tab////tab////tab//Condition:\\quot\\not(len(trim(\\apos\\$value$\\apos\\))=0)\\quot\\;//crlf////tab////tab////tab////tab////tab//Expression:\\quot\\lte(date(Date\\comma\\true)\\comma\\dateNumber(\\apos\\$value$\\apos\\)\\comma\\\\apos\\n\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\placeholder=\\apos\\mm-dd-yyyy\\apos\\ name=\\apos\\__salt__EndDt\\apos\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Filter: Vendor//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab//InputType:\\quot\\Select\\quot\\;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__Salt__SelVendor\\quot\\;//crlf////tab////tab////tab////tab////tab//Condition:\\quot\\not(\\apos\\$value$\\apos\\=\\apos\\select\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab////tab//Expression:\\quot\\VendorID=\\apos\\$value$\\apos\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\style=\\quot\\width:200px\\quot\\ onChange=\\quot\\refreshTable(\\apos\\invoice__salt__\\apos\\\\comma\\\\apos\\refresh\\apos\\)\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Vendor_Names_By_ID_With_Select\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Filter: Invoice export status//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab//InputType:\\quot\\Select\\quot\\;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__Salt__ExportStatus\\quot\\;//crlf////tab////tab////tab////tab////tab//Condition:\\quot\\not(\\apos\\$value$\\apos\\=\\apos\\0\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab////tab//Expression:\\quot\\Is_Exported=$value$\\quot\\;//crlf////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\class=\\apos\\medium\\apos\\ onChange=\\quot\\refreshTable(\\apos\\invoice__salt__\\apos\\\\comma\\\\apos\\refresh\\apos\\)\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Invoice_Export_Status_for_Filter\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Contains text//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__salt__ContainsText\\quot\\;//crlf////tab////tab////tab////tab////tab//Condition:\\quot\\not(len(trim(\\apos\\$value$\\apos\\))=0)\\quot\\;//crlf////tab////tab////tab////tab////tab//Expression:\\quot\\gte(pos(\\apos\\$value$\\apos\\\\comma\\Number\\plus\\Date_Text\\plus\\Date_Text_w_slash\\plus\\Due_Date_Text\\plus\\Due_Date_Text_w_Slash\\plus\\Discount_Date_Text\\plus\\\\apos\\Vendor Name\\apos\\\\plus\\Amount_Text)\\comma\\0\\comma\\n)\\quot\\;//crlf////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\placeholder=\\apos\\Contains text\\apos\\ onChange=\\quot\\refreshTable(\\apos\\invoice__salt__\\apos\\\\comma\\\\apos\\refresh\\apos\\)\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Filter: Imported invoices only//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<span style=\\quot\\white-space:nowrap\\quot\\>//crlf////tab////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab////tab//InputType:\\quot\\checkbox\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ID:\\quot\\__salt__FilterImportedOnly\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Condition:\\quot\\boolean(\\apos\\$value$\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Expression:\\quot\\Is_Imported\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\refreshTable(\\apos\\invoice__salt__\\apos\\\\comma\\\\apos\\refresh\\apos\\)\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//> //crlf////tab////tab////tab////tab////tab//Imported invoices only//crlf////tab////tab////tab////tab//</span>//crlf////tab////tab////tab//</form>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\false)>//crlf////crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\invoice__salt__\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_INVOICE\\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\\gfs(getStoreDir(\\apos\\__StoreID__\\apos\\)\\plus\\\\apos\\invoice.bin\\apos\\)\\plus\\gfs(getStoreDir(\\apos\\__StoreID__\\apos\\)\\plus\\\\apos\\vendor.bin\\apos\\)\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=Aspect_Back_Office_Invoice\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//basefilter: \\quot\\//crlf////tab////tab////tab////tab//(true) //crlf////tab////tab////tab////tab//<conditional expression:defined(\\quot\\__InvoiceID__\\quot\\)>//crlf////tab////tab////tab////tab////tab//and (ID=\\quot\\__InvoiceID__\\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\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//<conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab////tab//style: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:(not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab//readOnly:\\quot\\__ReadOnly__\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Invoices~~pipe~~260988~~pipe~~Aspect_Back_Office_Invoice~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab//DialogOnly: \\quot\\__DialogOnly__\\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__ContainsText\\comma\\__Salt__StartDate\\comma\\__Salt__EndDate\\comma\\__Salt__ExportStatus\\comma\\__Salt__SelVendor\\comma\\__salt__FilterImportedOnly\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\Import Invoice From File~~pipe~~importInvoice\\comma\\Import Invoice From Clipboard~~pipe~~pasteInvoice\\comma\\separator\\comma\\Export Invoices~~pipe~~exportInvoices\\quot\\;//crlf////tab////tab////tab//faq: \\quot\\yvChqvhP\\quot\\;//crlf////tab////tab////tab//procedure: \\quot\\KEaTBFoE\\comma\\8Zszsg0E\\quot\\;//crlf////tab////tab////tab//video: \\quot\\pv8gz3Ji\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf////crlf////tab//<div style=\\quot\\width:100\\percent\\;min-width:100px;height:600px\\quot\\></div>//crlf//</conditional>//crlf////crlf//<conditional expression:not(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//</conditional>//crlf////crlf//__servertimerresults__^
ID=260988|X=151|Y=32|W=1066|H=639|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=983583|AttachLeft=|AlignLeft=983583|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//04-14-2016//crlf////crlf//To allow using DialogOnly=true to display this dialog in an inspect window\\comma\\ the//crlf//following steps have been taken://crlf////crlf//1.  The value of ItemID has been set in the hidden input with the ID of Menu_Item_ID__DialogID__//crlf//2.  A javascript statement has been included using a script element to refresh the table//crlf////tab////tab//when after it is loaded.  Otherwise\\comma\\ items in the table do not appear until the table//crlf////tab////tab//is manually refreshed.//crlf////crlf//See if these steps can be avoided through improvements in the standard javascript functions.//crlf//--------------------------------------------------------------------------]//crlf////crlf//<!include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__salt__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//{ htmlTable(\\quot\\__pageargs__\\quot\\\\comma\\\\quot\\~\\quot\\\\comma\\\\quot\\=\\quot\\)}//crlf//--------------------------------------------------------------------------]//crlf////crlf//<script ID=\\quot\\JSEditInvoice__salt__\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////crlf////tab////tab//JAVASCRIPT FUNCTIONS//crlf////crlf////tab////tab//tableRefreshed__salt__(TableID)//crlf////tab////tab////tab//This function updates the datalist used to select an item in the edit invoice detail//crlf////tab////tab////tab//dialog so the list includes item codes for the currently selected vendor.  //crlf////crlf////tab////tab//updateDefaultPurchaseInfo()//crlf////crlf////tab////tab//updateDefaultPurchaseInfoGotResult(s)//crlf////crlf////tab////tab//invoiceDialogOpened(DialogID)//crlf////tab////tab////tab//Called when a dialog is opened to edit an invoice//crlf////crlf////tab////tab//hideInvoiceDetailsTableBody(salt)//crlf////tab////tab////tab//This function is called from the initialization function above.  It hides //crlf////tab////tab////tab//the table body when the dialog is first opened so a table from a previous //crlf////tab////tab////tab//invoice will not be displayed while the table is refreshed.//crlf////crlf////tab////tab//vendorSelected(salt\\comma\\DialogOpening) //crlf////tab////tab////tab//Called when a vendor is selected in the edit invoice dialog//crlf////crlf////tab////tab//setInvoiceTDWidths(DialogID)//crlf////tab////tab////tab//The tables used to get the vendor\\comma\\ invoice date\\comma\\ etc at the top of the //crlf////tab////tab////tab//invoice are displayed inline when the screen size descreases. //crlf////tab////tab////tab////crlf////tab////tab////tab//This function Sets the width of the first td cell in each row to the maximum width of any //crlf////tab////tab////tab//of the first td cells in a row.  This is used to standardize the width of the //crlf////tab////tab////tab//first td cell in each row when the table is displayed inline//crlf////crlf////tab////tab//tableRefreshedOnInterval__salt__(TableID)//crlf////tab////tab////tab//This listener function is called by the refreshTableOnInterval() function //crlf////tab////tab////tab//when a table has been refreshed by merging new or modified records into //crlf////tab////tab////tab//the table//crlf////crlf////tab////tab//tableDataSubmitted__salt__(TableID)//crlf////tab////tab////tab//Called when data is submitted for the invoice detail table//crlf////crlf////tab////tab//tableDataSubmissionComplete__salt__(TableID)//crlf////tab////tab////tab//Called when data has been submitted to the table and all submissions are complete.//crlf////crlf////tab////tab//getTotalAmountEnteredFromTable(TableID)//crlf////tab////tab////tab//Calculates the total extended price for all items entered on the invoice.//crlf////tab////tab////tab//This function is called by the tableDataSubmitted listener.//crlf////tab////tab////tab//This function updates the logged amount more quickly than making a call to the//crlf////tab////tab////tab//source computer.  It will abort if the extended_price (amount) field is not //crlf////tab////tab////tab//included in the table.  The call is still made to getTotalAmountEntered() //crlf////tab////tab////tab//when all submissions are complete so the amount will be updated even if this//crlf////tab////tab////tab//fails.//crlf////crlf////tab////tab//getTotalAmountEntered(TableID\\comma\\LastInvoiceID\\comma\\s)//crlf////tab////tab////tab//Makes a call to the server to get the total extended price for all items entered on the invoice.//crlf////crlf////tab////tab//updateItemDatalists(salt)//crlf////tab////tab////tab//This function updates the two datalists associated with the item input field in the //crlf////tab////tab////tab//invoice detail dialog.  One datalist contains all items and the other contains only //crlf////tab////tab////tab//items purchased from the selected vendor.  Both lists include the vendor code in the //crlf////tab////tab////tab//item name.  The lists are updated by reading from the master list in the invoice dialog.//crlf////crlf////tab////tab//updatesInvoiceDetailSelectItemAlt(salt)//crlf////tab////tab////tab//This function is called after the alternate item list containing items supplied//crlf////tab////tab////tab//by the selected vendor is updated.  The update is initiated by vendorSelected() //crlf////tab////tab////tab//when the vendor selection changes.//crlf////tab////tab////tab//alert(\\quot\\updatesInvoiceDetailSelectItemAlt: \\quot\\\\plus\\salt);//crlf////crlf////tab////tab//initializeDefaultInvoice(TableID\\comma\\s)//crlf////tab////tab////tab//Initializes an invoice by adding all items purchased from the selected //crlf////tab////tab////tab//vendor to the invoice details.  The items are determined by past invoices//crlf////tab////tab////tab//and are sorted in the order they appear on past invoices//crlf////tab//--------------------------------------------------------------------------]//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//This function is called by refreshTable() when the invoice detail table is refreshed.//crlf////tab//This function updates the datalist used to select an item in the edit invoice detail//crlf////tab//dialog so the list includes item codes for the currently selected vendor.  //crlf////crlf////tab//The collections refreshed by this function are both located in the edit invoice detail //crlf////tab//dialog.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function tableRefreshed__salt__(TableID) {//crlf////tab////tab////appendToLog(\\quot\\tableRefreshed: \\quot\\\\plus\\TableID);//crlf////crlf////tab////tab////Added Feb 2018//crlf////tab////tab//updateItemDatalists(TableID);//crlf////crlf////tab////tab////show the total amount entered on the invoice//crlf////tab////tab//getTotalAmountEnteredFromTable(TableID);//crlf////crlf////tab////tab////record the amount of time required to open the dialog//crlf////tab////tab////Note that TableID is the same as salt since the table ID is set to salt when it is created//crlf////tab////tab//var eTimeOpened=document.getElementById(TableID\\plus\\\\quot\\TimeOpened\\quot\\);//crlf////tab////tab//if(eTimeOpened) {//crlf////tab////tab////tab//var iTimeOpened=parseInt(eTimeOpened.value);//crlf////tab////tab////tab//if(iTimeOpened>0) {//crlf////tab////tab////tab////tab//var sInvoiceNumber=document.getElementById(TableID\\plus\\\\quot\\InvoiceNumber\\quot\\).value;//crlf////tab////tab////tab////tab//if(sInvoiceNumber.trim().length==0) sInvoiceNumber=\\quot\\No Number\\quot\\;//crlf////tab////tab////tab////tab//var sInvoiceDate=document.getElementById(TableID\\plus\\\\quot\\InvoiceDate\\quot\\).value;//crlf////tab////tab////tab////tab//var s=\\quot\\Edit Invoice: \\quot\\\\plus\\sInvoiceNumber\\plus\\\\quot\\: \\quot\\\\plus\\sInvoiceDate;//crlf////tab////tab////tab////tab//gaevt(\\quot\\View\\quot\\\\comma\\\\quot\\ViewUpdate\\quot\\\\comma\\s\\comma\\new Date().getTime()-iTimeOpened); //crlf////crlf////tab////tab////tab////tab////set the timeopened attribute to 0 so it will not be recorded again if the //crlf////tab////tab////tab////tab////table is refreshed from the table menu//crlf////tab////tab////tab////tab//eTimeOpened.value=0;//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab//};//crlf////crlf////tab//function updateDefaultPurchaseInfo() {//crlf////crlf////tab////tab//var sID=\\quot\\__salt__DefaultPurchaseInfo\\quot\\;//crlf////tab////tab//e=document.getElementById(sID);//crlf////tab////tab//if(!e) {//crlf////tab////tab////tab//appendToLog(\\quot\\updateDefaultPurchaseInfo: cannot locate \\quot\\\\plus\\sID);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//var sCollectionID=\\quot\\Aspect_BackOffice_Default_Purchase_Info_2018b\\quot\\;//crlf////tab////tab//var sSource=e.getAttribute(\\quot\\source\\quot\\);//crlf////tab////tab//var sFilter=e.getAttribute(\\quot\\filter\\quot\\);//crlf////tab////tab//var sParams=e.getAttribute(\\quot\\params\\quot\\);//crlf////crlf////tab////tab//var sUrl=getServer()\\plus\\\\quot\\/?Network=Greenlight\\amp\\ID=getWidget\\amp\\DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em\\amp\\Widget=Notification Queries\\quot\\;//crlf////tab////tab//sUrl \\plus\\=\\quot\\\\amp\\query=getHtmlSelectOptions\\quot\\;//crlf////tab////tab//sUrl \\plus\\=\\quot\\\\amp\\CollectionID=\\quot\\\\plus\\sCollectionID;//crlf////tab////tab//sUrl \\plus\\=\\quot\\\\amp\\Source=\\quot\\\\plus\\sSource;//crlf////tab////tab//sUrl \\plus\\=\\quot\\\\amp\\Filter=\\quot\\\\plus\\sFilter;//crlf////tab////tab//sUrl \\plus\\=\\quot\\\\amp\\DriverParams=\\quot\\\\plus\\sParams;//crlf////tab////tab//sUrl \\plus\\=\\quot\\\\amp\\SystemDriverN\\quot\\\\plus\\\\quot\\ame=\\quot\\;//crlf////crlf////tab////tab//var sFunc=\\quot\\updateDefaultPurchaseInfoGotResult(s)\\quot\\;//crlf////tab////tab//appendToLog(\\quot\\updateDefaultPurchaseInfo: sFunc=\\quot\\\\plus\\sFunc);//crlf////tab////tab//appendToLog(\\quot\\updateDefaultPurchaseInfo: sUrl=\\quot\\\\plus\\sUrl);//crlf////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab//};//crlf////crlf////tab//function updateDefaultPurchaseInfoGotResult(s) {//crlf////tab////tab//var sID=\\quot\\__salt__DefaultPurchaseInfo\\quot\\;//crlf////tab////tab//var e=document.getElementById(sID);//crlf////tab////tab//if(!e) {//crlf////tab////tab////tab//appendToLog(\\quot\\updateDefaultPurchaseInfoGotResult: cannot locate \\quot\\\\plus\\sID);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////if got data...//crlf////tab////tab//if(s) {//crlf////tab////tab////tab//appendToLog(\\quot\\updateDefaultPurchaseInfoGotResult: got data len=\\quot\\\\plus\\s.length);//crlf////tab////tab////tab//setOptions(e\\comma\\s);//crlf////tab////tab////tab//s=e.innerHTML;//crlf////tab////tab////tab//s=replaceAllSubstrings(s\\comma\\\\quot\\//power//\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab//e.innerHTML=s;//crlf////tab////tab////tab//updateItemDatalists(\\quot\\__salt__\\quot\\);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//appendToLog(\\quot\\updateDefaultPurchaseInfoGotResult: Error: No data\\quot\\);//crlf////tab////tab//};//crlf////crlf////tab//};//crlf////crlf//</script>//crlf////crlf//<script ID=\\quot\\JSEditInvoice\\quot\\>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when a dialog is opened to edit an invoice//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function invoiceDialogOpened(DialogID) {//crlf////tab////tab//appendToLog(\\quot\\invoiceDialogOpened\\quot\\);//crlf////tab////tab//var d=document.getElementById(DialogID);//crlf////tab////tab//var salt=d.getAttribute(\\quot\\salt\\quot\\);//crlf////tab////tab//var DialogIDSalt=d.getAttribute(\\quot\\DialogIDSalt\\quot\\);//crlf////crlf////tab////tab////record the time the dialog was opened as an attribute in the dialog.  This is used by the //crlf////tab////tab////tableRefreshed function below to record the amount of time required to initialize the dialog//crlf////tab////tab//document.getElementById(salt\\plus\\\\quot\\TimeOpened\\quot\\).value=new Date().getTime();//crlf////crlf////tab////tab//setInvoiceTDWidths(DialogIDSalt);//crlf////crlf////tab////tab////hide invoice details until a vendor is selected//crlf////tab////tab//var sVendorID=document.getElementById(salt\\plus\\\\quot\\VendorID\\quot\\).value;//crlf////tab////tab//var sHasDetails=document.getElementById(salt\\plus\\\\quot\\HasDetails\\quot\\).value;//crlf////tab////tab//appendToLog(\\quot\\VendorID=\\quot\\\\plus\\sVendorID\\plus\\\\quot\\ HasDetails=\\quot\\\\plus\\sHasDetails);//crlf////crlf////tab////tab////if the invoice has details\\comma\\ then show the table//crlf////tab////tab//if(sHasDetails.equalsIgnoreCase(\\quot\\true\\quot\\)) {//crlf////tab////tab////tab////hide the table body so a table populated for a prior dialog will not be displayed when//crlf////tab////tab////tab////inserting a new record//crlf////tab////tab////tab//hideInvoiceDetailsTableBody(salt);//crlf////crlf////tab////tab////tab//setVisible(salt\\plus\\\\quot\\InvoiceDetailTableContainer\\quot\\\\comma\\true);//crlf////tab////tab////tab//setVisible(salt\\plus\\\\quot\\SelectVendor\\quot\\\\comma\\false);//crlf////crlf////tab////tab////tab////set the value of the external driver param used to pass the Vendor ID to the details table//crlf////tab////tab////tab////and refresh the table//crlf////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\VendorIDParam\\quot\\);//crlf////tab////tab////tab//if(e.value!=sVendorID) {//crlf////tab////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\VendorIDParam\\quot\\).value=sVendorID;//crlf////tab////tab////tab//};//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab////if a vendor is not selected\\comma\\ hide the table//crlf////tab////tab////tab//if((sVendorID==\\quot\\0\\quot\\) ~~pipe~~~~pipe~~ (sVendorID.equalsIgnoreCase(\\quot\\select\\quot\\)) ~~pipe~~~~pipe~~ (sVendorID.length==0)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\InvoiceDetailTableContainer\\quot\\\\comma\\false);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\SelectVendor\\quot\\\\comma\\true);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab////hide the table body so a table populated for a prior dialog will not be displayed when//crlf////tab////tab////tab////tab////inserting a new record//crlf////tab////tab////tab////tab//hideInvoiceDetailsTableBody(salt);//crlf////tab////crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\InvoiceDetailTableContainer\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\SelectVendor\\quot\\\\comma\\false);//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab////clear the field showing the amount logged.  It will be updated when the table is loaded.//crlf////tab////tab////It is no longer necessary to set the pending submission style since the value is calculated //crlf////tab////tab////from the table and takes no time//crlf////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\TotalExtendedPrice\\quot\\);//crlf////tab////tab//e.value=\\quot\\\\quot\\;//crlf////tab////tab////setPendingSubmissionStyle(e\\comma\\false\\comma\\true);//crlf////crlf////tab////tab////hide the icon that indicates the amount logged equals the invoice amount//crlf////tab////tab//setVisible(salt\\plus\\\\quot\\LoggedAmountMatchesIcon\\quot\\\\comma\\false);//crlf////crlf////tab////tab//var InvoiceID=document.getElementById(salt\\plus\\\\quot\\InvoiceID\\quot\\).value;//crlf////tab////tab//var StoreID=document.getElementById(salt\\plus\\\\quot\\StoreID\\quot\\).value;//crlf////crlf////tab////tab////Update the Edit_Count and Date_Last_Edited values for the invoice record.  These//crlf////tab////tab////are used to determine if an imported invoice has been edited.  These are used to //crlf////tab////tab////let users know when an invoice has been imported but not edited or reviewed.//crlf////tab////tab//var sUrl=getServer()\\plus\\\\quot\\/?Network=GreenLight\\amp\\ID=getWidget\\quot\\;//crlf////tab////tab//sUrl \\plus\\=\\quot\\\\amp\\DocumentID=L4HxWEciR8sT7E30IKVZXD70\\amp\\Widget=Import Vendor Invoice\\quot\\;//crlf////tab////tab//sUrl \\plus\\=\\quot\\\\amp\\ContainerItemID=action_list\\amp\\action=setInvoiceEditedFlag\\amp\\ActionExec=true\\quot\\;//crlf////tab////tab//sUrl \\plus\\=\\quot\\\\amp\\StoreID=\\quot\\\\plus\\StoreID\\plus\\\\quot\\\\amp\\InvoiceID=\\quot\\\\plus\\InvoiceID;//crlf////tab////tab//sUrl \\plus\\=\\quot\\\\amp\\Source=<!!!include type:expression; expression:getToken(\\quot\\AspectHashID\\quot\\)>\\quot\\;//crlf////tab////tab//asynchInclude(null\\comma\\sUrl);//crlf////crlf////tab////tab//return(true);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//This function is called from the initialization function above.  It hides //crlf////tab//the table body when the dialog is first opened so a table from a previous //crlf////tab//invoice will not be displayed while the table is refreshed.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function hideInvoiceDetailsTableBody(salt) {//crlf////tab////tab//var ePriorTable=document.getElementById(salt);//crlf////tab////tab//if(ePriorTable) {//crlf////tab////tab////tab//if(ePriorTable.tBodies[0]) {//crlf////tab////tab////tab////tab//setVisible(ePriorTable.tBodies[0]\\comma\\false);//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when a vendor is selected in the edit invoice dialog//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function vendorSelected(salt\\comma\\DialogOpening) //crlf////tab//{//crlf////tab////tab//var sVendorID=document.getElementById(salt\\plus\\\\quot\\VendorID\\quot\\).value;//crlf////crlf////tab////tab////show the table of invoice details//crlf////tab////tab//setVisible(salt\\plus\\\\quot\\InvoiceDetailTableContainer\\quot\\\\comma\\true);//crlf////tab////tab//setVisible(salt\\plus\\\\quot\\SelectVendor\\quot\\\\comma\\false);//crlf////crlf////tab////tab////set the value of the external driver param used to pass the Vendor ID to the details table//crlf////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\VendorIDParam\\quot\\);//crlf////tab////tab//if(e.value!=sVendorID) {//crlf////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\VendorIDParam\\quot\\).value=sVendorID;//crlf////tab////tab////tab////removed Feb 2018//crlf////tab////tab////tab////refreshTable(salt);//crlf////tab////tab//}//crlf////crlf////tab////tab////update the datalists associated with the item input field in the invoice detail dialog//crlf////tab////tab////This includes the vendor code in the item name and sets the contents of the 2nd datalist//crlf////tab////tab////to only items supplied by the selected vendor//crlf////tab////tab//updateItemDatalists(salt);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//The tables used to get the vendor\\comma\\ invoice date\\comma\\ etc at the top of the //crlf////tab//invoice are displayed inline when the screen size descreases. //crlf////tab////crlf////tab//This function Sets the width of the first td cell in each row to the maximum width of any //crlf////tab//of the first td cells in a row.  This is used to standardize the width of the //crlf////tab//first td cell in each row when the table is displayed inline//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function setInvoiceTDWidths(DialogID) {//crlf////tab////tab//var arTable=new Array();//crlf////tab////tab//arTable[0]=document.getElementById(DialogID\\plus\\\\quot\\InvoiceDialogTable1\\quot\\);//crlf////tab////tab//arTable[1]=document.getElementById(DialogID\\plus\\\\quot\\InvoiceDialogTable2\\quot\\);//crlf////tab////tab//arTable[2]=document.getElementById(DialogID\\plus\\\\quot\\InvoiceDialogTable3\\quot\\);//crlf////crlf////tab////tab//if(arTable[0].getAttribute(\\quot\\TDWidthInitialized\\quot\\)) return;//crlf////tab////tab//arTable[0].setAttribute(\\quot\\TDWidthInitialized\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////crlf////tab////tab//var iMaxWidth=0;//crlf////tab////tab//for(var i=0;i<arTable.length;i\\plus\\\\plus\\) {//crlf////tab////tab////tab//for(var j=0;j<arTable[i].rows.length;j\\plus\\\\plus\\) {//crlf////tab////tab////tab////tab//iMaxWidth=Math.max(iMaxWidth\\comma\\arTable[i].rows[j].cells[0].offsetWidth);//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab////add some more padding//crlf////tab////tab////iMaxWidth\\plus\\=10;//crlf////crlf////tab////tab//for(var i=0;i<arTable.length;i\\plus\\\\plus\\) {//crlf////tab////tab////tab//for(var j=0;j<arTable[i].rows.length;j\\plus\\\\plus\\) {//crlf////tab////tab////tab////tab//arTable[i].rows[j].cells[0].style.width=iMaxWidth\\plus\\\\quot\\px\\quot\\;//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//This listener function is called by the refreshTableOnInterval() function //crlf////tab//when a table has been refreshed by merging new or modified records into //crlf////tab//the table//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function tableRefreshedOnInterval__salt__(TableID) {//crlf////tab////tab////show the total amount entered on the invoice//crlf////tab////tab//getTotalAmountEnteredFromTable(TableID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when data is submitted for the invoice detail table//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function tableDataSubmitted__salt__(TableID) {//crlf////tab////tab//var e=document.getElementById(TableID\\plus\\\\quot\\TotalExtendedPrice\\quot\\);//crlf////tab////tab////setPendingSubmissionStyle(e\\comma\\false\\comma\\true);//crlf////crlf////tab////tab////update the total logged field in the invoice header.  A timeout is used so//crlf////tab////tab////processing of the data submission will not be interrupted if an error occurs//crlf////tab////tab//setTimeout(\\quot\\getTotalAmountEnteredFromTable(\\apos\\\\quot\\\\plus\\TableID\\plus\\\\quot\\\\apos\\)\\quot\\\\comma\\100);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when data has been submitted to the table and all submissions are complete.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function tableDataSubmissionComplete__salt__(TableID) {//crlf////tab////tab////alert(\\quot\\tableDataSubmissionComplete__salt__\\quot\\);//crlf////crlf////tab////tab////update the total logged field in the invoice header.  A timeout is used so//crlf////tab////tab////processing of the data submission will not be interrupted if an error occurs//crlf////tab////tab//setTimeout(\\quot\\getTotalAmountEnteredFromTable(\\apos\\\\quot\\\\plus\\TableID\\plus\\\\quot\\\\apos\\)\\quot\\\\comma\\100);//crlf////crlf////tab////tab////This is no longer used as of 2/2018.  It creates too many calls when working remotely //crlf////tab////tab////through the server.  It shouldn\\apos\\t be necessary either if the amount is displayed in //crlf////tab////tab////the table.//crlf////tab////tab//if(false) {//crlf////tab////tab////tab////Set the submission style to indicate that the total needs to be updated.//crlf////tab////tab////tab////However\\comma\\ only update the field when there are no outstanding submissions for the table.//crlf////tab////tab////tab////This function is called whenever a data submission has been completed\\comma\\ not just when//crlf////tab////tab////tab////all submissions are complete.  Calling the getTotalAmountEntered() function creates//crlf////tab////tab////tab////a burden when editing invoices on a remote computer.//crlf////tab////tab////tab//var e=document.getElementById(TableID\\plus\\\\quot\\TotalExtendedPrice\\quot\\);//crlf////tab////tab////tab////setPendingSubmissionStyle(e\\comma\\false\\comma\\true);//crlf////tab////tab////tab//if(countPendingSubmissions(TableID)==0)//tab//getTotalAmountEntered(TableID);//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Calculates the total extended price for all items entered on the invoice.//crlf////tab//This function is called by the tableDataSubmitted listener.//crlf////tab//This function updates the logged amount more quickly than making a call to the//crlf////tab//source computer.  It will abort if the extended_price (amount) field is not //crlf////tab//included in the table.  The call is still made to getTotalAmountEntered() //crlf////tab//when all submissions are complete so the amount will be updated even if this//crlf////tab//function fails.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function getTotalAmountEnteredFromTable(TableID) {//crlf////tab////tab//appendToLog(\\quot\\getTotalAmountEnteredFromTable: \\quot\\\\plus\\TableID);//crlf////tab////tab//var table=document.getElementById(TableID);//crlf////tab////tab//if(!table) return;//crlf////crlf////tab////tab//var arFieldID=getSubStringArray(table.getAttribute(\\quot\\aspectFields\\quot\\)\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\true);//crlf////tab////tab//appendToLog(\\quot\\arFieldID=\\quot\\\\plus\\arFieldID);//crlf////crlf////tab////tab////get first row in table not including template//crlf////tab////tab//var row=null;//crlf////tab////tab//for (var i=0;(!row) \\amp\\\\amp\\ (i<table.rows.length);i\\plus\\\\plus\\) {//crlf////tab////tab////tab//if(table.rows[i].getAttribute(\\quot\\keyvalue\\quot\\)) {//crlf////tab////tab////tab////tab//row=table.rows[i];//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab////tab////crlf////tab////tab////abort if row not found//crlf////tab////tab//if(!row) {//crlf////tab////tab////tab//appendToLog(\\quot\\Could not locate first row in table\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////determine the cell containing the amount//crlf////tab////tab//var iCellIndex=-1;//crlf////tab////tab//for (var i=0;i<arFieldID.length;i\\plus\\\\plus\\) {//crlf////tab////tab////tab//if(arFieldID[i].equalsIgnoreCase(\\quot\\Extended_Price\\quot\\)) {//crlf////tab////tab////tab////tab//iCellIndex=i;//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab////this was the old method.  It does not work when fields are added to the table.//crlf////tab////tab//if(false) {//crlf////tab////tab////tab//for (var i=0;i<row.cells.length;i\\plus\\\\plus\\) {//crlf////tab////tab////tab////tab//var sCellIndex=row.cells[i].getAttribute(\\quot\\CellIndex\\quot\\);//crlf////tab////tab////tab////tab//if(sCellIndex) {//crlf////tab////tab////tab////tab////tab//var iCellIndex=parseInt(sCellIndex);//crlf////tab////tab////tab////tab////tab//var sFieldID=arFieldID[iCellIndex];//crlf////tab////tab////tab////tab////tab//if(sFieldID) {//crlf////tab////tab////tab////tab////tab////tab//if(sFieldID.equalsIgnoreCase(\\quot\\Extended_Price\\quot\\)) {//crlf////tab////tab////tab////tab////tab////tab////tab//iCellIndex=i;//crlf////tab////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab//if(iCellIndex<0) {//crlf////tab////tab////tab//appendToLog(\\quot\\Could not determine cell containing amount\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////adjust the index to allow for the edit icon and inspect menu//crlf////tab////tab//iCellIndex\\plus\\=3;//crlf////tab////tab//appendToLog(\\quot\\getTotalAmountEnteredFromTable iCellIndex=\\quot\\\\plus\\iCellIndex)//crlf////crlf////tab////tab//var dAmount=0;//crlf////tab////tab//for(var i=0;i<table.rows.length;i\\plus\\\\plus\\) {//crlf////tab////tab////tab//if(table.rows[i].getAttribute(\\quot\\keyvalue\\quot\\)) {//crlf////tab////tab////tab////tab//var eNode=table.rows[i].cells[iCellIndex].childNodes[0];//crlf////tab////tab////tab////tab//var s=replaceAllSubstrings(eNode.innerHTML\\comma\\\\quot\\\\amp\\nbsp;\\quot\\\\comma\\\\quot\\\\quot\\).trim();//crlf////tab////tab////tab////tab//var s=replaceAllSubstrings(s\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\quot\\);//crlf////tab////tab////tab////tab////appendToLog(\\quot\\eNode.type=\\quot\\\\plus\\eNode.type\\plus\\\\quot\\ innerHTML=\\quot\\\\plus\\eNode.innerHTML\\plus\\\\quot\\ s=\\quot\\\\plus\\s);//crlf////tab////tab////tab////tab//if(s.length>0) {//crlf////tab////tab////tab////tab////tab//var d=parseFloat(s);//crlf////tab////tab////tab////tab////tab//dAmount\\plus\\=d;//crlf////tab////tab////tab////tab////tab//dAmount=Math.round(dAmount*100)/100;//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Adding extended price1: [\\quot\\\\plus\\s\\plus\\\\quot\\] d=\\quot\\\\plus\\d\\plus\\\\quot\\ dAmount=\\quot\\\\plus\\dAmount);//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab////appendToLog(\\quot\\dAmount=\\quot\\\\plus\\dAmount);//crlf////tab////tab//var e=document.getElementById(TableID\\plus\\\\quot\\TotalExtendedPrice\\quot\\);//crlf////tab////tab//e.value=formatNumber(dAmount\\comma\\\\quot\\\\pound\\\\pound\\\\pound\\\\comma\\\\pound\\\\pound\\\\pound\\.00\\quot\\);//crlf////tab////tab////setPendingSubmissionStyle(e\\comma\\false\\comma\\false);//crlf////crlf////tab////tab////show icon indicating that logged amount equals invoice amount//crlf////tab////tab//var eInvoiceAmount=document.getElementById(TableID\\plus\\\\quot\\InvoiceAmount\\quot\\);//crlf////tab////tab//var dInvoiceAmount=parseFloat(eInvoiceAmount.value);//crlf////tab////tab//appendToLog(\\quot\\dInvoiceAmount=\\quot\\\\plus\\dInvoiceAmount\\plus\\\\quot\\ dAmount=\\quot\\\\plus\\dAmount);//crlf////tab////tab//setVisible(TableID\\plus\\\\quot\\LoggedAmountMatchesIcon\\quot\\\\comma\\dInvoiceAmount==dAmount);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Makes a call to the server to get the total extended price for all items entered on the invoice.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function getTotalAmountEntered(TableID\\comma\\LastInvoiceID\\comma\\s) {//crlf////tab////tab//appendToLog(\\quot\\getTotalAmountEntered s=\\quot\\\\plus\\s);//crlf////tab////tab//printStackTrace();//crlf////tab////tab//var e=document.getElementById(TableID\\plus\\\\quot\\TotalExtendedPrice\\quot\\);//crlf////crlf////tab////tab//var table=document.getElementById(TableID);//crlf////tab////tab//var sParamsActive=table.getAttribute(\\quot\\paramsactive\\quot\\);//crlf////tab////tab//var sStoreID=getElementValue(sParamsActive\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sInvoiceID=getElementValue(sParamsActive\\comma\\\\quot\\InvoiceID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sDate=getElementValue(sParamsActive\\comma\\\\quot\\Date\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sSource=table.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab//if(s) {//crlf////tab////tab////tab////don\\apos\\t update the amount if the dialog has been opened for a different invoice//crlf////tab////tab////tab//if(sInvoiceID==LastInvoiceID) {//crlf////tab////tab////tab////tab//setPendingSubmissionStyle(e\\comma\\false\\comma\\false);//crlf////tab////tab////tab////tab//var d=parseFloat(s);//crlf////tab////tab////tab////tab//if(isNaN(d)) d=0;//crlf////tab////tab////tab////tab//e.value=formatNumber(d\\comma\\\\quot\\\\pound\\\\pound\\\\pound\\\\pound\\\\pound\\\\pound\\.00\\quot\\);//crlf////tab////tab////tab//};//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//setPendingSubmissionStyle(e\\comma\\false\\comma\\true);//crlf////crlf////tab////tab//var sUrl=getServer()\\plus\\\\quot\\/?network=greenlight\\amp\\id=getWidget\\quot\\;//crlf////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\amp\\Widget=Invoice Detail Summary\\quot\\;//crlf////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\ContainerItemID=sensor_list\\amp\\sensor=getTotalExtendedPrice\\amp\\SensorExec=true\\quot\\;//crlf////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\\\amp\\InvoiceID=\\quot\\\\plus\\sInvoiceID\\plus\\\\quot\\\\amp\\Date=\\quot\\\\plus\\sDate\\plus\\\\quot\\\\amp\\Source=\\quot\\\\plus\\sSource;//crlf////tab////tab////alert(\\quot\\sUrl=\\quot\\\\plus\\sUrl);//crlf////crlf////tab////tab//var sFunc=\\quot\\getTotalAmountEntered(~~backslash~~\\quot\\\\quot\\\\plus\\TableID\\plus\\\\quot\\~~backslash~~\\quot\\\\comma\\~~backslash~~\\quot\\\\quot\\\\plus\\sInvoiceID\\plus\\\\quot\\~~backslash~~\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////appendToLog(\\quot\\getTotalAmountEntered url=\\quot\\\\plus\\sUrl);//crlf////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//This function updates the two datalists associated with the item input field in the //crlf////tab//invoice detail dialog.  One datalist contains all items and the other contains only //crlf////tab//items purchased from the selected vendor.  Both lists include the vendor code in the //crlf////tab//item name.  The lists are updated by reading from the master list in the invoice dialog.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//var LastUpdateVendorID=\\quot\\not defined\\quot\\;//crlf////tab//var LastIncludeInactive=false;//crlf////crlf////tab//function updateItemDatalists(salt)//crlf////tab//{//crlf////tab////tab//console.log(\\quot\\updateItemDatalists salt=\\quot\\\\plus\\salt);//crlf////crlf////tab////tab////get the datalists associated with the item input field in the invoice detail dialog//crlf////tab////tab//var elist1=document.getElementById(salt\\plus\\\\quot\\InvoiceDetailSelectItem\\quot\\);//crlf////tab////tab//var elist2=document.getElementById(salt\\plus\\\\quot\\InvoiceDetailSelectItemAlt\\quot\\);//crlf////tab////tab//if(!elist1) {//crlf////tab////tab////tab//appendToLog(\\quot\\updateItemDatalists: cannot locate datalists: \\quot\\\\plus\\salt\\plus\\\\quot\\InvoiceDetailSelectItem\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////tab////tab//if(!elist2) {//crlf////tab////tab////tab//appendToLog(\\quot\\updateItemDatalists: cannot locate datalists: \\quot\\\\plus\\salt\\plus\\\\quot\\InvoiceDetailSelectItemAlt\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////get the currently selected vendor ID//crlf////tab////tab//var sVendorID=document.getElementById(salt\\plus\\\\quot\\VendorID\\quot\\).value;//crlf////crlf////tab////tab////determine if inactive items should be included//crlf////tab////tab//bIncludeInactive=false;//crlf////tab////tab//var eInactive=document.getElementById(salt\\plus\\\\quot\\ShowInactiveItems\\quot\\);//crlf////tab////tab//if(eInactive) bIncludeInactive=eInactive.checked;//crlf////crlf////tab////tab//console.log(\\quot\\updateItemDatalists sVendorID=\\quot\\\\plus\\sVendorID\\plus\\\\quot\\ Last=\\quot\\\\plus\\LastUpdateVendorID\\plus\\\\quot\\ len=\\quot\\\\plus\\elist1.options.length);//crlf////tab////tab//if((sVendorID==LastUpdateVendorID) \\amp\\\\amp\\ (bIncludeInactive==LastIncludeInactive) \\amp\\\\amp\\ (elist1.options.length>1)) {//crlf////tab////tab////tab//console.log(\\quot\\aborting updateItemDatalists because vendor has not changed: [\\quot\\\\plus\\sVendorID\\plus\\\\quot\\]\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////get the master list of items//crlf////tab////tab//var eItemList=document.getElementById(salt\\plus\\\\quot\\DefaultPurchaseInfo\\quot\\);//crlf////tab////tab//if(!eItemList) {//crlf////tab////tab////tab//appendToLog(\\quot\\updateItemDatalists: cannot locate: \\quot\\\\plus\\salt\\plus\\\\quot\\DefaultPurchaseInfo\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////appendToLog(\\quot\\Adding \\quot\\\\plus\\eItemList.options.length\\plus\\\\quot\\ items to item datalist\\quot\\);//crlf////tab////tab//var sList1=\\quot\\\\quot\\;//crlf////tab////tab//var sList2=\\quot\\\\quot\\;//crlf////tab////tab//var cAdded1=0;//crlf////tab////tab//var cAdded2=0;//crlf////tab////tab//for(var i=0;i<eItemList.options.length;i\\plus\\\\plus\\) {//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//The format of options is //crlf////tab////tab////tab////tab//<option value=\\quot\\[ItemID]\\quot\\>//crlf////tab////tab////tab////tab////tab//Item ID~~pipe~~Name\\comma\\//crlf////tab////tab////tab////tab////tab//vendor1 ID]vendor1 size prefix~~pipe~~vendor1 size unit~~pipe~~vendor1 price~~pipe~~vendor1 size~~pipe~~Vendor 1 Code\\comma\\//crlf////tab////tab////tab////tab////tab//vendor2 ID]vendor2 size prefix~~pipe~~vendor2 size unit~~pipe~~vendor2 price~~pipe~~vendor2 size~~pipe~~Vendor 1 Code\\comma\\//crlf////tab////tab////tab////tab////tab//vendor3 ID]vendor3 size prefix~~pipe~~vendor3 size unit~~pipe~~vendor3 price~~pipe~~vendor3 size~~pipe~~Vendor 1 Code//crlf////tab////tab////tab////tab//</option>//crlf////crlf////tab////tab////tab////tab//e.g. <option value=\\quot\\844\\quot\\>844~~pipe~~SPRITE\\comma\\1~~pipe~~1~~pipe~~16~~pipe~~77.52~~pipe~~ Case~~pipe~~4004362\\comma\\35~~pipe~~1~~pipe~~16~~pipe~~88.94~~pipe~~ Case~~pipe~~\\comma\\22~~pipe~~1~~pipe~~16~~pipe~~73.25~~pipe~~ Case~~pipe~~</option>//tab////tab////tab////crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab//var arInfo=getSubStringArray(eItemList.options[i].text\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////crlf////tab////tab////tab////get the item name and ID//crlf////tab////tab////tab//var a=getSubStringArray(arInfo[0]\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab//if((bIncludeInactive) ~~pipe~~~~pipe~~ (a[0].toUpperCase().indexOf(\\quot\\[INACTIVE]\\quot\\)<0)) {//crlf////tab////tab////tab////tab//var sItemName=replaceAllSubstrings(a[0]\\comma\\\\quot\\~~backslash~~x22\\quot\\\\comma\\\\quot\\~~backslash~~x27\\quot\\);//crlf////tab////tab////tab////tab//sItemName=replaceAllSubstrings(sItemName\\comma\\\\quot\\//power//c\\quot\\\\comma\\\\quot\\~~backslash~~x2C\\quot\\);//crlf////tab////tab////tab////tab//sItemName=replaceAllSubstrings(sItemName\\comma\\\\quot\\//power//q\\quot\\\\comma\\\\quot\\\\amp\\\\pound\\34;\\quot\\);//crlf////tab////tab////tab////tab//var sItemID=a[1];//crlf////tab////tab////tab////tab//var bBelongsToVendor=false;//crlf////tab////tab////tab////tab//for(var j=1;j<arInfo.length;j\\plus\\\\plus\\) {//crlf////tab////tab////tab////tab////tab//var a=getSubStringArray(arInfo[j]\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab////tab////tab//if(a[0].equalsIgnoreCase(sVendorID)) {//crlf////tab////tab////tab////tab////tab////tab//var sCode=a[5];//crlf////tab////tab////tab////tab////tab////tab//if(sCode.trim().length>0) sItemName \\plus\\=\\quot\\ [\\quot\\\\plus\\sCode\\plus\\\\quot\\]\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//bBelongsToVendor=true;//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab////<option aspectid=\\quot\\1075\\quot\\ value=\\quot\\American Block\\quot\\></option>//crlf////tab////tab////tab////tab//var sOption=\\quot\\<option aspectid=~~backslash~~\\quot\\\\quot\\\\plus\\sItemID\\plus\\\\quot\\~~backslash~~\\quot\\ value=~~backslash~~\\quot\\\\quot\\\\plus\\sItemName\\plus\\\\quot\\~~backslash~~\\quot\\></option>\\quot\\;//crlf////crlf////tab////tab////tab////tab//sList1\\plus\\=sOption\\plus\\\\quot\\~~backslash~~r~~backslash~~n\\quot\\;//crlf////tab////tab////tab////tab//cAdded1\\plus\\\\plus\\;//crlf////crlf////tab////tab////tab////tab//if(bBelongsToVendor) {//crlf////tab////tab////tab////tab////tab//sList2\\plus\\=sOption\\plus\\\\quot\\~~backslash~~r~~backslash~~n\\quot\\;//crlf////tab////tab////tab////tab////tab//cAdded2\\plus\\\\plus\\;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab//elist1.innerHTML=sList1;//crlf////tab////tab//elist2.innerHTML=sList2;//crlf////crlf////tab////tab//LastUpdateVendorID=sVendorID;//crlf////tab////tab//LastIncludeInactive=bIncludeInactive;//crlf////tab////tab//console.log(\\quot\\Set LastUpdateVendorID=\\quot\\\\plus\\LastUpdateVendorID\\plus\\\\quot\\ LastIncludeInactive=\\quot\\\\plus\\LastIncludeInactive\\plus\\\\quot\\ Added1=\\quot\\\\plus\\cAdded1\\plus\\\\quot\\ Added2=\\quot\\\\plus\\cAdded2);//crlf////crlf////tab////tab////appendToLog(salt\\plus\\\\quot\\InvoiceDetailSelectItem.innerHTML len=\\quot\\\\plus\\elist1.innerHTML.length);//crlf////tab////tab////appendToLog(salt\\plus\\\\quot\\InvoiceDetailSelectItemAlt.innerHTML len=\\quot\\\\plus\\elist2.innerHTML.length);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//This function is called after the alternate item list containing items supplied//crlf////tab//by the selected vendor is updated.  The update is initiated by vendorSelected() //crlf////tab//when the vendor selection changes.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function updatesInvoiceDetailSelectItemAlt(salt) {//crlf////tab////tab//alert(\\quot\\updatesInvoiceDetailSelectItemAlt: \\quot\\\\plus\\salt);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Initializes an invoice by adding all items purchased from the selected //crlf////tab//vendor to the invoice details.  The items are determined by past invoices//crlf////tab//and are sorted in the order they appear on past invoices//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function initializeDefaultInvoice(TableID\\comma\\s) {//crlf////tab////tab//if(s) {//crlf////tab////tab////tab//refreshTable(TableID\\comma\\\\quot\\refresh\\quot\\);//crlf////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\\\plus\\s\\plus\\\\quot\\<br><br>\\amp\\fnOk=close\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//var eTable=document.getElementById(TableID);//crlf////tab////tab//var sTableParams=eTable.getAttribute(\\quot\\AspectParamsActive\\quot\\);//crlf////tab////tab//var sStoreID=getElementValue(sTableParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sInvoiceID=getElementValue(sTableParams\\comma\\\\quot\\InvoiceID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////tab////tab////alert(\\quot\\initializeDefaultInvoice: \\quot\\\\plus\\TableID\\plus\\\\quot\\ StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\ InvoiceID=\\quot\\\\plus\\sInvoiceID);//crlf////crlf////tab////tab////call the agent action used to initialize the invoice details//crlf////tab////tab//showDialog(\\quot\\icon=true\\amp\\msg=Initializing invoice...\\quot\\);//crlf////tab////tab//var sUrl=getServer()\\plus\\\\quot\\/?Network=greenlight\\amp\\ID=getWidget\\quot\\;//crlf////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy\\amp\\Widget=Invoice Detail Summary\\quot\\;//crlf////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\ContainerItemID=action_list\\quot\\;//crlf////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\Action=initializeDefaultInvoice\\amp\\ActionExec=true\\quot\\;//crlf////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\\\amp\\InvoiceID=\\quot\\\\plus\\sInvoiceID;//crlf////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\Source=\\quot\\\\plus\\sHashID;//crlf////tab////tab//sFunc=\\quot\\initializeDefaultInvoice(~~backslash~~\\quot\\\\quot\\\\plus\\TableID\\plus\\\\quot\\~~backslash~~\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab//};//crlf////crlf//</script>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Display inputs at the top of the invoice (vendor\\comma\\ date\\comma\\ etc) inline when //crlf//the screen width is small.//crlf//--------------------------------------------------------------------------]//crlf//<style ID=\\quot\\CSSAspect_Back_Office_Invoice_Dialog\\quot\\>//crlf////tab//table.invoice_dialog1 tr {display:table-row;margin-right:0px;}//crlf////tab//@media only screen and (min-width:700px) {//crlf////tab////tab///* when the minimum width is 700px\\comma\\ display the table rows inline *///crlf////tab////tab//table.invoice_dialog1 tr {display:inline;margin-right:10px;}//crlf////tab//}//crlf//</style>//crlf////crlf//<!-- Dialog used to edit a record -->//crlf//<!conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div ID=\\quot\\Aspect_Back_Office_Invoice__DialogID__\\quot\\ DialogIDSalt=\\quot\\__DialogID__\\quot\\ salt=\\quot\\__salt__\\quot\\ aspectinit=\\quot\\invoiceDialogOpened\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:850px; border:none; display:block;\\quot\\>//crlf//</conditional>//crlf//<!conditional expression:not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div ID=\\quot\\Aspect_Back_Office_Invoice__DialogID__\\quot\\ DialogIDSalt=\\quot\\__DialogID__\\quot\\ salt=\\quot\\__salt__\\quot\\ aspectinit=\\quot\\invoiceDialogOpened\\quot\\ class=\\quot\\default_table_dialog\\quot\\ AdjustHeight=\\quot\\false\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:650px; display:<!!include type:expression; expression:if(not(defined(\\quot\\__DialogID__\\quot\\))\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>;\\quot\\>//crlf//</conditional>//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//<!conditional expression:not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//<div ID=\\quot\\Aspect_Back_Office_Invoice__salt__\\quot\\ class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this);closeTableEditDialog(document.getElementById(\\apos\\Aspect_Back_Office_Invoice_Detail__salt__\\apos\\))\\quot\\></div>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<!-- Used as an external filter in the details table -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\InvoiceID__DialogID__\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\__InvoiceID__\\quot\\ expression=\\quot\\InvoiceID=\\apos\\$value$\\apos\\\\quot\\ param=\\quot\\InvoiceID=$value$\\quot\\>//crlf////crlf////tab////tab//<!-- //crlf////tab////tab////tab////tab//Used as an external driver param in the details table //crlf////tab////tab////tab////tab//Invoices are recorded in a dated file based on the date the invoice is ENTERED\\comma\\//crlf////tab////tab////tab////tab//not on the date the invoice is applied to for cost of sales calculations.//crlf////tab////tab////tab////tab//This avoids having to move details from one file to another if the date of the//crlf////tab////tab////tab////tab//invoice is changed.//crlf////tab////tab//-->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\DateEntered__DialogID__\\quot\\ name=\\quot\\Date_Entered\\quot\\ param=\\quot\\Date=$value$\\quot\\>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//These inputs are used by the invoiceDialogOpened() function to set the Edited flag in the //crlf////tab////tab//invoice record.  This flag is used to determine when an invoice has been imported//crlf////tab////tab//but not edited.//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__StoreID\\quot\\ value=\\quot\\__StoreID__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__InvoiceID\\quot\\ name=\\quot\\ID\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__HasDetails\\quot\\ name=\\quot\\Has_Details\\quot\\>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//These fields are used to determine if a prompt should be given when a price changes//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__PromptOnPriceChange\\quot\\ value=\\quot\\<!!include type:expression; expression:lookup(Aspect_BackOffice_Store_Prompt_On_Invoice_Price_Change\\comma\\\\quot\\__StoreID__\\quot\\)>\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__PromptOnPriceChangePcnt\\quot\\ value=\\quot\\<!!include type:expression; expression:lookup(Aspect_BackOffice_Store_Prompt_On_Invoice_Price_Change_Pcnt\\comma\\\\quot\\__StoreID__\\quot\\)>\\quot\\>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//This field is used to record the time that the dialog is opened.  It is used by the//crlf////tab////tab//tableRefreshed() function to record the amount of time required to fully initialize the dialog//crlf////tab////tab//--------------------------------------------------------------------------]//tab////tab////tab////tab////tab////crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__TimeOpened\\quot\\ value=0>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//This is a hidden collection used to get the default purchase size and price//crlf////tab////tab//when an item is selected in the invoice detail//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:Collection;//crlf////tab////tab////tab//ID:\\quot\\__salt__DefaultPurchaseInfo\\quot\\;//crlf////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Default_Purchase_Info_2018\\quot\\;//crlf////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\style=\\apos\\display:none\\apos\\\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\Record_Type=1\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////crlf////tab////tab//<!-- The TableEditDialogTabsContainerExclusive and TableEditDialogSelectContainerExclusive//crlf////tab////tab////tab//classes are used to make either the tabs or the select box visible\\comma\\ depending on the//crlf////tab////tab////tab//size of the browser.  If only one or two tabs are to be included\\comma\\ the //crlf////tab////tab////tab//TableEditDialogTabsContainer class can be used for the tabs and the select box can//crlf////tab////tab////tab//be ommitted.//crlf////tab////tab//-->//crlf////tab////tab//<div class=\\quot\\TableEditDialogTabsContainerExclusive\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\tabdialog\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\__salt__Main\\apos\\)\\quot\\>Edit Invoice</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__main\\apos\\>Edit Invoice</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//<div style=\\quot\\float:left\\quot\\>//crlf////tab////tab////tab////tab//<table ID=\\quot\\__DialogID__InvoiceDialogTable1\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Vendor</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Vendor_Names_By_ID_With_Select\\quot\\\\comma\\\\quot\\VendorID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\\apos\\__salt__VendorID\\apos\\ class=\\quot\\\\plus\\quote(\\quot\\long\\quot\\)\\plus\\\\quot\\ onChange=\\quot\\\\plus\\quote(\\quot\\vendorSelected(\\quot\\\\plus\\quote(\\quot\\__salt__\\quot\\\\comma\\char(0x27))\\plus\\\\quot\\)\\quot\\\\plus\\char(0x3B)\\plus\\\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Number</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ID=\\quot\\__salt__InvoiceNumber\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class=\\quot\\long\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Number\\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////tab//<div style=\\quot\\float:left\\quot\\>//crlf////tab////tab////tab////tab//<table ID=\\quot\\__DialogID__InvoiceDialogTable2\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Date</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ID=\\quot\\__salt__InvoiceDate\\quot\\ ONBLUR=\\quot\\submitDialogCell(this)\\quot\\ class=\\quot\\date\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Date\\quot\\ TYPE=\\quot\\date\\quot\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\yyyy-MM-dd\\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>Due</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONBLUR=\\quot\\submitDialogCell(this)\\quot\\ class=\\quot\\date\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Due_Date\\quot\\ TYPE=\\quot\\date\\quot\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\yyyy-MM-dd\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////tab////tab////tab//<div style=\\quot\\float:left\\quot\\>//crlf////tab////tab////tab////tab//<table ID=\\quot\\__DialogID__InvoiceDialogTable3\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Amount</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ID=\\quot\\__salt__InvoiceAmount\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this);getTotalAmountEnteredFromTable(\\apos\\__salt__\\apos\\)\\quot\\ class=\\quot\\number\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Amount\\quot\\ TYPE=\\quot\\number\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Paid\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Paid//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Logged</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input type=\\quot\\number\\quot\\ class=\\quot\\number\\quot\\ style=\\quot\\text-align:right;background-color:\\pound\\efefef\\quot\\ readonly=\\quot\\readonly\\quot\\ ID=\\quot\\__salt__TotalExtendedPrice\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab//<span ID=\\quot\\__salt__LoggedAmountMatchesIcon\\quot\\ class=\\quot\\done\\quot\\ style=\\quot\\display:none\\quot\\></span>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input CHECKED=\\quot\\checked\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\true\\quot\\ NAME=\\quot\\Is_Exported\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input>Exported</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab//<div style=\\quot\\clear:both\\quot\\></div>//crlf////tab////tab////tab//<hr>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//NOTE: When DialogOnly is true://crlf////crlf////tab////tab////tab//Lookup the date to be passed in the driver params.  Do this even//crlf////tab////tab////tab//if a date parameter is supplied because the date passed to the driver needs to be the //crlf////tab////tab////tab//date the invoice was ENTERED on\\comma\\ not the invoice date//crlf////crlf////tab////tab////tab//The table body for invoice details is hidden for some reason\\comma\\ possibly something to //crlf////tab////tab////tab//do with initializing the dialog.  A javascript statement is defined below to refresh//crlf////tab////tab////tab//the table after it is loaded.  Need to improve this. (04-13-2016)//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<!conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab////tab//<!!include type:expression; expression:htmlConstant(\\quot\\DateEntered\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lookup(Aspect_BackOffice_Lookup_Invoice_Date_Entered_By_ID\\comma\\\\quot\\__InvoiceID__\\quot\\\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\))>//crlf////tab////tab////tab////tab//<script ID=\\quot\\JSEditInvoiceDetail\\quot\\>//crlf////tab////tab////tab////tab//  refreshTable(\\apos\\__salt__\\apos\\\\comma\\\\apos\\refresh\\apos\\); //crlf////tab////tab////tab////tab//</script>//crlf////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab//<div ID=\\quot\\__salt__SelectVendor\\quot\\ style=\\quot\\height:400px\\quot\\>//crlf////tab////tab////tab////tab//<p>Select a vendor...</p>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<div ID=\\quot\\__salt__InvoiceDetailTableContainer\\quot\\ style=\\quot\\display:none\\quot\\>//crlf////tab////tab////tab////tab//<div ID=\\quot\\__salt__InvoiceItems\\quot\\>//crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//This is an external driver param used to pass the selected Vendor ID to the table//crlf////tab////tab////tab////tab////tab//of invoice details.  This is used to add the vendor\\apos\\s item code to the item name//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__VendorIDParam\\quot\\ name=\\quot\\VendorID\\quot\\ param=\\quot\\VendorID=$value$\\quot\\>//crlf////crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//Don\\apos\\t limit the height of the table when DialogOnly is true.  Relative positioning//crlf////tab////tab////tab////tab////tab//is used to ensure the dialog used to edit a record is positioned properly.//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<!conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab//<div style=\\quot\\width:100\\percent\\;border:none;\\quot\\>//crlf////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab//<!conditional expression:(not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab////tab//Previously\\comma\\ the div below was used to limit the height of the div containing the //crlf////tab////tab////tab////tab////tab////tab//table.  Now\\comma\\ the height is set to auto and the scrollIntoView() function is called//crlf////tab////tab////tab////tab////tab////tab//when an invoice detail dialog is opened to scroll the dialog into view.//crlf////crlf////tab////tab////tab////tab////tab////tab//It still works properly if this div is enabled.  However\\comma\\ the table controls are//crlf////tab////tab////tab////tab////tab////tab//scrolled out of view and it is not as clean.//crlf////crlf////tab////tab////tab////tab////tab////tab//The AdjustHeight attribute has been added to the dialog.  This causes the //crlf////tab////tab////tab////tab////tab////tab//showTableEditDialog() function to skip setting the dialog\\apos\\s height to a fixed value //crlf////tab////tab////tab////tab////tab////tab//to accommodate the tabs.  This means that the height of the dialog will change if //crlf////tab////tab////tab////tab////tab////tab//it contains tabs and the heights of each tab are not identical (which they\\apos\\re not).//crlf////crlf////tab////tab////tab////tab////tab////tab//<div style=\\quot\\position:relative;width:100\\percent\\;height:400px;overflow:auto;border:none;\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab////tab//<div style=\\quot\\height:auto\\quot\\>//crlf////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//driver: \\quot\\Aspect_Back_Office_Invoice_Detail\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//_NoRefresh: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//state: \\quot\\getStoreDir(\\apos\\__StoreID__\\apos\\)\\plus\\\\apos\\invoice_detail.__DateEntered__.bin\\apos\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//params: \\quot\\InvoiceID=__InvoiceID__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Date=__DateEntered__~~pipe~~Metadata=Aspect_Back_Office_Invoice_Detail_For_Dialog\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:defined(\\quot\\__InvoiceID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//_params: \\quot\\InvoiceID=__InvoiceID__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Date=__DateEntered__~~pipe~~Metadata=Aspect_Back_Office_Invoice_Detail_For_Dialog\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:not(defined(\\quot\\__InvoiceID__\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//_params: \\quot\\InvoiceID=Undefined~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Date={@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}~~pipe~~Metadata=Aspect_Back_Office_Invoice_Detail_For_Dialog\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//keyDescription: \\quot\\Item_Name\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//display: \\quot\\Invoice Details by Invoice Order\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//filter: \\quot\\(not(\\pound\\InvoiceID=\\apos\\undefined\\apos\\))\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//basefilter: \\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//(true)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:defined(\\quot\\__InvoiceID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//and (InvoiceID=\\apos\\__InvoiceID__\\apos\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//InspectMenu: \\quot\\ulcZ3KBm\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//_style: \\quot\\width:100\\percent\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//_height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//_maxheight:\\quot\\400px\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//InsertPosition: \\quot\\bottom\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//EmbedValues: \\quot\\Item_Name\\comma\\Size_Prefix\\comma\\Size_Unit\\comma\\Size\\comma\\Quantity\\comma\\Extended_Price\\comma\\ItemID\\comma\\ID\\comma\\Sort_Index\\comma\\Move\\comma\\Conversion_Is_Valid\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Invoices~~pipe~~251686~~pipe~~Aspect_Back_Office_Invoice_Detail~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:not(defined(\\quot\\__DialogOnly__\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//ExternalParams: \\quot\\__salt__VendorIDParam\\comma\\InvoiceID__DialogID__\\comma\\DateEntered__DialogID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//ExternalFilters: \\quot\\InvoiceID__DialogID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Timestamp: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Menu: \\quot\\Initialize Invoice~~pipe~~initializeDefaultInvoice\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:false>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//RefreshOnDataSubmit is set to true to provide a failsafe to make sure records are//crlf////tab////tab////tab////tab////tab////tab////tab////tab//refreshed after saving.  It appears that sometimes they are not.  The RefreshOnDataSubmit//crlf////tab////tab////tab////tab////tab////tab////tab////tab//causes the table to be refreshed after data has been submitted and there are //crlf////tab////tab////tab////tab////tab////tab////tab////tab//no pending submissions.  If the problem with records being refreshed is fixed\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//this can be disabled.//crlf////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshOnDataSubmit: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshWhenHidden: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//<!-- Add space to display the edit dialog for the last record in the table -->//crlf////tab////tab////tab////tab////tab////tab//<div style=\\quot\\height:175px\\quot\\></div>//crlf////tab////tab////tab////tab////tab//</div>//crlf////tab////tab////tab////tab//</div>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</div>//crlf////crlf//^
ID=251686|X=151|Y=32|W=798|H=590|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=983583|AttachLeft=|AlignLeft=983583|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!--servertimer=false-->//crlf//[!------------------------------------------------------------------------//crlf//Notes://crlf//09-18-2016//crlf//- The salt in this item is inherited from the edit invoice dialog that uses it //crlf////tab//as an edit dialog for items included on the invoice.  This means that salt and //crlf////tab//DialogID are interchangeable.//crlf////crlf//- In the editInvoiceDetail() function which is called when the dialog is opened\\comma\\ the//crlf////tab//DialogID represents the FULL dialog ID - e.g. Aspect_Back_Office_Invoice_Detail<salt>.//crlf////tab//In other functions\\comma\\ the DialogID parameter indicates only the salt value.  This is why //crlf////tab//the sDialogIDSalt variable is used in the editInvoiceDetail() function.//crlf////crlf//- An attribute name AmountInitialized is set in the amount field to indicate that an amount//crlf////tab//has been entered in that field manually and should be kept.  When this attribute equals false\\comma\\//crlf////tab//the amount will change when the quantity changes.  If the amount is overridden by a manual input\\comma\\ //crlf////tab//the flag will be set to true and changes in the quantity will not affect the amount.//crlf////crlf//- The select item input uses the datalist with the ID __DialogID__InvoiceDetailSelectItem.  A second //crlf////tab//datalist is created with the ID __DialogID__InvoiceDetailSelectItemAlt.  The second datalist contains //crlf////tab//only items supplied by the vendor selected in the invoice.  The showAllInvoiceDetailSelections() //crlf////tab//function is called when the \\quot\\show all items\\quot\\ checkbox is clicked to set the \\quot\\list\\quot\\ attribute in //crlf////tab//the element used to select an item to one list or the other.//crlf//--------------------------------------------------------------------------]//crlf////crlf//<!!include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__salt__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<script ID=\\quot\\JSInvoiceDetail\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////crlf////tab////tab//JAVASCRIPT FUNCTIONS//crlf////crlf////tab////tab//editInvoiceDetail - called when the invoice detail dialog is displayed.//crlf////tab////tab////tab//Displays the name of the imported inventory item name if the invoice was imported.//crlf////crlf////tab////tab//setInvoiceDetailTDWidths - Sets the width of the first td cell in each row to the maximum //crlf////tab////tab////tab//width of any of the first td cells in a row.  This is used to standardize the width of the //crlf////tab////tab////tab//first td cell in each row when the table is displayed inline//crlf////crlf////tab////tab//closeInvoiceDetailDialog - Called when the close icon is clicked to close the dialog.  //crlf////tab////tab////tab//Currently has no purpose except to override closing of the dialog.//crlf////crlf////tab////tab//addAnotherInvoiceDetail - Closes the current edit dialog and adds a new record//crlf////crlf////tab////tab//showAllInvoiceDetailSelections - Called when the checkbox is clicked to show all items//crlf////crlf////tab////tab//showInactiveInvoiceDetailSelections - Called when the checkbox is clicked to show inactive items//crlf////crlf////tab////tab//enableSizeEdit - Makes the purchase size editable or not by setting the visibility of the //crlf////tab////tab////tab//table rows containing the size and the inputs used to edit the size//crlf////crlf////tab////tab//getDisplayStyle - Returns the display style to be used when making a table row visible.  //crlf////tab////tab////tab//This will depend on whether the table is being displayed inline or not.//crlf////crlf////tab////tab//checkForPriceChange - Called when either the quantity or amount is changed.  Gives a //crlf////tab////tab////tab//prompt if the prices changes by more than a given percentage//crlf////crlf////tab////tab//invoiceDetailQuantityChanged - Called when the quantity is edited.  Sets the extended //crlf////tab////tab////tab//price if it does not already contain a value.//crlf////crlf////tab////tab//invoiceDetailAmountChanged - Called when the amount is edited.  Sets the AmountInitialized //crlf////tab////tab////tab//attribute in the input to True to indicate that an amount has been entered.  When this //crlf////tab////tab////tab//attribute is True\\comma\\ changes in the quantity will no longer cause adjustments to the amount.//crlf////crlf////tab////tab//invoiceDetailSizePrefixChanged - Called when the size prefix is modified//crlf////crlf////tab////tab//invoiceDetailSizeUnitChanged - Called when the size unit is modified//crlf////crlf////tab////tab//updateVendorInfo - [NOT USED] Called when the item\\comma\\ size prefix\\comma\\ size unit or price are changed.  //crlf////tab////tab////tab//Records the data in the inventory item record//crlf////crlf////tab////tab//invoiceDetailItemSelected - Called when an item is selected in the drop-down list.  Calls the //crlf////tab////tab////tab//default dataListInputChanged() Function to submit the data and then sets the purchase size //crlf////tab////tab////tab//and default price.//crlf////crlf////tab////tab//setDefaultPrice - Sets the default price for the currently selected item//crlf////crlf////tab////tab//setDefaultPurchaseSize - Sets the default purchase size for the currently selected item by looking //crlf////tab////tab////tab//up the purchase information in the hidden element containing data for all items. e is the visible //crlf////tab////tab////tab//element used to select the item.//crlf////tab//--------------------------------------------------------------------------]//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//This function is called when the invoice detail dialog is displayed.//crlf////tab//It displays the name of the imported inventory item name if the invoice was//crlf////tab//imported.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function editInvoiceDetail(DialogID\\comma\\bInitialized) {//crlf////tab////tab//var d=document.getElementById(DialogID);//crlf////tab////tab//var salt=d.getAttribute(\\quot\\salt\\quot\\);//crlf////tab////tab//var sDialogIDSalt=d.getAttribute(\\quot\\DialogIDSalt\\quot\\);//crlf////crlf////tab////tab//if(bInitialized) {//crlf////tab////tab////tab//setInvoiceDetailTDWidths(sDialogIDSalt);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////display the vendor's name for the item if the invoice was imported//crlf////tab////tab//var e=document.getElementById(salt+\\quot\\Imported_Item_Name\\quot\\);//crlf////tab////tab//var sItemName=e.value;//crlf////tab////tab//var bShow=(sItemName.trim().length>0);//crlf////tab////tab//setVisible(salt+\\quot\\VendorName\\quot\\\\comma\\bShow);//crlf////crlf////tab////tab////01-30-2017: for some reason\\comma\\ the table row containing the imported item name has the //crlf////tab////tab////display attribute set to table-row instead of inline.  This is a workaround.//crlf////tab////tab////It may need more work.//crlf////tab////tab////appendToLog(\\quot\\editInvoiceDetail5 salt=\\quot\\+salt);//crlf////tab////tab//if(bShow) document.getElementById(salt+\\quot\\VendorName\\quot\\).style.display=\\quot\\inline\\quot\\;//crlf////tab////tab////appendToLog(\\quot\\editInvoiceDetail5a\\quot\\);//crlf////crlf////tab////tab////set the AmountInitialized attribute in the amount field.  //crlf////tab////tab//var eAmount=document.getElementById(sDialogIDSalt+\\quot\\Amount\\quot\\);//crlf////tab////tab//var dAmount=parseFloat(eAmount.value);//crlf////tab////tab//if((dAmount==0) ~~pipe~~~~pipe~~ (isNaN(dAmount))) {//crlf////tab////tab////tab////appendToLog(\\quot\\editInvoiceDetail6\\quot\\);//crlf////tab////tab////tab//eAmount.setAttribute(\\quot\\AmountInitialized\\quot\\\\comma\\\\quot\\false\\quot\\);//crlf////tab////tab////tab////appendToLog(\\quot\\editInvoiceDetail6a\\quot\\);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab////appendToLog(\\quot\\editInvoiceDetail7\\quot\\);//crlf////tab////tab////tab//eAmount.setAttribute(\\quot\\AmountInitialized\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////tab////tab////tab////appendToLog(\\quot\\editInvoiceDetail7a\\quot\\);//crlf////tab////tab//};//crlf////tab////tab////appendToLog(\\quot\\editInvoiceDetail8\\quot\\);//crlf////crlf////tab////tab////disable editing of the size if the size is valid//crlf////tab////tab//if(!document.getElementById(sDialogIDSalt+\\quot\\SizePrefix\\quot\\)) {//crlf////tab////tab////tab//alert(\\quot\\Cannot locate ID=\\quot\\+sDialogIDSalt+\\quot\\SizePrefix\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//var dPrefix=parseFloat(document.getElementById(sDialogIDSalt+\\quot\\SizePrefix\\quot\\).value);//crlf////tab////tab//if(!document.getElementById(sDialogIDSalt+\\quot\\SizeUnit\\quot\\)) return;//crlf////tab////tab//var sUnit=document.getElementById(sDialogIDSalt+\\quot\\SizeUnit\\quot\\).value;//crlf////tab////tab//if((dPrefix==0) ~~pipe~~~~pipe~~ (isNaN(dPrefix)) ~~pipe~~~~pipe~~ (sUnit==\\quot\\0\\quot\\)) {//crlf////tab////tab////tab////the size is invalid\\comma\\ so make it editable//crlf////tab////tab////tab//enableSizeEdit(sDialogIDSalt\\comma\\true);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab////the size is valid\\comma\\ so don't make it editable//crlf////tab////tab////tab//enableSizeEdit(sDialogIDSalt\\comma\\false);//crlf////tab////tab//};//crlf////crlf////tab////tab////if an item is selected...//crlf////tab////tab//var sItemID=document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItem_input_submit\\quot\\).value;//crlf////tab////tab//if(sItemID!=\\quot\\000\\quot\\) {//crlf////tab////tab////tab////if the size is invalid\\comma\\ set it to the default purchase size//crlf////tab////tab////tab//if((dPrefix==0) ~~pipe~~~~pipe~~ (sUnit==\\quot\\0\\quot\\)) {//crlf////tab////tab////tab////tab////call the function to set the default size and price as if the item has just been selected//crlf////tab////tab////tab////tab//setDefaultPurchaseSize(document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItem_input\\quot\\));//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////if the default price is invalid\\comma\\ initialize it//crlf////tab////tab////tab//var dPrice=parseFloat(document.getElementById(sDialogIDSalt+\\quot\\UnitPrice\\quot\\).value);//crlf////tab////tab////tab//if((dPrice==0) ~~pipe~~~~pipe~~ (isNaN(dPrice))) {//crlf////tab////tab////tab////tab////this sets the default price AND the last price paid//crlf////tab////tab////tab////tab//setDefaultPrice(sDialogIDSalt);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab////set the last price paid//crlf////tab////tab////tab////tab//setLastPricePaid(sDialogIDSalt);//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//checkForPriceChange(sDialogIDSalt);//crlf////tab////tab////tab////crlf////tab////tab////tab//var sName=document.getElementById(salt+\\quot\\HiddenItemName\\quot\\).value;//crlf////tab////tab////tab////appendToLog(\\quot\\sName:\\quot\\+sName);//crlf////crlf////tab////tab////tab////------------------------------------------------------------------------------------------------------------//crlf////tab////tab////tab////make sure the item exists in the datalist containing all items.  Deleted items will not be included in the datalists initially//crlf////tab////tab////tab////------------------------------------------------------------------------------------------------------------//crlf////tab////tab////tab//var eDataList=document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItem\\quot\\);//crlf////tab////tab////tab//var bExists=false;//crlf////tab////tab////tab//for(var i=0;(!bExists) //amp////amp// (i<eDataList.options.length);i++) {//crlf////tab////tab////tab////tab//var sValue=eDataList.options[i].value;//crlf////tab////tab////tab////tab//var sAspectID=eDataList.options[i].getAttribute(\\quot\\aspectid\\quot\\);//crlf////tab////tab////tab////tab//if(sAspectID.equalsIgnoreCase(sItemID)) {//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Found item in \\quot\\+eDataList.id+\\quot\\ sValue=\\quot\\+sValue+\\quot\\ sAspectID=\\quot\\+sAspectID);//crlf////tab////tab////tab////tab////tab//bExists=true;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//if(!bExists) {//crlf////tab////tab////tab////tab//var sOption=\\quot\\<option value=\\\quot\\\\quot\\+sName+\\quot\\\\\quot\\ aspectid=\\\quot\\\\quot\\+sItemID+\\quot\\\\\quot\\></option>\\quot\\//crlf////tab////tab////tab////tab//eDataList.innerHTML=sOption+eDataList.innerHTML;//crlf////tab////tab////tab////tab//document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItem_input\\quot\\).value=sName;//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Added option: \\quot\\+sOption+\\quot\\ to datalist: \\quot\\+eDataList.id);//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////------------------------------------------------------------------------------------------------------------//crlf////tab////tab////tab////make sure the item exists in the datalist containing items supplied by the selected vendor.  //crlf////tab////tab////tab////Deleted items will not be included in the datalists initially//crlf////tab////tab////tab////------------------------------------------------------------------------------------------------------------//crlf////tab////tab////tab//var eDataList=document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItemAlt\\quot\\);//crlf////tab////tab////tab//var bExists=false;//crlf////tab////tab////tab//for(var i=0;(!bExists) //amp////amp// (i<eDataList.options.length);i++) {//crlf////tab////tab////tab////tab//var sValue=eDataList.options[i].value;//crlf////tab////tab////tab////tab//var sAspectID=eDataList.options[i].getAttribute(\\quot\\aspectid\\quot\\);//crlf////tab////tab////tab////tab//if(sAspectID.equalsIgnoreCase(sItemID)) {//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Found item in \\quot\\+eDataList.id+\\quot\\ sValue=\\quot\\+sValue+\\quot\\ sAspectID=\\quot\\+sAspectID);//crlf////tab////tab////tab////tab////tab//bExists=true;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//if(!bExists) {//crlf////tab////tab////tab////tab//var sOption=\\quot\\<option value=\\\quot\\\\quot\\+sName+\\quot\\\\\quot\\ aspectid=\\\quot\\\\quot\\+sItemID+\\quot\\\\\quot\\></option>\\quot\\//crlf////tab////tab////tab////tab//eDataList.innerHTML=sOption+eDataList.innerHTML;//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Added option: \\quot\\+sOption+\\quot\\ to datalist: \\quot\\+eDataList.id);//crlf////tab////tab////tab//};//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItem_input\\quot\\).value=\\quot\\\\quot\\;//crlf////crlf////tab////tab////tab////clear the current price//crlf////tab////tab////tab//var eCurrentUnitPrice=document.getElementById(sDialogIDSalt+\\quot\\CurrentUnitPrice\\quot\\);//crlf////tab////tab////tab//eCurrentUnitPrice.disabled=true;//crlf////tab////tab////tab//eCurrentUnitPrice.value=\\quot\\\\quot\\;//crlf////tab////tab////tab////crlf////tab////tab////tab////clear the last price paid//crlf////tab////tab////tab//document.getElementById(sDialogIDSalt+\\quot\\LastUnitPrice\\quot\\).value=\\quot\\\\quot\\;//crlf////tab////tab//};//crlf////crlf////tab////tab////show the button to add another detail if no item is selected//crlf////tab////tab//var eAddAnotherDetailContainer=document.getElementById(sDialogIDSalt+\\quot\\AddAnotherInvoiceDetailContainer\\quot\\);//crlf////tab////tab//if(sItemID==\\quot\\000\\quot\\) {//crlf////tab////tab////tab//eAddAnotherDetailContainer.style.display=\\quot\\block\\quot\\;//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//eAddAnotherDetailContainer.style.display=\\quot\\none\\quot\\;//crlf////tab////tab//};//crlf////crlf////tab////tab////make sure input displaying last price is disabled//crlf////tab////tab//document.getElementById(sDialogIDSalt+\\quot\\LastUnitPrice\\quot\\).disabled=true;//crlf////crlf////tab////tab//return(true);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Sets the width of the first td cell in each row to the maximum width of any //crlf////tab//of the first td cells in a row.  This is used to standardize the width of the //crlf////tab//first td cell in each row when the table is displayed inline//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function setInvoiceDetailTDWidths(DialogID) {//crlf////tab////tab//var table=document.getElementById(DialogID+\\quot\\InvoiceDetailDialogTable\\quot\\);//crlf////crlf////tab////tab//if(table.getAttribute(\\quot\\TDWidthInitialized\\quot\\)) return;//crlf////crlf////tab////tab//var iMaxWidth=0;//crlf////tab////tab//for(var i=1;i<table.rows.length;i++) {//crlf////tab////tab////tab//iMaxWidth=Math.max(iMaxWidth\\comma\\table.rows[i].cells[0].offsetWidth);//crlf////tab////tab//};//crlf////crlf////tab////tab////add some more padding//crlf////tab////tab//iMaxWidth+=10;//crlf////crlf////tab////tab//for(var i=0;i<table.rows.length;i++) {//crlf////tab////tab////tab////table.rows[i].cells[0].style.paddingRight=(iMaxWidth-table.rows[i].cells[0].offsetWidth)+\\quot\\px\\quot\\;//crlf////tab////tab////tab//table.rows[i].cells[0].style.width=iMaxWidth+\\quot\\px\\quot\\;//crlf////tab////tab//};//crlf////crlf////tab////tab//table.setAttribute(\\quot\\TDWidthInitialized\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the close icon is clicked to close the dialog.  Currently has //crlf////tab//no purpose except to override closing of the dialog.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function closeInvoiceDetailDialog(e) {//crlf////tab////tab//closeTableEditDialog(e);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Closes the current edit dialog and adds a new record//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function addAnotherInvoiceDetail(DialogID) {//crlf////tab////tab////appendToLog(\\quot\\addAnotherInvoiceDetail started\\quot\\);//crlf////tab////tab////close the dialog//crlf////tab////tab//closeInvoiceDetailDialog(document.getElementById(DialogID+\\quot\\CloseIcon\\quot\\));//crlf////crlf////tab////tab////insert another record//crlf////tab////tab//insertTableRecord(DialogID);//crlf////crlf////tab////tab////it's not clear why this needs to be called since the editInvoiceDetail() function called //crlf////tab////tab////when the dialog is displayed should take care of it.  This function sets the TD widths of //crlf////tab////tab////the descriptions so they're all the same\\comma\\ even when the table is displayed inline on a //crlf////tab////tab////larger screen.//crlf////tab////tab//setInvoiceDetailTDWidths(DialogID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the checkbox is clicked to show all items//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function showAllInvoiceDetailSelections(e\\comma\\DialogID) {//crlf////tab////tab//var eInput=document.getElementById(DialogID+\\quot\\InvoiceDetailSelectItem_input\\quot\\);//crlf////tab////tab//if(e.checked) {//crlf////tab////tab////tab//setDatalist(eInput\\comma\\DialogID+\\quot\\InvoiceDetailSelectItem\\quot\\\\comma\\true);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//setDatalist(eInput\\comma\\DialogID+\\quot\\InvoiceDetailSelectItemAlt\\quot\\\\comma\\true);//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the checkbox is clicked to show inactive items//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function showInactiveInvoiceDetailSelections(e\\comma\\DialogID) {//crlf////tab////tab////update the datalists to include the inactive items//crlf////tab////tab//console.log(\\quot\\showInactiveInvoiceDetailSelections DialogID=\\quot\\+DialogID);//crlf////tab////tab//updateItemDatalists(DialogID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Makes the purchase size editable or not by setting the visibility of the //crlf////tab//table rows containing the size and the inputs used to edit the size//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function enableSizeEdit(DialogID\\comma\\b) {//crlf////tab////tab//console.log(\\quot\\enableSizeEdit: DialogID=\\quot\\+DialogID+\\quot\\ b=\\quot\\+b);//crlf////tab////tab////printStackTrace();//crlf////crlf////tab////tab////Ensure that a size is displayed in the read-only span element.  Don't hide the inputs//crlf////tab////tab////if a size is not displayed.  Otherwise\\comma\\ there will be no hyperlink for the user to click //crlf////tab////tab////to edit the size//crlf////tab////tab//var s=document.getElementById(DialogID+\\quot\\SizeReadOnly\\quot\\).innerHTML.trim();//crlf////tab////tab//if(s.length==0) b=true;//crlf////tab////tab//if(s.equalsIgnoreCase(\\quot\\Error\\quot\\)) b=true;//crlf////crlf////tab////tab//console.log(\\quot\\enableSizeEdit: SizeReadOnly innerHTML=\\quot\\+document.getElementById(DialogID+\\quot\\SizeReadOnly\\quot\\).innerHTML.trim()+\\quot\\ b=\\quot\\+b);//crlf////tab////tab//console.log(\\quot\\enableSizeEdit: getDisplayStyle(DialogID)=\\quot\\+getDisplayStyle(DialogID));//crlf////crlf////tab////tab//if(b) {//crlf////tab////tab////tab//document.getElementById(DialogID+\\quot\\TRSizeReadOnly\\quot\\).style.display=\\quot\\none\\quot\\;//crlf////tab////tab////tab//document.getElementById(DialogID+\\quot\\TRSizeEditable\\quot\\).style.display=getDisplayStyle(DialogID);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//document.getElementById(DialogID+\\quot\\TRSizeReadOnly\\quot\\).style.display=getDisplayStyle(DialogID);//crlf////tab////tab////tab//document.getElementById(DialogID+\\quot\\TRSizeEditable\\quot\\).style.display=\\quot\\none\\quot\\;//crlf////tab////tab//};//crlf////tab////tab////setVisible(document.getElementById(DialogID+\\quot\\TRSizeReadOnly\\quot\\)\\comma\\!b);//crlf////tab////tab////setVisible(document.getElementById(DialogID+\\quot\\TRSizeEditable\\quot\\)\\comma\\b);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Returns the display style to be used when making a table row visible.  This will //crlf////tab//depend on whether the table is being displayed inline or not.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function getDisplayStyle(DialogID) {//crlf////tab////tab//var s=document.getElementById(DialogID+\\quot\\UnitPriceContainer\\quot\\).style.display;//crlf////tab////tab//if(s.length==0) s=\\quot\\inline\\quot\\;//crlf////tab////tab//return(s);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when either the quantity or amount is changed.  Gives a prompt if the //crlf////tab//prices changes by more than a given percentage//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function checkForPriceChange(DialogID) {//crlf////tab////tab////get the input used to display the current unit price//crlf////tab////tab//var eCurrentUnitPrice=document.getElementById(DialogID+\\quot\\CurrentUnitPrice\\quot\\);//crlf////tab////tab//eCurrentUnitPrice.disabled=true;//crlf////tab////tab//eCurrentUnitPrice.value=\\quot\\\\quot\\;//crlf////crlf////tab////tab////get the span tag used to display the price change percent.  Clear it initially//crlf////tab////tab//var ePriceChangePercent=document.getElementById(DialogID+\\quot\\PriceChangePercent\\quot\\);//crlf////tab////tab//ePriceChangePercent.innerHTML=\\quot\\\\quot\\;//crlf////crlf////tab////tab////get the input used to display the last unit price.  Hide it initially//crlf////tab////tab//var eLastUnitPrice=document.getElementById(DialogID+\\quot\\LastUnitPrice\\quot\\);//crlf////tab////tab//eLastUnitPrice.disabled=true;//crlf////tab////tab//document.getElementById(DialogID+\\quot\\LastUnitPriceContainer\\quot\\).style.display=\\quot\\none\\quot\\;//crlf////crlf////tab////tab//var dQty=parseFloat(document.getElementById(DialogID+\\quot\\Quantity\\quot\\).value);//crlf////tab////tab//var dAmount=parseFloat(document.getElementById(DialogID+\\quot\\Amount\\quot\\).value);//crlf////tab////tab//var dPrice=parseFloat(document.getElementById(DialogID+\\quot\\UnitPrice\\quot\\).value);//crlf////crlf////tab////tab////abort if the quantity or amount are 0//crlf////tab////tab//if((isNaN(dQty)) ~~pipe~~~~pipe~~ (dQty==0) ~~pipe~~~~pipe~~ (isNaN(dAmount)) ~~pipe~~~~pipe~~ (dAmount==0)) return;//crlf////crlf////tab////tab////calculate the new unit price and price change amount//tab////tab////crlf////tab////tab//var dNewPrice=dAmount/dQty;//crlf////tab////tab//var dPriceChange=dNewPrice-dPrice;//crlf////tab////tab//var dPcntChange=Math.abs(dPriceChange)/dPrice*100;//crlf////crlf////tab////tab////display the new unit price//crlf////tab////tab//eCurrentUnitPrice.value=formatNumber(dNewPrice\\comma\\\\quot\\//pound////pound////pound////pound////pound////pound//.00\\quot\\);//crlf////crlf////tab////tab////if the previous price is 0\\comma\\ abort//crlf////tab////tab//if(dPrice==0) return;//crlf////crlf////tab////tab////display the last unit price//crlf////tab////tab////eLastUnitPrice.value=formatNumber(dPrice\\comma\\\\quot\\//pound////pound////pound////pound////pound////pound//.00\\quot\\);//crlf////tab////tab//document.getElementById(DialogID+\\quot\\LastUnitPriceContainer\\quot\\).style.display=getDisplayStyle(DialogID);//crlf////tab////tab////tab////crlf////tab////tab////get the flag indicating whether notifications should be displayed for price changes//crlf////tab////tab//var bPromptOnPriceChange=document.getElementById(DialogID+\\quot\\PromptOnPriceChange\\quot\\).value.equalsIgnoreCase(\\quot\\true\\quot\\);//crlf////tab////tab//if(bPromptOnPriceChange) {//crlf////tab////tab////tab////get the percent change required to display a notification//crlf////tab////tab////tab//var PromptOnPcnt=parseFloat(document.getElementById(DialogID+\\quot\\PromptOnPriceChangePcnt\\quot\\).value);//crlf////tab////tab////tab//if(PromptOnPcnt>0) {//crlf////tab////tab////tab////tab//if(dPcntChange>=PromptOnPcnt) {//crlf////tab////tab////tab////tab////tab//var s=(dNewPrice>dPrice) ? \\quot\\+\\quot\\ : \\quot\\-\\quot\\;//crlf////tab////tab////tab////tab////tab//s+=formatNumber(dPcntChange\\comma\\\\quot\\//pound////pound////pound////pound////pound////pound//\\quot\\)+\\quot\\\\percent\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ePriceChangePercent.innerHTML=s;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the quantity is edited.  Sets the extended price if it does not //crlf////tab//already contain a value.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function invoiceDetailQuantityChanged(e\\comma\\DialogID) {//crlf////tab////tab////submit the data//crlf////tab////tab//submitDialogCell(e);//crlf////crlf////tab////tab////if the amount is zero\\comma\\ set the amount and submit the data.  The price is determined by //crlf////tab////tab////the invoiceDetailItemSelected() function when an item is selected//crlf////tab////tab//var dQuantity=parseFloat(e.value);//crlf////tab////tab//var dPrice=parseFloat(document.getElementById(DialogID+\\quot\\UnitPrice\\quot\\).value);//crlf////crlf////tab////tab//if(!isNaN(dPrice)) {//crlf////tab////tab////tab//if(dPrice!=0) {//crlf////tab////tab////tab////tab//var eAmount=document.getElementById(DialogID+\\quot\\Amount\\quot\\);//crlf////tab////tab////tab////tab//var dAmount=(eAmount.value.trim().length==0) ? 0 : parseFloat(eAmount.value);//crlf////tab////tab////tab////tab//var sAmountInitialized=eAmount.getAttribute(\\quot\\AmountInitialized\\quot\\);//crlf////tab////tab////tab////tab////only update the amount if the AmountInitialized is false.  Do not update it if the amount //crlf////tab////tab////tab////tab////is zero.  A zero amount may have been entered intentionally.//crlf////tab////tab////tab////tab////if((dAmount==0) ~~pipe~~~~pipe~~ (isNaN(dAmount)) ~~pipe~~~~pipe~~ (sAmountInitialized.equalsIgnoreCase(\\quot\\false\\quot\\))) {//crlf////tab////tab////tab////tab//if(sAmountInitialized.equalsIgnoreCase(\\quot\\false\\quot\\)) {//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\dQuantity=\\quot\\+dQuantity+\\quot\\ dPrice=\\quot\\+dPrice);//crlf////tab////tab////tab////tab////tab////eAmount.value=(dQuantity*dPrice).toFixed(2);//crlf////tab////tab////tab////tab////tab//var dValue=Math.round(dQuantity*dPrice*100)/100;//crlf////tab////tab////tab////tab////tab//eAmount.value=dValue;//crlf////crlf////tab////tab////tab////tab////tab////call submitDialogCellSub instead of submitDialogCell to keep the text selected in the //crlf////tab////tab////tab////tab////tab////amount field.  If submitDialogCell is called\\comma\\ the text will be unselected and difficult to edit//crlf////tab////tab////tab////tab////tab//submitDialogCellSub(eAmount);//tab////tab////crlf////tab////tab////tab////tab////tab//eAmount.select();//crlf////tab////tab////tab////tab//};//crlf////tab////crlf////tab////tab////tab////tab//checkForPriceChange(DialogID);//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab////update the vendor info//crlf////tab////tab//updateVendorInfo(DialogID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the amount is edited.  Sets the AmountInitialized attribute in the //crlf////tab//input to True to indicate that an amount has been entered.  When this attribute//crlf////tab//is True\\comma\\ changes in the quantity will no longer cause adjustments to the amount.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function invoiceDetailAmountChanged(e\\comma\\DialogID) {//crlf////tab////tab////submit the data//crlf////tab////tab//submitDialogCell(e);//crlf////crlf////tab////tab////setTimeout(function() {submitDialogCell(e);}\\comma\\1000);//crlf////crlf////tab////tab//e.setAttribute(\\quot\\AmountInitialized\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////tab////tab//checkForPriceChange(DialogID);//crlf////crlf////tab////tab////update the vendor info//crlf////tab////tab//updateVendorInfo(DialogID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the size prefix is modified//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function invoiceDetailSizePrefixChanged(e\\comma\\DialogID) {//crlf////tab////tab////submit the data//crlf////tab////tab//submitDialogCell(e);//crlf////crlf////tab////tab//setDefaultPrice(DialogID);//crlf////tab////tab////crlf////tab////tab////update the vendor info (no longer used.  A driver listener script is used to update the vendor info)//crlf////tab////tab////updateVendorInfo(DialogID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the size unit is modified//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function invoiceDetailSizeUnitChanged(e) {//crlf////tab////tab////submit the data//crlf////tab////tab//submitDialogCell(e);//crlf////crlf////tab////tab//var DialogID=e.getAttribute(\\quot\\DialogID\\quot\\);//crlf////tab////tab//setDefaultPrice(DialogID);//crlf////tab////tab////crlf////tab////tab////update the vendor info (no longer used.  A driver listener script is used to update the vendor info)//crlf////tab////tab////var DialogID=e.getAttribute(\\quot\\DialogID\\quot\\);//crlf////tab////tab////updateVendorInfo(DialogID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the item\\comma\\ size prefix\\comma\\ size unit or price are changed.  Records //crlf////tab//the data in the inventory item record//crlf////crlf////tab//2017-01: THIS FUNCTION IS NOT USED.  INSTEAD\\comma\\ VENDOR INFORMATION IS //crlf////tab//UPDATED IN THE INVENTORY ITEM RECORD USING A DRIVER LISTENER.  //crlf////tab//THE Aspect_Back_Office_Invoice_Detail_DataSubmitted SCRIPT IN THE ASPECT BACKOFFICE//crlf////tab//PACKAGE REPLACES THIS SCRIPT.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function updateVendorInfo(DialogID) {//crlf////tab////tab//return;//crlf////crlf////tab////tab//var d=document.getElementById(\\quot\\Aspect_Back_Office_Invoice_Detail\\quot\\+DialogID);//crlf////tab////tab//var sSalt=d.getAttribute(\\quot\\salt\\quot\\);//crlf////crlf////tab////tab//var sItemID=document.getElementById(DialogID+\\quot\\InvoiceDetailSelectItem_input_submit\\quot\\).value;//crlf////tab////tab//var sVendorID=document.getElementById(DialogID+\\quot\\VendorID\\quot\\).value;//crlf////tab////tab//var sVendorItemCode=document.getElementById(sSalt+\\quot\\Imported_Item_Code\\quot\\).value;//crlf////tab////tab//var sSizePrefix=document.getElementById(DialogID+\\quot\\SizePrefix\\quot\\).value;//crlf////tab////tab//var sSizeUnit=document.getElementById(DialogID+\\quot\\SizeUnit\\quot\\).value;//crlf////tab////tab//var dQuantity=parseFloat(document.getElementById(DialogID+\\quot\\Quantity\\quot\\).value);//crlf////tab////tab//var//tab//dAmount=parseFloat(document.getElementById(DialogID+\\quot\\Amount\\quot\\).value);//crlf////tab////tab//var dUnitPrice=(dQuantity==0) ? 0 : dAmount/dQuantity;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=greenlight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Dialogs//amp//ContainerItemID=AspectScript\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//Query=updateVendorInfo\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//Source={AspectHashID}\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//StoreID=__StoreID__\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//ItemID=\\quot\\+sItemID;//crlf////tab////tab//sUrl+=\\quot\\//amp//VendorID=\\quot\\+sVendorID;//crlf////tab////tab//sUrl+=\\quot\\//amp//VendorItemCode=\\quot\\+sVendorItemCode;//crlf////tab////tab//sUrl+=\\quot\\//amp//SizePrefix=\\quot\\+sSizePrefix;//crlf////tab////tab//sUrl+=\\quot\\//amp//SizeUnit=\\quot\\+sSizeUnit;//crlf////tab////tab//sUrl+=\\quot\\//amp//SizePrice=\\quot\\+dUnitPrice;//crlf////tab////tab////appendToLog(\\quot\\url=\\quot\\+sUrl);//crlf////tab////tab//asynchInclude(null\\comma\\sUrl);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when an item is selected in the drop-down list.  Calls the default //crlf////tab//dataListInputChanged() function to submit the data and then sets the purchase size//crlf////tab//and default price.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function invoiceDetailItemSelected(e) {//crlf////tab////tab////appendToLog(\\quot\\invoiceDetailItemSelected\\quot\\);//crlf////crlf////tab////tab////update the hidden input used to submit the data//crlf////tab////tab//dataListInputChanged(e);//crlf////crlf////tab////tab////set the default purchase size and price//crlf////tab////tab//setDefaultPurchaseSize(e);//crlf////crlf////tab////tab////record the vendor item code in the inventory item record//crlf////tab////tab//var DialogID=e.getAttribute(\\quot\\dialogid\\quot\\);//crlf////tab////tab//updateVendorInfo(DialogID);//crlf////tab//};//crlf////tab////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Sets the default price for the currently selected item.  Also updates the last //crlf////tab//price paid.  Called when the dialog is opened.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function setLastPricePaid(DialogID) {//crlf////tab////tab//var sItemID=document.getElementById(DialogID+\\quot\\InvoiceDetailSelectItem_input_submit\\quot\\).value;//crlf////tab////tab//var dPrefix=parseFloat(document.getElementById(DialogID+\\quot\\SizePrefix\\quot\\).value);//crlf////tab////tab//var sUnit=document.getElementById(DialogID+\\quot\\SizeUnit\\quot\\).value;//crlf////crlf////tab////tab////if the size is valid\\comma\\ set the default price //crlf////tab////tab//if((dPrefix!=0) //amp////amp// (sUnit!=\\quot\\0\\quot\\)) {//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//get the hidden elsement containing purchase sizes and price by vendor for each item//crlf////tab////tab////tab//This is a select element created in the invoice dialog using the Aspect_BackOffice_Default_Purchase_Info_2018 collection.//crlf////tab////tab////tab//The format of options is //crlf////tab////tab////tab////tab//<option value=\\quot\\[ItemID]\\quot\\>//crlf////tab////tab////tab////tab////tab//Name~~pipe~~Item ID\\comma\\//crlf////tab////tab////tab////tab////tab//vendor1 ID]vendor1 size prefix~~pipe~~vendor1 size unit~~pipe~~vendor1 price~~pipe~~vendor1 size~~pipe~~Vendor 1 Code\\comma\\//crlf////tab////tab////tab////tab////tab//vendor2 ID]vendor2 size prefix~~pipe~~vendor2 size unit~~pipe~~vendor2 price~~pipe~~vendor2 size~~pipe~~Vendor 1 Code\\comma\\//crlf////tab////tab////tab////tab////tab//vendor3 ID]vendor3 size prefix~~pipe~~vendor3 size unit~~pipe~~vendor3 price~~pipe~~vendor3 size~~pipe~~Vendor 1 Code//crlf////tab////tab////tab////tab//</option>//crlf////crlf////tab////tab////tab////tab//e.g. <option value=\\quot\\844\\quot\\>844~~pipe~~SPRITE\\comma\\1~~pipe~~1~~pipe~~16~~pipe~~77.52~~pipe~~ Case~~pipe~~4004362\\comma\\35~~pipe~~1~~pipe~~16~~pipe~~88.94~~pipe~~ Case~~pipe~~\\comma\\22~~pipe~~1~~pipe~~16~~pipe~~73.25~~pipe~~ Case~~pipe~~</option>//tab////tab////tab////crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab//var ePurchaseInfo=document.getElementById(DialogID+\\quot\\DefaultPurchaseInfo\\quot\\);//crlf////crlf////tab////tab////tab////get the input containing the vendor ID//crlf////tab////tab////tab//var eVendorID=document.getElementById(DialogID+\\quot\\VendorID\\quot\\);//crlf////tab////tab////tab//var sVendorID=eVendorID.value;//crlf////crlf////tab////tab////tab////locate the item in the list and update the size prefix and unit//crlf////tab////tab////tab//for(var i=0;i<ePurchaseInfo.options.length;i++) {//crlf////tab////tab////tab////tab//if(ePurchaseInfo.options[i].value.equalsIgnoreCase(sItemID)) {//crlf////tab////tab////tab////tab////tab////get the purchase size info.  This is a comma-delimited string containing three //crlf////tab////tab////tab////tab////tab////records.  Each record is a pipe-delimited string containing //crlf////tab////tab////tab////tab////tab////VendorID ~~pipe~~ Size Prefix ~~pipe~~ Size Unit ~~pipe~~ Price ~~pipe~~ Formatted Size//crlf////tab////tab////tab////tab////tab//var arVendorInfo=getSubStringArray(ePurchaseInfo.options[i].text\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab////tab////tab//var bDone=false;//crlf////tab////tab////tab////tab////tab////start at element 1 since element 0 is the item id and name//crlf////tab////tab////tab////tab////tab//for(var j=1;((!bDone) //amp////amp// (j<arVendorInfo.length));j++) {//crlf////tab////tab////tab////tab////tab////tab//var a=getSubStringArray(arVendorInfo[j]\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab////tab////tab////tab//if((parseFloat(a[1])==dPrefix) //amp////amp// (a[2].equalsIgnoreCase(sUnit))) {//crlf////tab////tab////tab////tab////tab////tab////tab//document.getElementById(DialogID+\\quot\\LastUnitPrice\\quot\\).value=formatNumber(parseFloat(a[3])\\comma\\\\quot\\//pound////pound////pound////pound////pound////pound//.00\\quot\\);//crlf////tab////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab////tab//if(a[0].equalsIgnoreCase(sVendorID)) bDone=true;//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab////tab////alert(\\quot\\Could not find item: \\quot\\+sItemID);//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Sets the default price for the currently selected item.  Also updates the last //crlf////tab//price paid since these are the same.  Called when the dialog is opened and by //crlf////tab//setDefaultPurchaseSize().//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function setDefaultPrice(DialogID) {//crlf////tab////tab//var sItemID=document.getElementById(DialogID+\\quot\\InvoiceDetailSelectItem_input_submit\\quot\\).value;//crlf////tab////tab//var dPrefix=parseFloat(document.getElementById(DialogID+\\quot\\SizePrefix\\quot\\).value);//crlf////tab////tab//var sUnit=document.getElementById(DialogID+\\quot\\SizeUnit\\quot\\).value;//crlf////crlf////tab////tab////if the size is valid\\comma\\ set the default price //crlf////tab////tab////appendToLog(\\quot\\setDefaultPrice dPrefix=\\quot\\+dPrefix+\\quot\\ sUnit=\\quot\\+sUnit);//crlf////tab////tab//if((!isNaN(dPrefix)) //amp////amp// (dPrefix!=0) //amp////amp// (sUnit!=\\quot\\0\\quot\\)) {//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//get the hidden elsement containing purchase sizes and price by vendor for each item//crlf////tab////tab////tab//This is a select element created in the invoice dialog using the Aspect_BackOffice_Default_Purchase_Info_2018 collection.//crlf////tab////tab////tab//The format of options is //crlf////tab////tab////tab////tab//<option value=\\quot\\[ItemID]\\quot\\>//crlf////tab////tab////tab////tab////tab//Name~~pipe~~Item ID\\comma\\//crlf////tab////tab////tab////tab////tab//vendor1 ID]vendor1 size prefix~~pipe~~vendor1 size unit~~pipe~~vendor1 price~~pipe~~vendor1 size~~pipe~~Vendor 1 Code\\comma\\//crlf////tab////tab////tab////tab////tab//vendor2 ID]vendor2 size prefix~~pipe~~vendor2 size unit~~pipe~~vendor2 price~~pipe~~vendor2 size~~pipe~~Vendor 1 Code\\comma\\//crlf////tab////tab////tab////tab////tab//vendor3 ID]vendor3 size prefix~~pipe~~vendor3 size unit~~pipe~~vendor3 price~~pipe~~vendor3 size~~pipe~~Vendor 1 Code//crlf////tab////tab////tab////tab//</option>//crlf////crlf////tab////tab////tab////tab//e.g. <option value=\\quot\\844\\quot\\>844~~pipe~~SPRITE\\comma\\1~~pipe~~1~~pipe~~16~~pipe~~77.52~~pipe~~ Case~~pipe~~4004362\\comma\\35~~pipe~~1~~pipe~~16~~pipe~~88.94~~pipe~~ Case~~pipe~~\\comma\\22~~pipe~~1~~pipe~~16~~pipe~~73.25~~pipe~~ Case~~pipe~~</option>//tab////tab////tab////crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab//var ePurchaseInfo=document.getElementById(DialogID+\\quot\\DefaultPurchaseInfo\\quot\\);//crlf////crlf////tab////tab////tab////get the input containing the vendor ID//crlf////tab////tab////tab//var eVendorID=document.getElementById(DialogID+\\quot\\VendorID\\quot\\);//crlf////tab////tab////tab//var sVendorID=eVendorID.value;//crlf////crlf////tab////tab////tab////locate the item in the list and update the size prefix and unit//crlf////tab////tab////tab//for(var i=0;i<ePurchaseInfo.options.length;i++) {//crlf////tab////tab////tab////tab//if(ePurchaseInfo.options[i].value.equalsIgnoreCase(sItemID)) {//crlf////tab////tab////tab////tab////tab////get the purchase size info.  This is a comma-delimited string containing three //crlf////tab////tab////tab////tab////tab////records.  Each record is a pipe-delimited string containing //crlf////tab////tab////tab////tab////tab////VendorID ~~pipe~~ Size Prefix ~~pipe~~ Size Unit ~~pipe~~ Price ~~pipe~~ Formatted Size//crlf////tab////tab////tab////tab////tab//var arVendorInfo=getSubStringArray(ePurchaseInfo.options[i].text\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab////tab////tab//var bDone=false;//crlf////tab////tab////tab////tab////tab////start at element 1 since element 0 is the item id and name//crlf////tab////tab////tab////tab////tab//for(var j=1;((!bDone) //amp////amp// (j<arVendorInfo.length));j++) {//crlf////tab////tab////tab////tab////tab////tab//var a=getSubStringArray(arVendorInfo[j]\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab////tab////tab////tab//if((parseFloat(a[1])==dPrefix) //amp////amp// (a[2].equalsIgnoreCase(sUnit))) {//crlf////tab////tab////tab////tab////tab////tab////tab//document.getElementById(DialogID+\\quot\\UnitPrice\\quot\\).value=a[3];//crlf////tab////tab////tab////tab////tab////tab////tab//document.getElementById(DialogID+\\quot\\LastUnitPrice\\quot\\).value=formatNumber(parseFloat(a[3])\\comma\\\\quot\\//pound////pound////pound////pound////pound////pound//.00\\quot\\);//crlf////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\setDefaultPrice found item: \\quot\\+sItemID);//crlf////tab////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab////tab//if(a[0].equalsIgnoreCase(sVendorID)) bDone=true;//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab////tab////appendToLog(\\quot\\setDefaultPrice Could not find item: \\quot\\+sItemID);//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Sets the default purchase size for the currently selected item by looking up //crlf////tab//the purchase information in the hidden element containing data for all items.//crlf////tab//e is the visible element used to select the item.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function setDefaultPurchaseSize(e) {//crlf////tab////tab////get the ID of the hidden input used to submit the data.  This input will contain the Item ID.//crlf////tab////tab//var eHiddenInput=document.getElementById(e.id+\\quot\\_submit\\quot\\);//crlf////tab////tab//var sItemID=eHiddenInput.value;//crlf////crlf////tab////tab////get the DialogID.  This is used to locate the hidden select box containing the default //crlf////tab////tab////purchase sises and prices//crlf////tab////tab//var sDialogID=e.getAttribute(\\quot\\DialogID\\quot\\);//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//get the hidden elsement containing purchase sizes and price by vendor for each item//crlf////tab////tab//This is a select element created in the invoice dialog using the Aspect_BackOffice_Default_Purchase_Info_2018 collection.//crlf////tab////tab//The format of options is //crlf////tab////tab////tab////tab//<option value=\\quot\\[ItemID]\\quot\\>//crlf////tab////tab////tab////tab////tab//Name~~pipe~~Item ID//crlf////tab////tab////tab////tab////tab//vendor1 ID]vendor1 size prefix~~pipe~~vendor1 size unit~~pipe~~vendor1 price~~pipe~~vendor1 size~~pipe~~Vendor 1 Code\\comma\\//crlf////tab////tab////tab////tab////tab//vendor2 ID]vendor2 size prefix~~pipe~~vendor2 size unit~~pipe~~vendor2 price~~pipe~~vendor2 size~~pipe~~Vendor 1 Code\\comma\\//crlf////tab////tab////tab////tab////tab//vendor3 ID]vendor3 size prefix~~pipe~~vendor3 size unit~~pipe~~vendor3 price~~pipe~~vendor3 size~~pipe~~Vendor 1 Code//crlf////tab////tab////tab////tab//</option>//crlf////crlf////tab////tab////tab////tab//e.g. <option value=\\quot\\844\\quot\\>844~~pipe~~SPRITE\\comma\\1~~pipe~~1~~pipe~~16~~pipe~~77.52~~pipe~~ Case~~pipe~~4004362\\comma\\35~~pipe~~1~~pipe~~16~~pipe~~88.94~~pipe~~ Case~~pipe~~\\comma\\22~~pipe~~1~~pipe~~16~~pipe~~73.25~~pipe~~ Case~~pipe~~</option>//tab////tab////tab////crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//var ePurchaseInfo=document.getElementById(sDialogID+\\quot\\DefaultPurchaseInfo\\quot\\);//crlf////crlf////tab////tab////get the input containing the vendor ID//crlf////tab////tab//var eVendorID=document.getElementById(sDialogID+\\quot\\VendorID\\quot\\);//crlf////tab////tab//var sVendorID=eVendorID.value;//crlf////crlf////tab////tab////locate the item in the list and update the size prefix and unit//crlf////tab////tab//for(var i=0;i<ePurchaseInfo.options.length;i++) {//crlf////tab////tab////tab//if(ePurchaseInfo.options[i].value.equalsIgnoreCase(sItemID)) {//crlf////tab////tab////tab////tab//var dPrefix=0;//crlf////tab////tab////tab////tab//var sUnitID=\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//var dPrice=0;//crlf////tab////tab////tab////tab//var sFormattedSize=\\quot\\\\quot\\;//crlf////crlf////tab////tab////tab////tab//var arVendorInfo=getSubStringArray(ePurchaseInfo.options[i].text\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab////tab//var bDone=false;//crlf////tab////tab////tab////tab////start at element 1 since element 0 is the item id and name//crlf////tab////tab////tab////tab//for(var j=1;((!bDone) //amp////amp// (j<arVendorInfo.length));j++) {//crlf////tab////tab////tab////tab////tab//var a=getSubStringArray(arVendorInfo[j]\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////crlf////tab////tab////tab////tab////tab////initialize the defaults using the first valid entry//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\a[1]=\\quot\\+a[1]);//crlf////tab////tab////tab////tab////tab//if(parseFloat(a[1])>0) {//crlf////tab////tab////tab////tab////tab////tab//dPrefix=parseFloat(a[1]);//crlf////tab////tab////tab////tab////tab////tab//sUnitID=a[2];//crlf////tab////tab////tab////tab////tab////tab//dPrice=parseFloat(a[3]);//crlf////tab////tab////tab////tab////tab////tab//sFormattedSize=a[4];//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\setDefaultPurchaseSize ItemID=\\quot\\+sItemID+\\quot\\ dPrefix=\\quot\\+dPrefix+\\quot\\ sUnitID=\\quot\\+sUnitID+\\quot\\ dPrice=\\quot\\+dPrice+\\quot\\ sFormattedSize=\\quot\\+sFormattedSize);//crlf////tab////tab////tab////tab////tab////tab////console.log(\\quot\\setDefaultPurchaseSize ItemID=\\quot\\+sItemID+\\quot\\ dPrefix=\\quot\\+dPrefix+\\quot\\ sUnitID=\\quot\\+sUnitID+\\quot\\ dPrice=\\quot\\+dPrice+\\quot\\ sFormattedSize=\\quot\\+sFormattedSize);//crlf////tab////tab////tab////tab////tab////tab//if(a[0].equalsIgnoreCase(sVendorID)) bDone=true;//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//if((dPrefix!=0) //amp////amp// (sUnitID!=\\quot\\0\\quot\\)) {//crlf////tab////tab////tab////tab////tab////set the size prefix and submit it//crlf////tab////tab////tab////tab////tab//var ePrefix=document.getElementById(sDialogID+\\quot\\SizePrefix\\quot\\);//crlf////tab////tab////tab////tab////tab//ePrefix.value=dPrefix;//crlf////tab////tab////tab////tab////tab//submitDialogCell(ePrefix);//crlf////crlf////tab////tab////tab////tab////tab////set the size unit and submit it//crlf////tab////tab////tab////tab////tab//var eUnit=document.getElementById(sDialogID+\\quot\\SizeUnit\\quot\\);//crlf////tab////tab////tab////tab////tab//eUnit.value=sUnitID;//crlf////tab////tab////tab////tab////tab//submitDialogCell(eUnit);//crlf////crlf////tab////tab////tab////tab////tab////record the default price in the hidden input//crlf////tab////tab////tab////tab////tab//document.getElementById(sDialogID+\\quot\\UnitPrice\\quot\\).value=dPrice;//crlf////crlf////tab////tab////tab////tab////tab////set the formatted size//crlf////tab////tab////tab////tab////tab//document.getElementById(sDialogID+\\quot\\SizeReadOnly\\quot\\).innerHTML=sFormattedSize;//crlf////crlf////tab////tab////tab////tab////tab////if the quantity is nonzero and the amount is zero\\comma\\ set the amount and submit it//crlf////tab////tab////tab////tab////tab//var eQuantity=document.getElementById(sDialogID+\\quot\\Quantity\\quot\\);//crlf////tab////tab////tab////tab////tab//var eAmount=document.getElementById(sDialogID+\\quot\\Amount\\quot\\);//crlf////tab////tab////tab////tab////tab//if(eQuantity.value.length>0) {//crlf////tab////tab////tab////tab////tab////tab//if(parseFloat(eQuantity.value)!=0) {//crlf////tab////tab////tab////tab////tab////tab////tab//if((parseFloat(eAmount.value)==0) ~~pipe~~~~pipe~~ (eAmount.value.length==0)) {//crlf////tab////tab////tab////tab////tab////tab////tab////tab//var dValue=Math.round(parseFloat(eQuantity.value)*dPrice*100)/100;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//eAmount.value=dValue;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//submitDialogCell(eAmount);//crlf////tab////tab////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab////tab////disable editing of the size since a valid size has been found//crlf////tab////tab////tab////tab////tab//console.log(\\quot\\setDefaultPurchaseSize: Prefix=\\quot\\+ePrefix.value+\\quot\\ Unit=\\quot\\+eUnit.value+\\quot\\ sUnitID=\\quot\\+sUnitID);//crlf////tab////tab////tab////tab////tab//enableSizeEdit(sDialogID\\comma\\false);//crlf////crlf////tab////tab////tab////tab////tab////focus the quantity input//crlf////tab////tab////tab////tab////tab//document.getElementById(sDialogID+\\quot\\Quantity\\quot\\).focus();//crlf////crlf////tab////tab////tab////tab////tab//setDefaultPrice(sDialogID)//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else {//crlf////tab////tab////tab////tab////tab////enable editing of the size since a valid size was not found//crlf////tab////tab////tab////tab////tab//console.log(\\quot\\setDefaultPurchaseSize: Unable to find a valid size\\quot\\);//crlf////tab////tab////tab////tab////tab//enableSizeEdit(sDialogID\\comma\\true)//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//function invoiceDetailNextButtonKeyDown(evt\\comma\\e) {//crlf////tab////tab//var key=evt.keyCode ? evt.keyCode : evt.which ? evt.which : evt.charCode;//crlf////tab////tab//if(key==27) {//crlf////tab////tab////tab//closeInvoiceDetailDialog(e);//crlf////tab////tab//};//crlf////tab//};//crlf//</script>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Dialog used to edit a record//crlf//--------------------------------------------------------------------------]//crlf//<div ID=\\quot\\Aspect_Back_Office_Invoice_Detail__DialogID__\\quot\\ DialogIDSalt=\\quot\\__DialogID__\\quot\\ salt=\\quot\\__salt__\\quot\\ aspectinit=\\quot\\editInvoiceDetail\\quot\\ class=\\quot\\default_table_dialog\\quot\\ AdjustHeight=\\quot\\false\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:350px; display:<!!include type:expression; expression:if(not(defined(\\quot\\__DialogID__\\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 ID=\\quot\\__DialogID__CloseIcon\\quot\\ class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeInvoiceDetailDialog(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__invoicedetail')\\quot\\>Invoice Item</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__invoicedetail'>Invoice Item</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__HiddenItemID\\quot\\ name=\\quot\\ItemID\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__HiddenItemName\\quot\\ name=\\quot\\Item_Name\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__Imported_Item_Name\\quot\\ name=\\quot\\Imported_Item_Name\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__Imported_Item_Code\\quot\\ name=\\quot\\Imported_Item_Code\\quot\\>//crlf////crlf////tab////tab//<!-- Main -->//crlf////tab////tab//<div ID=\\quot\\__salt__invoicedetail\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<table ID=\\quot\\__DialogID__InvoiceDetailDialogTable\\quot\\ class=\\quot\\inline\\quot\\ style=\\quot\\max-width:350px\\quot\\>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__salt__VendorName\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>//amp//nbsp;</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<span name=\\quot\\Imported_Item_Name\\quot\\></span>\\comma\\//amp//nbsp;//crlf////tab////tab////tab////tab////tab////tab//<span name=\\quot\\Imported_Pack_Size\\quot\\></span>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Item</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab////tab//< !!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Inventory_Items_by_ID_with_Select\\quot\\\\comma\\\\quot\\ItemID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\class=\\quot\\+quote(\\quot\\long\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)+\\quot\\ onkeydown=\\quot\\+quote(\\quot\\return keyDown(event\\comma\\this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\\\comma\\\\quot\\Record_Type=1\\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\\__DialogID__InvoiceDetailSelectItem\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Name:\\quot\\ItemID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Items_for_Invoice_Detail_Dialog\\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\\placeholder='Type an item name' DefaultFocus='true' class='long' Salt='__salt__' DialogID='__DialogID__' onChange='invoiceDetailItemSelected(this)'\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__~~pipe~~VendorID=__VendorID__\\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////tab//<input type=\\quot\\checkbox\\quot\\ ID=\\quot\\__DialogID__ShowAllItems\\quot\\ tabstop=\\quot\\false\\quot\\ checked=\\quot\\checked\\quot\\ onkeydown=\\quot\\return keyDown(event\\comma\\this);\\quot\\ onChange=\\quot\\showAllInvoiceDetailSelections(this\\comma\\'__DialogID__')\\quot\\> Select from all items//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ ID=\\quot\\__DialogID__ShowInactiveItems\\quot\\ tabstop=\\quot\\false\\quot\\ onkeydown=\\quot\\return keyDown(event\\comma\\this);\\quot\\ onChange=\\quot\\showInactiveInvoiceDetailSelections(this\\comma\\'__DialogID__')\\quot\\> Include inactive items//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__DialogID__TRSizeReadOnly\\quot\\>//crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//This row displays the size using a span.  The size can be edited by clicking on it//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<td>Size</td>//crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//Add width to the td tag so it appears on a row by itself\\comma\\ even when the table is//crlf////tab////tab////tab////tab////tab//displayed inline.//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<td style=\\quot\\width:200px\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<span ID=\\quot\\__DialogID__SizeReadOnly\\quot\\ name=\\quot\\Size\\quot\\ class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\enableSizeEdit('__DialogID__'\\comma\\true)\\quot\\></span>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__DialogID__TRSizeEditable\\quot\\>//crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//This row displays the size as an editable prefix and unit//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<td>Size</td>//crlf////tab////tab////tab////tab////tab//<td style=\\quot\\white-space:nowrap\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<input TYPE=\\quot\\number\\quot\\ ID=\\quot\\__DialogID__SizePrefix\\quot\\ ONCHANGE=\\quot\\invoiceDetailSizePrefixChanged(this\\comma\\'__DialogID__')\\quot\\ onkeydown=\\quot\\return keyDown(event\\comma\\this);\\quot\\ class=\\quot\\number\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Size_Prefix\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab// - //crlf////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Size_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\\quot\\+quote(\\quot\\__DialogID__SizeUnit\\quot\\)+\\quot\\ DialogID='__DialogID__' class=\\quot\\+quote(\\quot\\short\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\invoiceDetailSizeUnitChanged(this)\\quot\\)+\\quot\\ onkeydown=\\quot\\+quote(\\quot\\return keyDown(event\\comma\\this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Quantity</td>//crlf////tab////tab////tab////tab////tab//<td><input TYPE=\\quot\\number\\quot\\ ID=\\quot\\__DialogID__Quantity\\quot\\ ONCHANGE=\\quot\\invoiceDetailQuantityChanged(this\\comma\\'__DialogID__')\\quot\\ onkeydown=\\quot\\return keyDown(event\\comma\\this);\\quot\\ class=\\quot\\number\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Quantity\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Amount</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input TYPE=\\quot\\number\\quot\\ ID=\\quot\\__DialogID__Amount\\quot\\ ONCHANGE=\\quot\\invoiceDetailAmountChanged(this\\comma\\'__DialogID__')\\quot\\ onkeydown=\\quot\\return keyDown(event\\comma\\this);\\quot\\ class=\\quot\\number\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Extended_Price\\quot\\></input>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__DialogID__UnitPriceContainer\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Unit Price</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\number\\quot\\ class=\\quot\\number readonly=\\quot\\readonly\\quot\\ ID=\\quot\\__DialogID__CurrentUnitPrice\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<span ID=\\quot\\__DialogID__PriceChangeNotification\\quot\\></span>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__DialogID__LastUnitPriceContainer\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Last Price</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\number\\quot\\ class=\\quot\\number readonly=\\quot\\readonly\\quot\\ ID=\\quot\\__DialogID__LastUnitPrice\\quot\\> //crlf////tab////tab////tab////tab////tab////tab//<span ID=\\quot\\__DialogID__PriceChangePercent\\quot\\></span>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//<div ID=\\quot\\__DialogID__AddAnotherInvoiceDetailContainer\\quot\\ style=\\quot\\text-align:center;padding-top:10px\\quot\\>//crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ tabstop=\\quot\\true\\quot\\ style=\\quot\\width:80\\percent\\\\quot\\ value=\\quot\\Add Another Item\\quot\\ onkeydown=\\quot\\return invoiceDetailNextButtonKeyDown(event\\comma\\this);\\quot\\ onClick=\\quot\\addAnotherInvoiceDetail('__DialogID__')\\quot\\>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//This is a hidden input used to record the default price.  It is set initially when the dialog is open //crlf////tab////tab////tab//using a calculated field in the structure that divides the extended price by the quantity.  It is //crlf////tab////tab////tab//updated whenever an item is selected by the invoiceDetailItemSelected() function which looks up the //crlf////tab////tab////tab//associated size and price for an item using a collection included in the invoice dialog.//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__DialogID__UnitPrice\\quot\\ name=\\quot\\Unit_Price\\quot\\>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//This is a hidden datalist containing a list of items filtered to the selected vendor.//crlf////tab////tab////tab//This list can be used by the actual item select box by changing the \\quot\\list\\quot\\ attribute//crlf////tab////tab////tab//in the input.//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<!!include type:Collection;//crlf////tab////tab////tab////tab//ID:\\quot\\__DialogID__InvoiceDetailSelectItemAlt\\quot\\;//crlf////tab////tab////tab////tab//Name:\\quot\\ItemID\\quot\\;//crlf////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Items_for_Invoice_Detail_Dialog\\quot\\;//crlf////tab////tab////tab////tab//DataList:\\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\class='long' DialogID='__DialogID__' style='display:none' onChange='invoiceDetailItemSelected(this)'\\quot\\;//crlf////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__~~pipe~~VendorID=__VendorID__\\quot\\;//crlf////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////tab//__servertimerresults__//crlf//</div>^
ID=291424|X=151|Y=32|W=866|H=665|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=983583|AttachLeft=|AlignLeft=983583|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Master item list//crlf//--------------------------------------------------------------------------]//crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Selected=true//amp//Section=Master item list\\quot\\;>//crlf////crlf////tab//<p>The collection with the ID __salt__DefaultPurchaseInfo is located in the invoice dialog. It contains //crlf////tab////tab//vendor codes\\comma\\ sizes and prices for each item.</p>//crlf////crlf////tab//<code>//crlf////tab////tab////amp//lt;option value=\\quot\\[ItemID]\\quot\\//amp//gt;<br>//crlf////tab////tab////tab////amp//nbsp;//amp//nbsp;Item ID~~pipe~~Name\\comma\\<br>//crlf////tab////tab////tab////tab////amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;vendor1 code]vendor1 size prefix~~pipe~~vendor1 size unit~~pipe~~vendor1 price~~pipe~~vendor1 size\\comma\\<br>//crlf////tab////tab////tab////tab////amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;vendor2 code]vendor2 size prefix~~pipe~~vendor2 size unit~~pipe~~vendor2 price~~pipe~~vendor2 size\\comma\\<br>//crlf////tab////tab////tab////tab////amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;vendor3 code]vendor3 size prefix~~pipe~~vendor3 size unit~~pipe~~vendor3 price~~pipe~~vendor3 size<br>//crlf////tab////tab////amp//lt;/option//amp//gt;<br>//crlf////tab//</code>//crlf////tab//<br>//crlf////crlf////tab//<p>For example:</p>//crlf////tab//<code>//crlf////tab////amp//lt;option value=\\quot\\723\\quot\\//amp//gt;723~~pipe~~MOZZ IN WATER\\comma\\2~~pipe~~1~~pipe~~11~~pipe~~3.46~~pipe~~ Pound\\comma\\22~~pipe~~1~~pipe~~11~~pipe~~9.2575~~pipe~~ Pound\\comma\\1~~pipe~~1~~pipe~~11~~pipe~~4.241~~pipe~~ Pound//amp//lt;/option//amp//gt;//crlf////tab//</code>//crlf////tab//<br>//crlf////tab////crlf////tab//<p>This collection is used to lookup the default price when an invoice detail is entered.  It is also //crlf////tab////tab//used to update the two datalists so the item names include the vendor code for the selected vendor.  //crlf////tab////tab//This avoids having to make a call to the server to update the lists when the vendor is changed.</p>//crlf////crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Item datalists//crlf//--------------------------------------------------------------------------]//crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Selected=trueChapter=__salt__//amp//Section=Item datalists\\quot\\;>//crlf////tab//<p>Two datalists are used for the item selection in an invoice detail.</p//crlf////crlf////tab//<code>//crlf////tab////tab//__DialogID__InvoiceDetailSelectItem<br>//crlf////tab////tab//__DialogID__InvoiceDetailSelectItemAlt<br>//crlf////tab//</code>//crlf////crlf////tab//<p>The first is associated with the input field as it would normally be.  The second is a hidden //crlf////tab////tab//collection.  When the checkbox used to select only items supplied by the selected vendor is //crlf////tab////tab//toggled\\comma\\ the appropriate datalist is associated with the input field.</p>//crlf////crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf//^
ID=409305|X=151|Y=32|W=1123|H=793|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=983583|AttachLeft=|AlignLeft=983583|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=167025|X=151|Y=32|W=866|H=665|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=983583|AttachLeft=|AlignLeft=983583|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=2253|X=151|Y=32|W=866|H=665|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=983583|AttachLeft=|AlignLeft=983583|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=204615|X=151|Y=32|W=910|H=608|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=983583|AttachLeft=|AlignLeft=983583|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="Inventory Merge" group="Inventory Synch" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Inventory Merge" modified="10-19-2020 14:54:36" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=04-26-2019 21:43:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=1 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(indirect(getToken(Aspect_BackOffice_InventoryMergeAgent_Conditional)))" TaskConditional_Expression_Description="" TaskState_Function="(indirect(getToken(Aspect_BackOffice_InventoryMergeAgent_State)))" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=29|toolboxy=119|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Inventory Merge.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=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\\'690729')\\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\\'961927')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=690729|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Merge.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Inventory Merge\\comma\\inventoryMergeTest\\comma\\sensor_list\\comma\\Sensor=inventoryMergeTest\\comma\\private\\comma\\text//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//inventoryMergeTest//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\inventoryMergeTest\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</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\\inventoryMergeTest\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//return(\\quot\\inventoryMergeTest: \\quot\\+formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////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_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Merge.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Inventory Merge\\comma\\deleteDuplicateMenuItemDetails\\comma\\action_list\\comma\\Action=deleteDuplicateMenuItemDetails\\comma\\private//crlf////tab//Inventory Merge\\comma\\fixDuplicateVendors\\comma\\action_list\\comma\\Action=fixDuplicateVendors\\comma\\private//crlf////tab//Inventory Merge\\comma\\mergeVendor\\comma\\action_list\\comma\\Action=mergeVendor\\comma\\private//crlf////tab//Inventory Merge\\comma\\fixBWWSoCalVendors\\comma\\action_list\\comma\\Action=fixBWWSoCalVendors\\comma\\private//crlf////tab//Inventory Merge\\comma\\createInventorySynchFilesetSynchTask\\comma\\action_list\\comma\\Action=createInventorySynchFilesetSynchTask\\comma\\private//crlf////tab//Inventory Merge\\comma\\removeDuplicateMenuItems\\comma\\action_list\\comma\\Action=removeDuplicateMenuItems\\comma\\private//crlf////tab//Inventory Merge\\comma\\synchronizeInventory\\comma\\action_list\\comma\\Action=synchronizeInventory\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//deleteDuplicateMenuItemDetails//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\deleteDuplicateMenuItemDetails\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Deletes any duplicate records in the Aspect_Back_Office_Menu_Item_Detail driver.  Changes //crlf////tab////tab//the ID by replacing the last character with an underscore//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - ID of store//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\deleteDuplicateMenuItemDetails\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(not(defined(\\quot\\__StoreID__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the driver//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Menu_Item_Detail\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////crlf////tab////tab////tab////filter to duplicate items//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\Is_Duplicate_ID\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab//c=driverGetRecordCount(d)//crlf////tab////tab////tab//appendToLog(\\quot\\Found \\quot\\\\plus\\c\\plus\\\\quot\\ duplicate records\\quot\\)//crlf////tab////tab////tab//cDeleted=0//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\Used\\quot\\\\comma\\n\\comma\\false)//crlf////tab////tab////tab////tab//cDeleted\\plus\\\\plus\\//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////10/2020: Don\\apos\\t do this.  There is no delete mask in the Aspect_BackOffice_Menu_Item_Detail_No_External_Struct//crlf////tab////tab////tab////driver so that items with used=false can be merged in to remove them from the store.  Renaming //crlf////tab////tab////tab////the IDs here would cause them to be merged in again and then to be renamed again and they //crlf////tab////tab////tab////would just accumulate in the file.//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Renaming IDs of unused records\\quot\\)//crlf////tab////tab////tab////tab//c=driverGetRecordCount(d\\comma\\true)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//cRenameID=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//bUsed=driverGetFieldAbsolute(d\\comma\\\\quot\\Used\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//if(not(bUsed))//crlf////tab////tab////tab////tab////tab////tab//sID=driverGetFieldAbsolute(d\\comma\\\\quot\\ID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//if(not(endsWith(sID\\comma\\\\quot\\_\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab//sID=left(sID\\comma\\7)\\plus\\\\quot\\_\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\ID\\quot\\\\comma\\n\\comma\\sID)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Set ID of record \\quot\\\\plus\\n\\plus\\\\quot\\ ot \\quot\\\\plus\\sID)//crlf////tab////tab////tab////tab////tab////tab////tab//cRenameID\\plus\\\\plus\\//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(d)//crlf////crlf////tab////tab////tab//s=\\quot\\Ok: Deleted \\quot\\\\plus\\cDeleted\\plus\\\\quot\\ duplicate records.  Renamed \\quot\\\\plus\\cRenameID\\plus\\\\quot\\ IDs\\quot\\//crlf////tab////tab////tab//return(appendToLog(s))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//[!------------------------------------------------------------------------//crlf//fixDuplicateVendors//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\fixDuplicateVendors\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//This is a routine written to fix a problem at the BWW SoCal group.  Duplicate vendors //crlf////tab////tab//were identified with an asterisk at the end of the name.  The vendor to keep did not //crlf////tab////tab//have an asterisk.  For example\\comma\\ \\quot\\AAA\\quot\\ and \\quot\\AAA *\\quot\\.  This script merges vendors with the //crlf////tab////tab//asterisk into the one to be kept//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\fixDuplicateVendors\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////get the store ID and directory//crlf////tab////tab////tab//if(getSystemValue(\\quot\\DevelopmentMode\\quot\\))//crlf////tab////tab////tab////tab//sStoreID=\\quot\\sdDOhOHNW118U9dNy3yuOwXV\\quot\\//crlf////tab////tab////tab////tab//sStoreDir=getStoreDir(sStoreID)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab////get the current store ID and directory//crlf////tab////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab////tab//sStoreDir=getStoreDir(sStoreID)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//appendToLog(\\quot\\StoreID: \\quot\\\\plus\\sStoreID\\plus\\\\quot\\ StoreDir: \\quot\\\\plus\\sStoreDir)//crlf////tab////tab////tab////crlf////tab////tab////tab////back up all files//crlf////tab////tab////tab//fileCopy(sStoreDir\\plus\\\\quot\\item.bin\\quot\\\\comma\\sStoreDir\\plus\\\\quot\\item.\\quot\\\\plus\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy_HHmm\\quot\\))//crlf////tab////tab////tab//fileCopy(sStoreDir\\plus\\\\quot\\invoice.bin\\quot\\\\comma\\sStoreDir\\plus\\\\quot\\invoice.\\quot\\\\plus\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy_HHmm\\quot\\))//crlf////tab////tab////tab//fileCopy(sStoreDir\\plus\\\\quot\\vendor.bin\\quot\\\\comma\\sStoreDir\\plus\\\\quot\\vendor.\\quot\\\\plus\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy_HHmm\\quot\\))//crlf////crlf////tab////tab////tab////open drivers//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Vendor\\comma\\dVendor\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab//driverSetFilter(dVendor\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////merge all vendors with an asterisk into the vendor record with the same name but no asterisk//crlf////tab////tab////tab//cMerge=0//crlf////tab////tab////tab//c=driverGetRecordCount(dVendor)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sSourceVendorName=driverGetField(dVendor\\comma\\\\quot\\name\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(pos(\\quot\\ *\\quot\\\\comma\\sSourceVendorName)>0)//crlf////tab////tab////tab////tab////tab//sKeepVendorName=replaceSubstring(sSourceVendorName\\comma\\\\quot\\ *\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//rKeep=driverFindRecord(dVendor\\comma\\0\\comma\\\\quot\\Name=\\quot\\\\plus\\quote(sKeepVendorName))//crlf////tab////tab////tab////tab////tab//if(rKeep>=0)//crlf////tab////tab////tab////tab////tab////tab//sDestVendorName=driverGetField(dVendor\\comma\\\\quot\\Name\\quot\\\\comma\\rKeep)//crlf////tab////tab////tab////tab////tab////tab//sDestVendorID=driverGetField(dVendor\\comma\\\\quot\\ID\\quot\\\\comma\\rKeep)//crlf////tab////tab////tab////tab////tab////tab//sSourceVendorID=driverGetField(dVendor\\comma\\\\quot\\ID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//s=execAgentAction(\\quot\\mergeVendor\\quot\\\\comma\\\\quot\\SourceID=\\quot\\\\plus\\sSourceVendorID\\plus\\\\quot\\\\amp\\DestID=\\quot\\\\plus\\sDestVendorID)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Merge \\quot\\\\plus\\sSourceVendorName\\plus\\\\quot\\ [\\quot\\\\plus\\sSourceVendorID\\plus\\\\quot\\]  to \\quot\\\\plus\\sDestVendorName\\plus\\\\quot\\ [\\quot\\\\plus\\sDestVendorID\\plus\\\\quot\\]\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Result: \\quot\\\\plus\\s)//crlf////tab////tab////tab////tab////tab////tab//cMerge\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Merged \\quot\\\\plus\\cMerge\\plus\\\\quot\\ vendors\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//[!------------------------------------------------------------------------//crlf//mergeVendor//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\mergeVendor\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Merges one vendor record into another.  Invoices and items are updated to use the //crlf////tab////tab//remaining vendor ID.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//SourceID - Comma-delimited list of ID\\apos\\s of vendor records that will be merged into the destination.  //crlf////tab////tab////tab//These vendors will no longer exist.//crlf////tab////tab//DestID - ID of the vendor that will be kept//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\\mergeVendor\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing SourceID//crlf////tab////tab////tab//if(not(defined(\\quot\\__SourceID__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing SourceID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DestID//crlf////tab////tab////tab//if(not(defined(\\quot\\__DestID__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DestID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(getSystemValue(\\quot\\DevelopmentMode\\quot\\))//crlf////tab////tab////tab////tab//sStoreID=\\quot\\sdDOhOHNW118U9dNy3yuOwXV\\quot\\//crlf////tab////tab////tab////tab//sStoreDir=getStoreDir(sStoreID)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab////get the current store ID and directory//crlf////tab////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab////tab//sStoreDir=getStoreDir(sStoreID)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//appendToLog(\\quot\\StoreID: \\quot\\\\plus\\sStoreID\\plus\\\\quot\\ StoreDir: \\quot\\\\plus\\sStoreDir)//crlf////tab////tab////tab////crlf////tab////tab////tab////open drivers//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Vendor\\comma\\dVendor\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Invoice\\comma\\dInvoice\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Item\\comma\\dItem\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID)//crlf////crlf////tab////tab////tab////get the record number of the source and dest vendors//crlf////tab////tab////tab//rSource=driverFindRecordAbsolute(dVendor\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\quote(\\quot\\__SourceID__\\quot\\))//crlf////tab////tab////tab//if(rSource<0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Cannot locate vendor with ID=__SourceID__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//rDest=driverFindRecordAbsolute(dVendor\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\quote(\\quot\\__DestID__\\quot\\))//crlf////tab////tab////tab//if(rDest<0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Cannot locate vendor with ID=__DestID__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//cUpdateInvoice=0//crlf////tab////tab////tab//cUpdateItem=0//crlf////crlf////tab////tab////tab////iterate through invoices\\comma\\ updating vendor ID\\apos\\s//crlf////tab////tab////tab//cInvoice=driverGetRecordCount(dInvoice\\comma\\true)//crlf////tab////tab////tab//nInvoice=0//crlf////tab////tab////tab//appendToLog(\\quot\\cInvoice=\\quot\\\\plus\\cInvoice)//crlf////tab////tab////tab//while(nInvoice<cInvoice)//crlf////tab////tab////tab////tab//sVendorID=driverGetFieldAbsolute(dInvoice\\comma\\\\quot\\VendorID\\quot\\\\comma\\nInvoice)//crlf////tab////tab////tab////tab//if(containsElement(\\quot\\__SourceID__\\quot\\\\comma\\sVendorID)>=0)//crlf////tab////tab////tab////tab////tab//sNumber=driverGetFieldAbsolute(dInvoice\\comma\\\\quot\\Number\\quot\\\\comma\\nInvoice)//crlf////tab////tab////tab////tab////tab//dtInvoice=driverGetFieldAbsolute(dInvoice\\comma\\\\quot\\Date\\quot\\\\comma\\nInvoice)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dInvoice\\comma\\VendorID\\comma\\nInvoice\\comma\\\\quot\\__DestID__\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Changed vendor ID Invoice: \\quot\\\\plus\\sNumber\\plus\\\\quot\\ \\quot\\\\plus\\formatDate(dtInvoice\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ from: \\quot\\\\plus\\sVendorID\\plus\\\\quot\\ to: __DestID__\\quot\\)//crlf////tab////tab////tab////tab////tab//cUpdateInvoice\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nInvoice\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////iterate through items\\comma\\ updating vendor ID\\apos\\s//crlf////tab////tab////tab//cItem=driverGetRecordCount(dItem\\comma\\true)//crlf////tab////tab////tab//nItem=0//crlf////tab////tab////tab//while(nItem<cItem)//crlf////tab////tab////tab////tab//sItemName=driverGetFieldAbsolute(dItem\\comma\\\\quot\\Name\\quot\\\\comma\\nItem)//crlf////tab////tab////tab////tab//n=1//crlf////tab////tab////tab////tab//while(n<=3)//crlf////tab////tab////tab////tab////tab//sVendorID=driverGetFieldAbsolute(dItem\\comma\\\\quot\\Vendor\\quot\\\\plus\\n\\comma\\nItem)//crlf////tab////tab////tab////tab////tab//if(containsElement(\\quot\\__SourceID__\\quot\\\\comma\\sVendorID)>=0)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dItem\\comma\\\\quot\\Vendor\\quot\\\\plus\\n\\comma\\nItem\\comma\\\\quot\\__DestID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Changed item vendor\\quot\\\\plus\\n\\plus\\\\quot\\ from \\quot\\\\plus\\sVendorID\\plus\\\\quot\\ to __DestID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//cUpdateItem\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//tab////tab////tab////crlf////tab////tab////tab////tab//nItem\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab////delete the record in the vendor driver//crlf////tab////tab////tab//driverPutFieldAbsolute(dVendor\\comma\\\\quot\\Used\\quot\\\\comma\\rSource\\comma\\false)//crlf////crlf////tab////tab////tab////close drivers//crlf////tab////tab////tab//driverClose(dVendor)//crlf////tab////tab////tab//driverClose(dInvoice)//crlf////tab////tab////tab//driverClose(dItem)//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: cUpdateInvoice: \\quot\\\\plus\\cUpdateInvoice\\plus\\\\quot\\ cUpdateItem: \\quot\\\\plus\\cUpdateItem)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//fixBWWSoCalVendors//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\fixBWWSoCalVendors\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//This action is used to clean up BWW SoCal vendors after merging from Mission Viejo//crlf////crlf////tab////tab//The steps include://crlf////tab////tab//1.//tab//Restore the original vendor.bin from //tab//c:~~backslash~~aspect7~~backslash~~pre_merge_20200120 to the store1 directory//crlf////tab////tab//2.//tab//Convert the VendorID of all vendors with ID\\apos\\s/Names that are not consistent in all stores //crlf////tab////tab////tab////tab//to a new unique vendor ID.  Invoices and items are updated to use the new ID\\apos\\s.  An asterisk//crlf////tab////tab////tab////tab//is added to the vendor name to distinguish at as a record that existed before the merge//crlf////tab////tab//3.//tab//Add an asterisk to any other vendor records that have 8 character ID\\apos\\s to indicate they //crlf////tab////tab////tab////tab//existed before the merge.//crlf////crlf////tab////tab//After these steps are complete\\comma\\ the each store will have correct vendor assignments in their //crlf////tab////tab//invoices.  When the merge is done\\comma\\ they will have duplicates of some vendor that will need to //crlf////tab////tab//be addressed//crlf////crlf////tab////tab//[NOTE: Copying and updating of item.bin has been disabled.  This could be better handled by //crlf////tab////tab////tab//updating the items using a script to read the invoice details.  This would be a cleaner //crlf////tab////tab////tab//way to approach it.]//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\fixBWWSoCalVendors\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab//if(getSystemValue(\\quot\\DevelopmentMode\\quot\\))//crlf////tab////tab////tab////tab//sStoreID=\\quot\\sdDOhOHNW118U9dNy3yuOwXV\\quot\\//crlf////tab////tab////tab////tab//sStoreDir=getStoreDir(sStoreID)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab////get the current store ID and directory//crlf////tab////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab////tab//sStoreDir=getStoreDir(sStoreID)//crlf////crlf////tab////tab////tab////tab////copy the original vendor.bin from the pre_merge_20200120 directory//crlf////tab////tab////tab////tab//sFilename1=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\pre_merge_20200120~~backslash~~vendor.bin\\quot\\//crlf////tab////tab////tab////tab//if(not(fileExists(sFilename1)))//crlf////tab////tab////tab////tab////tab//return(\\quot\\Error: Cannot locate: \\quot\\\\plus\\sFilename1)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//sFilename2=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Store1~~backslash~~vendor.bin\\quot\\//crlf////tab////tab////tab////tab//fileCopy(sFilename1\\comma\\sFilename2)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Copied: \\quot\\\\plus\\sFilename1\\plus\\\\quot\\ to \\quot\\\\plus\\sFilename2)//crlf////crlf////tab////tab////tab////tab////copy the original item.bin from the pre_merge_20200120 directory//crlf////tab////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab////tab//sFilename1=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\pre_merge_20200120~~backslash~~item.bin\\quot\\//crlf////tab////tab////tab////tab////tab//sFilename2=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Store1~~backslash~~item.bin\\quot\\//crlf////tab////tab////tab////tab////tab//fileCopy(sFilename1\\comma\\sFilename2)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Copied: \\quot\\\\plus\\sFilename1\\plus\\\\quot\\ to \\quot\\\\plus\\sFilename2)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//appendToLog(\\quot\\StoreID: \\quot\\\\plus\\sStoreID\\plus\\\\quot\\ StoreDir: \\quot\\\\plus\\sStoreDir)//crlf////tab////tab////tab////crlf////tab////tab////tab//arBadVendorID=\\quot\\88\\comma\\89\\comma\\90\\comma\\91\\comma\\92\\comma\\93\\comma\\94\\comma\\95\\comma\\96\\comma\\97\\comma\\98\\comma\\99\\comma\\100\\comma\\101\\comma\\102\\comma\\103\\comma\\104\\comma\\105\\comma\\106\\comma\\107\\comma\\108\\comma\\109\\comma\\110\\comma\\111\\comma\\112\\comma\\113\\comma\\114\\comma\\115\\comma\\116\\comma\\117\\comma\\118\\comma\\119\\comma\\120\\comma\\121\\comma\\122\\comma\\123\\comma\\124\\comma\\125\\comma\\126\\comma\\127\\comma\\128\\comma\\129\\comma\\130\\comma\\131\\comma\\132\\comma\\133\\comma\\134\\comma\\135\\comma\\136\\comma\\137\\comma\\138\\comma\\139\\comma\\140\\comma\\141\\comma\\142\\comma\\143\\comma\\144\\comma\\145\\comma\\146\\comma\\147\\comma\\148\\comma\\149\\comma\\150\\comma\\151\\comma\\152\\comma\\153\\comma\\154\\comma\\155\\comma\\156\\comma\\157\\comma\\158\\comma\\159\\comma\\160\\comma\\161\\comma\\162\\comma\\163\\comma\\164\\comma\\165\\comma\\166\\comma\\167\\comma\\168\\comma\\169\\comma\\170\\comma\\171\\comma\\172\\comma\\173\\quot\\//crlf////crlf////tab////tab////tab////open vendors//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Vendor\\comma\\dVendor\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID)//crlf////crlf////tab////tab////tab////open invoices//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Invoice\\comma\\dInvoice\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID)//crlf////crlf////tab////tab////tab////open inventory items//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Item\\comma\\dItem\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab//cUpdateVendorCode=0//crlf////tab////tab////tab//cUpdateInvoice=0//crlf////tab////tab////tab//cUpdateItem=0//crlf////crlf////tab////tab////tab////iterate through vendors\\comma\\ replacing bad ID\\apos\\s.  A hashtable is used to record the bad ID and //crlf////tab////tab////tab////the replacement//crlf////tab////tab////tab//hashCreate(hNewVendorID)//crlf////tab////tab////tab//cVendor=driverGetRecordCount(dVendor\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\cVendor=\\quot\\\\plus\\cVendor)//crlf////tab////tab////tab//nVendor=0//crlf////tab////tab////tab//while(nVendor<cVendor)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//sVendorID=driverGetFieldAbsolute(dVendor\\comma\\\\quot\\ID\\quot\\\\comma\\nVendor)//crlf////tab////tab////tab////tab//if(containsElement(arBadVendorID\\comma\\sVendorID)>=0)//crlf////tab////tab////tab////tab////tab//sNewID=getSalt(8)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dVendor\\comma\\\\quot\\ID\\quot\\\\comma\\nVendor\\comma\\sNewID)//crlf////tab////tab////tab////tab////tab//hashPut(hNewVendorID\\comma\\sVendorID\\comma\\sNewID)//crlf////tab////tab////tab////tab////tab//sVendorName=driverGetFieldAbsolute(dVendor\\comma\\\\quot\\Name\\quot\\\\comma\\nVendor)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dVendor\\comma\\\\quot\\Name\\quot\\\\comma\\nVendor\\comma\\sVendorName\\plus\\\\quot\\ *\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Changed vendor \\quot\\\\plus\\sVendorName\\plus\\\\quot\\ ID: \\quot\\\\plus\\sVendorID\\plus\\\\quot\\ to \\quot\\\\plus\\sNewID)//crlf////tab////tab////tab////tab////tab//cUpdateVendorCode\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nVendor\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////iterate through invoices\\comma\\ updating vendor ID\\apos\\s//crlf////tab////tab////tab//cInvoice=driverGetRecordCount(dInvoice\\comma\\true)//crlf////tab////tab////tab//nInvoice=0//crlf////tab////tab////tab//appendToLog(\\quot\\cInvoice=\\quot\\\\plus\\cInvoice)//crlf////tab////tab////tab//while(nInvoice<cInvoice)//crlf////tab////tab////tab////tab//sVendorID=driverGetFieldAbsolute(dInvoice\\comma\\\\quot\\VendorID\\quot\\\\comma\\nInvoice)//crlf////tab////tab////tab////tab//if(hashContainsKey(hNewVendorID\\comma\\sVendorID))//crlf////tab////tab////tab////tab////tab//sNumber=driverGetFieldAbsolute(dInvoice\\comma\\\\quot\\Number\\quot\\\\comma\\nInvoice)//crlf////tab////tab////tab////tab////tab//dtInvoice=driverGetFieldAbsolute(dInvoice\\comma\\\\quot\\Date\\quot\\\\comma\\nInvoice)//crlf////tab////tab////tab////tab////tab//sNewID=hashGet(hNewVendorID\\comma\\sVendorID)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dInvoice\\comma\\VendorID\\comma\\nInvoice\\comma\\sNewID)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Changed vendor ID Invoice: \\quot\\\\plus\\sNumber\\plus\\\\quot\\ \\quot\\\\plus\\formatDate(dtInvoice\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ from: \\quot\\\\plus\\sVendorID\\plus\\\\quot\\ to: \\quot\\\\plus\\sNewID)//crlf////tab////tab////tab////tab////tab//cUpdateInvoice\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nInvoice\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////iterate through items\\comma\\ updating vendor ID\\apos\\s//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//cItem=driverGetRecordCount(dItem\\comma\\true)//crlf////tab////tab////tab////tab//nItem=0//crlf////tab////tab////tab////tab//while(nItem<cItem)//crlf////tab////tab////tab////tab////tab//sItemName=driverGetFieldAbsolute(dItem\\comma\\\\quot\\Name\\quot\\\\comma\\nItem)//crlf////tab////tab////tab////tab////tab//n=1//crlf////tab////tab////tab////tab////tab//while(n<=3)//crlf////tab////tab////tab////tab////tab////tab//sVendorID=driverGetFieldAbsolute(dItem\\comma\\\\quot\\Vendor\\quot\\\\plus\\n\\comma\\nItem)//crlf////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hNewVendorID\\comma\\sVendorID))//crlf////tab////tab////tab////tab////tab////tab////tab//sNewID=hashGet(hNewVendorID\\comma\\sVendorID)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dItem\\comma\\\\quot\\Vendor\\quot\\\\plus\\n\\comma\\nItem\\comma\\sNewID)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Changed item vendor\\quot\\\\plus\\n\\plus\\\\quot\\ from \\quot\\\\plus\\sVendorID\\plus\\\\quot\\ to \\quot\\\\plus\\sNewID)//crlf////tab////tab////tab////tab////tab////tab////tab//cUpdateItem\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endwhile//tab////tab////tab////crlf////tab////tab////tab////tab////tab//nItem\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverClose(dVendor)//crlf////tab////tab////tab//driverClose(dInvoice)//crlf////crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//driverClose(dItem)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: cUpdateVendorCode: \\quot\\\\plus\\cUpdateVendorCode\\plus\\\\quot\\ cUpdateInvoice: \\quot\\\\plus\\cUpdateInvoice\\plus\\\\quot\\ cUpdateItem: \\quot\\\\plus\\cUpdateItem)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//createInventorySynchFilesetSynchTask//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\createInventorySynchFilesetSynchTask\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Creates a file set synch task to get inventory files from master //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\createInventorySynchFilesetSynchTask\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////update the company list//crlf////tab////tab////tab////scriptExec(Aspect_BackOffice_updateCompanyList\\comma\\true)//crlf////crlf////tab////tab////tab////open the file set synch driver//crlf////tab////tab////tab//driverOpen(Aspect_File_Set_Synch\\comma\\dFileSetSynch\\comma\\WRITE)//crlf////tab////tab////tab//driverSetFilter(dFileSetSynch\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//r=driverFindRecord(dFileSetSynch\\comma\\0\\comma\\\\quot\\File_Set_Name=\\quot\\\\plus\\quote(\\quot\\Inventory Synch\\quot\\))//crlf////tab////tab////tab//if(r>=0)//crlf////tab////tab////tab////tab//r=driverGetAbsoluteIndex(dFileSetSynch\\comma\\r)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Found existing record at diskindex=\\quot\\\\plus\\r)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//r=driverAddNewRecord(dFileSetSynch)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Added record at diskindex=\\quot\\\\plus\\r)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////add synch task to driver//crlf////tab////tab////tab//driverPutFieldAbsolute(dFileSetSynch\\comma\\\\quot\\Task_Sub_Structure.TaskDescription\\quot\\\\comma\\r\\comma\\\\quot\\Request master inventory files\\quot\\)//crlf////tab////tab////tab//driverPutFieldAbsolute(dFileSetSynch\\comma\\\\quot\\CompanyID\\quot\\\\comma\\r\\comma\\getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\))//crlf////tab////tab////tab//driverPutFieldAbsolute(dFileSetSynch\\comma\\\\quot\\File_Set_Name\\quot\\\\comma\\r\\comma\\\\quot\\Inventory Synch\\quot\\)//crlf////tab////tab////tab//driverPutFieldAbsolute(dFileSetSynch\\comma\\\\quot\\Base_Directory\\quot\\\\comma\\r\\comma\\getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\inventory_synch\\quot\\)//crlf////tab////tab////tab//driverPutFieldAbsolute(dFileSetSynch\\comma\\\\quot\\Replace_Existing_Files\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab//driverPutFieldAbsolute(dFileSetSynch\\comma\\\\quot\\Max_Age_Days\\quot\\\\comma\\r\\comma\\0)//crlf////tab////tab////tab//driverPutFieldAbsolute(dFileSetSynch\\comma\\\\quot\\Compare_Timestamps_Only\\quot\\\\comma\\r\\comma\\false)//crlf////tab////tab////tab//driverPutFieldAbsolute(dFileSetSynch\\comma\\\\quot\\Category1\\quot\\\\comma\\r\\comma\\\\quot\\Inventory Synch\\quot\\)//crlf////tab////tab////tab////driverPutFieldAbsolute(dFileSetSynch\\comma\\\\quot\\TaskEnabled\\quot\\\\comma\\r\\comma\\true)//crlf////crlf////tab////tab////tab//driverClose(dFileSetSynch)//crlf////crlf////tab////tab////tab////update the task scheduler//crlf////tab////tab////tab//enableTaskScheduler(Aspect_File_Set_Synch\\comma\\true\\comma\\true)//crlf////crlf////tab////tab////tab//return(\\quot\\Ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//removeDuplicateMenuItems//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\removeDuplicateMenuItems\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//This action is called by the synchronizeInventory action after the merge has been done.//crlf////crlf////tab////tab//Cleans up any duplicate menu items.  A duplicate will be created if a menu item//crlf////tab////tab//is imported from the POS at a store and then sent again from the master.  The ID of the //crlf////tab////tab//record in item.bin will be different in both locations and since the merge of item.bin //crlf////tab////tab//from the master is done by ID\\comma\\ another record will be created during the merge.//crlf////crlf////tab////tab//This routine removes the item that is not from the master.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\removeDuplicateMenuItems\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(not(defined(\\quot\\__StoreID__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the master item.bin does not exist//crlf////tab////tab////tab//sMasterFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\inventory_synch~~backslash~~item.bin\\quot\\//crlf////tab////tab////tab//if(not(fileExists(sMasterFilename)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: File does not exist: \\quot\\\\plus\\sMasterFilename)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the store item.bin//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Inventory_Item_No_External_Struct\\comma\\dStore\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//driverSetFilter(dStore\\comma\\\\quot\\Record_Type=2\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////create a hashtable of ID\\apos\\s in the store\\apos\\s item.bin.  This is used to make sure a record//crlf////tab////tab////tab////from the master has been merged into the store//crlf////tab////tab////tab//hashCreate(hStoreID)//crlf////tab////tab////tab//c=driverGetRecordCount(dStore)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sID=driverGetField(dStore\\comma\\\\quot\\ID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//hashPut(hStoreID\\comma\\sID\\comma\\sID)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////open the master item.bin//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Inventory_Item_No_External_Struct\\comma\\dMaster\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\sMasterFilename)//crlf////tab////tab////tab//driverSetFilter(dMaster\\comma\\\\quot\\Record_Type=2\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////create a hashtable of item ID\\apos\\s from the master//crlf////tab////tab////tab//hashCreate(hMasterID)//crlf////crlf////tab////tab////tab////create a hashtable of menu item POS ID\\apos\\s from the master//crlf////tab////tab////tab//hashCreate(hMasterPOSID)//crlf////crlf////tab////tab////tab//c=driverGetRecordCount(dMaster)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sID=driverGetField(dMaster\\comma\\\\quot\\ID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sPOSID=driverGetField(dMaster\\comma\\\\quot\\Menu_Item_POS_ID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(len(trim(sID))>0)//crlf////tab////tab////tab////tab////tab//hashPut(hMasterID\\comma\\sID\\comma\\sID)//crlf////tab////tab////tab////tab////tab//hashPut(hMasterPOSID\\comma\\sPOSID\\comma\\sID)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//r=driverGetAbsoluteIndex(dMaster\\comma\\n)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Found record DiskIndex=\\quot\\\\plus\\r\\plus\\\\quot\\ with missing ID\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////iterate through the stores item.bin//crlf////tab////tab////tab//c=driverGetRecordCount(dStore)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//cRemoved=0//crlf////tab////tab////tab//cUnique=0//crlf////tab////tab////tab//cNotMerged=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sID=driverGetField(dStore\\comma\\\\quot\\ID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sPOSID=driverGetField(dStore\\comma\\\\quot\\Menu_Item_POS_ID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////see if the ID does NOT exist in the master//crlf////tab////tab////tab////tab//if(not(hashContainsKey(hMasterID\\comma\\sID)))//crlf////tab////tab////tab////tab////tab////a menu item has been found that doesn\\apos\\t exist in the master.  Either it\\apos\\s a duplicate //crlf////tab////tab////tab////tab////tab////record and there\\apos\\s another record with the same POS ID or the menu item only exists //crlf////tab////tab////tab////tab////tab////at the store and not at the master//crlf////tab////tab////tab////tab////tab//if(hashContainsKey(hMasterPOSID\\comma\\sPOSID))//crlf////tab////tab////tab////tab////tab////tab////the master does contain a record for the menu item POS ID//crlf////tab////tab////tab////tab////tab////tab////Therefore\\comma\\ delete the record at the store//crlf////crlf////tab////tab////tab////tab////tab////tab////But first\\comma\\ confirm that the item has been imported from the master//crlf////tab////tab////tab////tab////tab////tab//sMasterID=hashGet(hMasterPOSID\\comma\\sPOSID)//crlf////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hStoreID\\comma\\sMasterID))//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutField(dStore\\comma\\\\quot\\Used\\quot\\\\comma\\n\\comma\\false)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Removed record with ID=\\quot\\\\plus\\sID\\plus\\\\quot\\ and Menu Item POS ID=\\quot\\\\plus\\sPOSID)//crlf////tab////tab////tab////tab////tab////tab////tab//cRemoved\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\POS ID: \\quot\\\\plus\\sPOSID\\plus\\\\quot\\ is in master with ID=\\quot\\\\plus\\sMasterID\\plus\\\\quot\\ but has not been merged yet\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//cNotMerged\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////The master does not contain a record for the menu item POS ID//crlf////tab////tab////tab////tab////tab////tab////Therefore\\comma\\ this item exists on the store\\apos\\s POS but not on the master so leave it alone//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Found unique menu item: \\quot\\\\plus\\sID\\plus\\\\quot\\ Menu Item POS ID: \\quot\\\\plus\\sPOSID)//crlf////tab////tab////tab////tab////tab////tab//cUnique\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(dStore)//crlf////tab////tab////tab//driverClose(dMaster)//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Removed: \\quot\\\\plus\\cRemoved\\plus\\\\quot\\ Unique items: \\quot\\\\plus\\cUnique\\plus\\\\quot\\ Not Merged: \\quot\\\\plus\\cNotMerged)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//synchronizeInventory//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\synchronizeInventory\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Synchronizes files from the inventory_synch directory with files for the given StoreID//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\synchronizeInventory\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////abort if StoreID is undefined//crlf////tab////tab////tab//if(not(defined(\\quot\\__StoreID__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if inventory synch is not enabled//crlf////tab////tab////tab//if(not(boolean(lookup(Aspect_BackOffice_Inventory_Enable_Synch_by_StoreID\\comma\\\\quot\\__StoreID__\\quot\\))))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Inventory synchronization is not enabled\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//tStart=now()//crlf////crlf////tab////tab////tab//bSynchVendorSelections=boolean(lookup(Aspect_BackOffice_Inventory_Enable_Synch_Vendor_by_StoreID\\comma\\\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab//bSynchCountSize=boolean(lookup(Aspect_BackOffice_Inventory_Enable_Synch_Count_Size_by_StoreID\\comma\\\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////crlf////tab////tab////tab//sSrcDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\inventory_synch~~backslash~~\\quot\\//crlf////tab////tab////tab//sStoreDir=getStoreDir(\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab//arFilename=\\quot\\Aspect_Back_Office_Inventory_Extensions_External_Struct.bin\\quot\\//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\External_Inventory_Item.bin\\quot\\)//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\itemgroup.bin\\quot\\)//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\conversions.bin\\quot\\)//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\item.bin\\quot\\)//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\menuitemdetail.bin\\quot\\)//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\size.bin\\quot\\)//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\vendor.bin\\quot\\)//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\customsalesfields.bin\\quot\\)//crlf////crlf////tab////tab////tab//arMergeID=\\quot\\uvcu2qIp\\quot\\//crlf////tab////tab////tab//arMergeID=addElement(arMergeID\\comma\\\\quot\\L31xsANT\\quot\\)//crlf////tab////tab////tab//arMergeID=addElement(arMergeID\\comma\\\\quot\\z9bitbb9\\quot\\)//crlf////tab////tab////tab//arMergeID=addElement(arMergeID\\comma\\\\quot\\Xzkjp3Cc\\quot\\)//crlf////tab////tab////tab//arMergeID=addElement(arMergeID\\comma\\\\quot\\FGmfiSKm\\quot\\)//crlf////tab////tab////tab//arMergeID=addElement(arMergeID\\comma\\\\quot\\rbGDINsE\\quot\\)//crlf////tab////tab////tab//arMergeID=addElement(arMergeID\\comma\\\\quot\\gl2eUm9D\\quot\\)//crlf////tab////tab////tab//arMergeID=addElement(arMergeID\\comma\\\\quot\\A5djWR1q\\quot\\)//crlf////tab////tab////tab//arMergeID=addElement(arMergeID\\comma\\\\quot\\ClGlafZs\\quot\\)//crlf////crlf////tab////tab////tab//c=getElementCount(arFilename)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFilename=getElement(arFilename\\comma\\n)//crlf////tab////tab////tab////tab//sMergeID=getElement(arMergeID\\comma\\n)//crlf////tab////tab////tab////tab//if(sMergeID=\\quot\\rbGDINsE\\quot\\)//crlf////tab////tab////tab////tab////tab////use Filename1 to avoid conflict with external structures//crlf////tab////tab////tab////tab////tab//sSourceDriverParams=\\quot\\Filename1=\\quot\\\\plus\\sSrcDir\\plus\\sFilename//crlf////tab////tab////tab////tab////tab//sDestDriverParams=\\quot\\Filename1=\\quot\\\\plus\\sStoreDir\\plus\\sFilename//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//sSourceDriverParams=\\quot\\Filename=\\quot\\\\plus\\sSrcDir\\plus\\sFilename//crlf////tab////tab////tab////tab////tab//sDestDriverParams=\\quot\\Filename=\\quot\\\\plus\\sStoreDir\\plus\\sFilename//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////exclude fields//crlf////tab////tab////tab////tab//sExcludeFields=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////tab////handle exclude fields for inventory items//crlf////tab////tab////tab////tab//if(sMergeID=\\quot\\FGmfiSKm\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////do a merge that includes all records but ONLY merge new records.  This is done to initialize//crlf////tab////tab////tab////tab////tab////the count sizes and vendor information for new items//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\MergeID=\\quot\\\\plus\\sMergeID\\plus\\\\quot\\ Merging new inventory items\\quot\\)//crlf////tab////tab////tab////tab////tab//s=execAgentAction(executeMergeDefinition\\comma\\\\quot\\MergeID=\\quot\\\\plus\\sMergeID\\plus\\\\quot\\\\amp\\SourceDriverParams=\\quot\\\\plus\\sSourceDriverParams\\plus\\\\quot\\\\amp\\DestDriverParams=\\quot\\\\plus\\sDestDriverParams\\plus\\\\quot\\\\amp\\ExcludeFields=\\quot\\\\plus\\sExcludeFields\\plus\\\\quot\\\\amp\\NewRecordsOnly=true\\quot\\)//crlf////tab////tab////tab////tab////tab//sResult=sResult\\plus\\sFilename\\plus\\\\quot\\: \\quot\\\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////exclude count sizes//crlf////tab////tab////tab////tab////tab//if(not(boolean(lookup(Aspect_BackOffice_Inventory_Enable_Synch_Count_Size_by_StoreID\\comma\\\\quot\\__StoreID__\\quot\\))))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Excluding count sizes\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//sExcludeFields=addElement(sExcludeFields\\comma\\\\quot\\Count_Size1_Prefix\\comma\\Count_Size1_Unit\\comma\\Count_Size2_Prefix\\comma\\Count_Size2_Unit\\comma\\Count_Size3_Prefix\\comma\\Count_Size3_Unit\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////exclude vendor selections//crlf////tab////tab////tab////tab////tab//if(not(boolean(lookup(Aspect_BackOffice_Inventory_Enable_Synch_Vendor_by_StoreID\\comma\\\\quot\\__StoreID__\\quot\\))))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Excluding vendor selections\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//sExcludeFields=addElement(sExcludeFields\\comma\\\\quot\\Vendor1\\comma\\Vendor2\\comma\\Vendor3\\comma\\Vendor1_Name\\comma\\Vendor2_Name\\comma\\Vendor3_Name\\comma\\Vendor1_Size_Prefix\\comma\\Vendor2_Size_Prefix\\comma\\Vendor3_Size_Prefix\\comma\\Vendor1_Size_Unit\\comma\\Vendor2_Size_Unit\\comma\\Vendor3_Size_Unit\\comma\\Vendor1_Code\\comma\\Vendor2_Code\\comma\\Vendor3_Code\\comma\\Vendor1_Price\\comma\\Vendor2_Price\\comma\\Vendor3_Price\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////exclude inventory item inactive status//crlf////tab////tab////tab////tab////tab//if(not(boolean(lookup(Aspect_BackOffice_Inventory_Enable_Synch_Inactive_by_StoreID\\comma\\\\quot\\__StoreID__\\quot\\))))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Excluding inventory item inactive status\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//sExcludeFields=addElement(sExcludeFields\\comma\\\\quot\\Deleted\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//appendToLog(\\quot\\MergeID=\\quot\\\\plus\\sMergeID\\plus\\\\quot\\ Filename=\\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\ExcludeFields=\\quot\\\\plus\\sExcludeFields)//crlf////tab////tab////tab////tab//s=execAgentAction(executeMergeDefinition\\comma\\\\quot\\MergeID=\\quot\\\\plus\\sMergeID\\plus\\\\quot\\\\amp\\SourceDriverParams=\\quot\\\\plus\\sSourceDriverParams\\plus\\\\quot\\\\amp\\DestDriverParams=\\quot\\\\plus\\sDestDriverParams\\plus\\\\quot\\\\amp\\ExcludeFields=\\quot\\\\plus\\sExcludeFields)//crlf////tab////tab////tab////tab//sResult=sResult\\plus\\sFilename\\plus\\\\quot\\: \\quot\\\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////remove any duplicate menu items that weer imported from the POS system before being imported //crlf////tab////tab////tab////from the master//crlf////tab////tab////tab//s=execAgentAction(\\quot\\removeDuplicateMenuItems\\quot\\\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//sResult=sResult\\plus\\\\quot\\Remove duplicate menu items: \\quot\\\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////tab////delete any duplicated menu item details.  This is a failsafe to address a problem in which //crlf////tab////tab////tab////menu items details are duplicated during the merge.  As of 8/2020 it has happened twice and //crlf////tab////tab////tab////the cause is unknown//crlf////tab////tab////tab//s=execAgentAction(\\quot\\deleteDuplicateMenuItemDetails\\quot\\\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//sResult=sResult\\plus\\\\quot\\Delete duplicate menu item details: \\quot\\\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////tab//sResult=sResult\\plus\\\\quot\\Elapsed Time: \\quot\\\\plus\\(dateNumber(now())-dateNumber(tStart))\\plus\\\\quot\\ms\\quot\\\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//return(\\quot\\Ok: \\quot\\\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\sResult)//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=961927|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=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=512740|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=always|^
ID=615580|X=183|Y=683|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=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=151|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Inventory Merge\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Merge\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 04-28-2020 11:37:23//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (true))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Merge\\comma\\AgentAction\\comma\\512740\\comma\\0\\comma\\Get StoreID//crlf////crlf////tab////tab////Get StoreID//crlf////tab////tab//StoreID=lookup(Aspect_BackOffice_Inventory_Lookup_Enable_Merge_Store_ID\\comma\\\\quot\\true\\quot\\)//crlf////crlf////tab////tab////Is StoreID valid//crlf////tab////tab//if(gt(len(StoreID)\\comma\\0\\comma\\n))//crlf////tab////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Merge\\comma\\AgentAction\\comma\\208680\\comma\\0\\comma\\Create synch task//crlf////crlf////tab////tab////tab////Create synch task//crlf////tab////tab////tab//Result=execAgentAction(\\quot\\createInventorySynchFilesetSynchTask\\quot\\\\comma\\\\quot\\StoreID=\\quot\\+StoreID)//crlf////tab////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Merge\\comma\\AgentAction\\comma\\152706\\comma\\0\\comma\\synchronizeInventory//crlf////tab////tab////tab//Result=execAgentAction(\\quot\\synchronizeInventory\\quot\\\\comma\\\\quot\\StoreID=\\quot\\+StoreID)//crlf////tab////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Merge\\comma\\AgentTerminate\\comma\\615580\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//agentReportStatus(\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Merge\\quot\\\\comma\\\\quot\\615580\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart))//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Merge\\comma\\AgentTerminate\\comma\\344140\\comma\\1\\comma\\Missing StoreID//crlf////tab////tab////tab//agentReportStatus(\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Merge\\quot\\\\comma\\\\quot\\344140\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Missing StoreID\\quot\\\\comma\\=\\quot\\Error: Missing StoreID\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(=\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;04282020//amp//nbsp;113723//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_Inventory//amp//nbsp;Merge\\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-28-2020//amp//nbsp;11:37:23</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(true))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Get//amp//nbsp;StoreID</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;StoreID=<span class='keyword'>lookup</span>(Aspect_BackOffice_Inventory_Lookup_Enable_Merge_Store_ID\\comma\\\\quot\\true\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;StoreID//amp//nbsp;valid</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>gt</span>(<span class='keyword'>len</span>(StoreID)\\comma\\0\\comma\\n))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Create//amp//nbsp;synch//amp//nbsp;task</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\createInventorySynchFilesetSynchTask\\quot\\\\comma\\\\quot\\StoreID=\\quot\\+StoreID)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\synchronizeInventory\\quot\\\\comma\\\\quot\\StoreID=\\quot\\+StoreID)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory//amp//nbsp;Merge\\quot\\\\comma\\\\quot\\615580\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory//amp//nbsp;Merge\\quot\\\\comma\\\\quot\\344140\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Missing//amp//nbsp;StoreID\\quot\\\\comma\\=\\quot\\Error://amp//nbsp;Missing//amp//nbsp;StoreID\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(=\\quot\\Error://amp//nbsp;Missing//amp//nbsp;StoreID\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<p>This agent performs two tasks:</p>//crlf////crlf//<ol>//crlf////tab//<li>It creates the file set synch task used to request inventory files from the master store.  The //crlf////tab////tab//task must be manually edited after it is created to select the computer.</li>//crlf////crlf////tab//<li>It merges new files received from the inventory master store.</li>//crlf//</ol>//crlf////crlf//^
ID=AgentStatus|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h1>Store with merge enabled</h1>//crlf//<include type:expression; expression:lookup(Aspect_BackOffice_Inventory_Lookup_Enable_Merge_Store_ID\\comma\\\\quot\\true\\quot\\)> //crlf//(<include type:expression; expression:getStoreName(lookup(Aspect_BackOffice_Inventory_Lookup_Enable_Merge_Store_ID\\comma\\\\quot\\true\\quot\\))>)//crlf//<br><br>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Conditional expression//crlf//--------------------------------------------------------------------------]//crlf//<h1>Conditional Token: Aspect_BackOffice_InventorySynchAgent_Conditional</h1>//crlf//<p>This agent is enabled when Enable inventory synchronization is set to true in the store settings.</p>//crlf////crlf//Expression: <include type:expression; expression:breakHtmlLine(getToken(\\quot\\Aspect_BackOffice_InventoryMergeAgent_Conditional\\quot\\))>//crlf//<br><br>//crlf//Value: <include type:expression; expression:indirect(getToken(\\quot\\Aspect_BackOffice_InventoryMergeAgent_Conditional\\quot\\))>//crlf//<br><br>//crlf////crlf//[!------------------------------------------------------------------------//crlf//State expression//crlf//--------------------------------------------------------------------------]//crlf//<h1>State expression</h1>//crlf////crlf//<p>The state is modified when the store list is edited and when files are modified in the //crlf////tab//{homedir}inventory_synch directory.</p>//crlf//<br>//crlf//Expression: <include type:expression; expression:breakHtmlLine(getToken(\\quot\\Aspect_BackOffice_InventoryMergeAgent_State\\quot\\))>//crlf//<br><br>//crlf//Value: <include type:expression; expression:indirect(getToken(\\quot\\Aspect_BackOffice_InventoryMergeAgent_State\\quot\\))>//crlf//<br><br>^
ID=AgentChart|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>04282020 113723</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\\chart512740\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\111\\quot\\ style=\\quot\\width: 120px; height: 111px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Inventory Merge</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: always<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart615580\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 642px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart512740\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart963836\\quot\\ style=\\quot\\position: absolute; top: 150px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\82\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Get StoreID<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td>StoreID</td></tr></tbody></table></div></div><div id=\\quot\\chart963836\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart208680\\quot\\ agentchildnonode=\\quot\\chart344140\\quot\\ style=\\quot\\position: absolute; top: 284px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is StoreID valid<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart344140\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 284px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Missing StoreID<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart152706\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart615580\\quot\\ style=\\quot\\position: absolute; top: 534px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\56\\quot\\ style=\\quot\\width: 150px; height: 56px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>synchronizeInventory<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart208680\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart152706\\quot\\ style=\\quot\\position: absolute; top: 400px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\82\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Create synch task<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>createInventorySynchFilesetSynchTask<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div>^
ID=512740|X=183|Y=191|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=963836|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=~~backslash~~equals~~backslash~~lookup(Aspect_BackOffice_Inventory_Lookup_Enable_Merge_Store_ID//comma//\\quot\\true\\quot\\)|AgentNodeExpression=|AgentNodeActionReturnValue=StoreID|AgentNodeComment=Get StoreID|AgentNodeTermType=|^
ID=963836|X=183|Y=325|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=208680|AgentChildNoNode=344140|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=gt(len(StoreID)//comma//0//comma//n)|AgentNodeActionReturnValue=|AgentNodeComment=Is StoreID valid|AgentNodeTermType=|^
ID=344140|X=373|Y=325|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~equals~~backslash~~~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error: Missing StoreID~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=Missing StoreID|AgentNodeTermType=1|^
ID=152706|X=183|Y=575|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=615580|AgentChildNoNode=|AgentSensor=|AgentAction=synchronizeInventory|AgentNodeNotes=|AgentNodeParams=~~backslash~~equals~~backslash~~\\quot\\StoreID~~backslash~~equals~~backslash~~\\quot\\//plus//StoreID|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=|AgentNodeTermType=|^
ID=208680|X=183|Y=441|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=152706|AgentChildNoNode=|AgentSensor=|AgentAction=createInventorySynchFilesetSynchTask|AgentNodeNotes=|AgentNodeParams=~~backslash~~equals~~backslash~~\\quot\\StoreID~~backslash~~equals~~backslash~~\\quot\\//plus//StoreID|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Create synch task|AgentNodeTermType=|
</widget><widget name="Inventory Merge - Master" group="Inventory Synch" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Inventory Merge - Master" modified="04-28-2020 13:17:09" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=04-28-2019 23:10:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=1 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(indirect(getToken(\\quote\\Aspect_BackOffice_InventoryMergeMasterAgent_Conditional\\quote\\)))" TaskConditional_Expression_Description="" TaskState_Function="indirect(replaceSubstring(getToken(Aspect_BackOffice_InventoryMergeMasterAgent_State),\\quote\\|\\quote\\,char(0x22)))" TaskState_Expression_Description="Executes when the Enable As Master checkbox is toggled in the Inventory tab of the store dialog for the store with POS import enabled and when any of the master inventory files are altered" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=105|toolboxy=300|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Inventory Merge - Master.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\\'449308')\\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\\'433277')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=449308|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Merge - Master.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=874|H=661|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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_KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Merge - Master.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Inventory Merge - Master\\comma\\createInventorySynchFileset\\comma\\action_list\\comma\\Action=createInventorySynchFileset\\comma\\private//crlf////tab//Inventory Merge - Master\\comma\\copyinventorySynchFilesToSynchDir\\comma\\action_list\\comma\\Action=copyinventorySynchFilesToSynchDir\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//createInventorySynchFileset//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\createInventorySynchFileset\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Creates the fileset used to monitor inventory files.  This fileset monitors files in the //crlf////tab////tab//[homedir]\inventory_synch directory.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\createInventorySynchFileset\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////open file sets//crlf////tab////tab////tab//sTaskName=\\quot\\Inventory Synch\\quot\\//crlf////tab////tab////tab//driverOpen(Aspect_File_Set\\comma\\d\\comma\\WRITE)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//r=driverFindRecord(d\\comma\\0\\comma\\\\quot\\TaskName=\\quot\\\\plus\\quote(sTaskName))//crlf////tab////tab////tab//if(r>=0)//crlf////tab////tab////tab////tab//r=driverGetAbsoluteIndex(d\\comma\\r)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//r=driverAddNewRecord(d)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\TaskName\\quot\\\\comma\\r\\comma\\sTaskName)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Filespec\\quot\\\\comma\\r\\comma\\getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\inventory_synch\*.*\\quot\\)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\TaskEnabled\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Category1\\quot\\\\comma\\r\\comma\\\\quot\\Inventory Synch\\quot\\)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\TaskMinutesBetweenExecution\\quot\\\\comma\\r\\comma\\10)//crlf////crlf////tab////tab////tab//sCondition=\\quot\\gt(len(lookup(Aspect_BackOffice_Inventory_Lookup_Master_Store_ID\\comma\\true))\\comma\\0\\comma\\n)\\quot\\//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\User_Defined_Condition\\quot\\\\comma\\r\\comma\\sCondition\\comma\\\\quot\\AddEquals\\quot\\)//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab//enableTaskScheduler(Aspect_File_Set\\comma\\true\\comma\\true)//crlf////tab////tab////tab////crlf////tab////tab////tab//return(\\quot\\ok: File set created\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//copyinventorySynchFilesToSynchDir//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\copyinventorySynchFilesToSynchDir\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Copies files from store directory to the [homedir]\inventory_synch directory.//crlf////tab////tab//This action is used to copy files from the master store so they can be //crlf////tab////tab//sent to other stores using a file set.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\copyinventorySynchFilesToSynchDir\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab////abort if StoreID is undefined//crlf////tab////tab////tab//if(not(defined(\\quot\\__StoreID__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if this is not the master store//crlf////tab////tab////tab//bEnableAsMaster=boolean(lookup(Aspect_BackOffice_Inventory_Enable_As_Master\\comma\\\\quot\\__StoreID__\\quot\\))//crlf////crlf////tab////tab////tab//if(not(bEnableAsMaster))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Store is not enabled as the master store\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////flag records in external sales struct that are used as sales links by inventory groups.  //crlf////tab////tab////tab////These fields will be merged into the external sales struct at each store.  The flag is used //crlf////tab////tab////tab////to avoid merging other fields//crlf////tab////tab////tab//arSalesLink=getCollection(Aspect_BackOffice_Inventory_Item_Group_Sales_Link_By_ID\\comma\\true\\comma\\\\quot\\StoreID=__StoreID__\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\value\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\arSalesLink=\\quot\\\\plus\\arSalesLink)//crlf////tab////tab////tab//driverOpen(POS_Generic_User_Defined_Daily_Sales_Struct\\comma\\dSalesStruct\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////tab////tab////tab//driverSetFilter(dSalesStruct\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(dSalesStruct)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFieldID=driverGetField(dSalesStruct\\comma\\\\quot\\FieldID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//driverPutField(dSalesStruct\\comma\\\\quot\\Is_Used_As_Sales_Link\\quot\\\\comma\\n\\comma\\(containsElement(arSalesLink\\comma\\sFieldID)>=0))//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(dSalesStruct)//crlf////crlf////tab////tab////tab//sDestDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\inventory_synch\\\quot\\//crlf////tab////tab////tab//sStoreDir=addDirSlash(getStoreDir(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////crlf////tab////tab////tab//arFilename=\\quot\\Aspect_Back_Office_Inventory_Extensions_External_Struct.bin\\quot\\//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\External_Inventory_Item.bin\\quot\\)//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\itemgroup.bin\\quot\\)//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\conversions.bin\\quot\\)//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\item.bin\\quot\\)//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\menuitemdetail.bin\\quot\\)//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\size.bin\\quot\\)//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\vendor.bin\\quot\\)//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\customsalesfields.bin\\quot\\)//crlf////crlf////tab////tab////tab//c=getElementCount(arFilename)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFilename=getElement(arFilename\\comma\\n)//crlf////tab////tab////tab////tab//sSrcFile=sStoreDir\\plus\\sFilename//crlf////tab////tab////tab////tab//sDestFile=sDestDir\\plus\\sFilename//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Copy \\quot\\\\plus\\sSrcFile\\plus\\\\quot\\ to \\quot\\\\plus\\sDestFile)//crlf////tab////tab////tab////tab//fileCopy(sSrcFile\\comma\\sDestFile\\comma\\true)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Copied \\quot\\\\plus\\c\\plus\\\\quot\\ Files to \\quot\\\\plus\\sDestDir)//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=433277|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=411218|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=never|^
ID=200414|X=183|Y=864|W=119|H=84|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Inventory Merge - Master\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Merge - Master\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 01-17-2020 23:55:04//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\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Merge - Master\\comma\\AgentAction\\comma\\411218\\comma\\0\\comma\\Get the store ID//crlf////crlf////tab////tab////Get the store ID//crlf////tab////tab//StoreID=lookup(Aspect_BackOffice_Inventory_Lookup_Master_Store_ID\\comma\\\\quot\\true\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\Expression (lookup(Aspect_BackOffice_Inventory_Lookup_Master_Store_ID\\comma\\'true'))=\\quot\\+left(StoreID\\comma\\128))//crlf////crlf////tab////tab////Is StoreID valid//crlf////tab////tab//appendToLog(\\quot\\((len(StoreID)'+char(0x3e)+'0))=\\quot\\+((len(StoreID)>0)))//crlf////tab////tab//if((len(StoreID)>0))//crlf////tab////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Merge - Master\\comma\\AgentAction\\comma\\705594\\comma\\0\\comma\\Create file set for master inventory files//crlf////crlf////tab////tab////tab////Create file set for master inventory files//crlf////tab////tab////tab//Result=execAgentAction(\\quot\\createInventorySynchFileset\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\createInventorySynchFileset ()=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Merge - Master\\comma\\AgentAction\\comma\\969606\\comma\\0\\comma\\Copy files to inventory_synch directory//crlf////crlf////tab////tab////tab////Copy files to inventory_synch directory//crlf////tab////tab////tab//Result=execAgentAction(\\quot\\copyinventorySynchFilesToSynchDir\\quot\\\\comma\\\\quot\\StoreID=\\quot\\+StoreID)//crlf////tab////tab////tab//appendToLog(\\quot\\copyinventorySynchFilesToSynchDir ('StoreID='+StoreID)=\\quot\\+left(Result\\comma\\128))//crlf////crlf////tab////tab////tab////Ok?//crlf////tab////tab////tab//appendToLog(\\quot\\(startsWith(Result\\comma\\'ok'))=\\quot\\+(startsWith(Result\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Merge - Master\\comma\\AgentTerminate\\comma\\200414\\comma\\0\\comma\\Ok//crlf////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Merge - Master\\comma\\AgentTerminate\\comma\\88113\\comma\\1\\comma\\Error//crlf////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab//endif//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Inventory Merge - Master\\comma\\AgentTerminate\\comma\\579574\\comma\\1\\comma\\Missing StoreID//crlf////tab////tab////tab//scriptSetResult(=\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;01172020//amp//nbsp;235504//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_Inventory//amp//nbsp;Merge//amp//nbsp;-//amp//nbsp;Master\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;01-17-2020//amp//nbsp;23:55:04</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Get//amp//nbsp;the//amp//nbsp;store//amp//nbsp;ID</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;StoreID=<span class='keyword'>lookup</span>(Aspect_BackOffice_Inventory_Lookup_Master_Store_ID\\comma\\\\quot\\true\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Expression//amp//nbsp;(<span class='keyword'>lookup</span>(Aspect_BackOffice_Inventory_Lookup_Master_Store_ID\\comma\\'true'))=\\quot\\+<span class='keyword'>left</span>(StoreID\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;StoreID//amp//nbsp;valid</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\((<span class='keyword'>len</span>(StoreID)'+<span class='keyword'>char</span>(0x3e)+'0))=\\quot\\+((<span class='keyword'>len</span>(StoreID)//amp//gt;0)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>len</span>(StoreID)//amp//gt;0))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Create//amp//nbsp;file//amp//nbsp;set//amp//nbsp;for//amp//nbsp;master//amp//nbsp;inventory//amp//nbsp;files</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\createInventorySynchFileset\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\createInventorySynchFileset//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Copy//amp//nbsp;files//amp//nbsp;to//amp//nbsp;inventory_synch//amp//nbsp;directory</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\copyinventorySynchFilesToSynchDir\\quot\\\\comma\\\\quot\\StoreID=\\quot\\+StoreID)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\copyinventorySynchFilesToSynchDir//amp//nbsp;('StoreID='+StoreID)=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Ok?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(Result\\comma\\'ok'))=\\quot\\+(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(=\\quot\\Error://amp//nbsp;Missing//amp//nbsp;StoreID\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<p>This agent creates does two things.</p>//crlf////crlf//<ol>//crlf////tab//<li>It creates the fileset used to monitor inventory files at the master store.  These files are //crlf////tab//located in [homedir]\inventory_synch.</li>//crlf////crlf////tab//<li>It copies files from the master store directory to the inventory_synch directory.  Files are //crlf////tab////tab//copied to the directory when they are modified but only after 10 minutes has passed since they //crlf////tab////tab//were last modified.</li>//crlf//</ol>//crlf////crlf//<p>A file set synch task must be defined at each store to request the files.  The Inventory Merge //crlf////tab//agent monitors the inventory_synch directory at the store and merges in new files when they are //crlf////tab//received.</p>//crlf//^
ID=AgentStatus|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h1>Master Store ID</h1>//crlf//<include type:expression; expression:lookup(Aspect_BackOffice_Inventory_Lookup_Master_Store_ID\\comma\\\\quot\\true\\quot\\)> //crlf//(<include type:expression; expression:getStoreName(lookup(Aspect_BackOffice_Inventory_Lookup_Master_Store_ID\\comma\\\\quot\\true\\quot\\))>)//crlf//<br><br>//crlf////crlf//<p>Tokens are used in the conditional and state expressions for the agent.  These are shown below.</p>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Conditional expression//crlf//--------------------------------------------------------------------------]//crlf//<h1>Conditional Token: Aspect_BackOffice_InventorySynchMasterAgent_Conditional</h1>//crlf//<p>The condition is true when the item.bin and menuitemdetail.bin detail files have not bee modified //crlf// in the last 10 minutes.  This is to avoid continuously copying the files while they are being edited.</p>//crlf////crlf//Expression: <include type:expression; expression:breakHtmlLine(getToken(\\quot\\Aspect_BackOffice_InventoryMergeMasterAgent_Conditional\\quot\\))>//crlf//<br><br>//crlf//Value: <include type:expression; expression:indirect(getToken(\\quot\\Aspect_BackOffice_InventoryMergeMasterAgent_Conditional\\quot\\))>//crlf//<br><br>//crlf////crlf//[!------------------------------------------------------------------------//crlf//State expression//crlf//--------------------------------------------------------------------------]//crlf//<h1>State Token: Aspect_BackOffice_InventorySynchMasterAgent_State</h1>//crlf//<p>The state is modified whenever a store is enabled or disabled as the master and whenever any of //crlf//the inventory files are modified.</p>//crlf////crlf//Expression: <include type:expression; expression:breakHtmlLine(getToken(\\quot\\Aspect_BackOffice_InventoryMergeMasterAgent_State\\quot\\))>//crlf//<br><br>//crlf//Value: <include type:expression; expression:indirect(replaceSubstring(getToken(\\quot\\Aspect_BackOffice_InventoryMergeMasterAgent_State\\quot\\)\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\char(0x22)))>//crlf//<br><br>//crlf////crlf//[!------------------------------------------------------------------------//crlf//File set//crlf//--------------------------------------------------------------------------]//crlf//<h1>File set</h1>//crlf////crlf//<p>The file set uses the following conditional expression:</p>//crlf////crlf//Expression: gt(len(lookup(Aspect_BackOffice_Inventory_Lookup_Master_Store_ID\\comma\\true))\\comma\\0\\comma\\n)//crlf//<br><br>//crlf//Value: <include type:expression; expression:gt(len(lookup(Aspect_BackOffice_Inventory_Lookup_Master_Store_ID\\comma\\true))\\comma\\0\\comma\\n)>//crlf//<br>//crlf////crlf//<p>The file set is enabled only when there is a store with Enable As Mester turned on in the store //crlf//settings under the inventory tab.^
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>01172020 235504</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\\chart411218\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\111\\quot\\ style=\\quot\\width: 120px; height: 111px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Inventory Merge - Master</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is On</span><br>Report Status: never<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart200414\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 823px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart705594\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart969606\\quot\\ style=\\quot\\position: absolute; top: 413px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\108\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Create file set for master inventory files<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>createInventorySynchFileset<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart411218\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart372074\\quot\\ style=\\quot\\position: absolute; top: 163px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\82\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Get the store ID<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td>StoreID</td></tr></tbody></table></div></div><div id=\\quot\\chart372074\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart705594\\quot\\ agentchildnonode=\\quot\\chart579574\\quot\\ style=\\quot\\position: absolute; top: 297px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is StoreID valid<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart579574\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 297px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Missing StoreID<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart969606\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart45428\\quot\\ style=\\quot\\position: absolute; top: 560px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\108\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Copy files to inventory_synch directory<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>copyinventorySynchFilesToSynchDir<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart45428\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart200414\\quot\\ agentchildnonode=\\quot\\chart88113\\quot\\ style=\\quot\\position: absolute; top: 707px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Ok?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart88113\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 707px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=705594|X=183|Y=454|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=969606|AgentChildNoNode=|AgentSensor=0|AgentAction=createInventorySynchFileset|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Create file set for master inventory files|AgentNodeTermType=|^
ID=411218|X=183|Y=204|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=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=372074|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=\equals\lookup(Aspect_BackOffice_Inventory_Lookup_Master_Store_ID//comma//\\quot\\true\\quot\\)|AgentNodeExpression=|AgentNodeActionReturnValue=StoreID|AgentNodeComment=Get the store ID|AgentNodeTermType=|^
ID=372074|X=183|Y=338|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=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=705594|AgentChildNoNode=579574|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(len(StoreID)>0)|AgentNodeActionReturnValue=|AgentNodeComment=Is StoreID valid|AgentNodeTermType=|^
ID=579574|X=373|Y=338|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=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=\equals\\\quot\\Error: Missing StoreID\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Missing StoreID|AgentNodeTermType=1|^
ID=969606|X=183|Y=601|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=45428|AgentChildNoNode=|AgentSensor=|AgentAction=copyinventorySynchFilesToSynchDir|AgentNodeNotes=|AgentNodeParams=\equals\\\quot\\StoreID\equals\\\quot\\//plus//StoreID|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Copy files to inventory_synch directory|AgentNodeTermType=|^
ID=45428|X=183|Y=748|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=200414|AgentChildNoNode=88113|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Ok?|AgentNodeTermType=|^
ID=88113|X=373|Y=748|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|
</widget><widget name="Invoices 2019" group="Invoices" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Invoices 2019" modified="02-19-2020 22:39:31" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=05-30-2019 21:25:34: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=Invoices 2019.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar2015|X=0|Y=0|W=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=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\\'912565')\\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\\'419839')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=912565|X=1500|Y=26|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=26|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=26|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Invoices.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_KAV7tpXDgrrC34l3qOMpj1Sy_Invoices.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=419839|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=983583|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\\ style=\\quot\\min-width:150px\\quot\\>//crlf////tab//<option value='291424'>Doc</option>//crlf////tab//<option value='850881'>Invoice Table</option>//crlf////tab//<option value='260988'>Invoice Dialog</option>//crlf////tab//<option value='251686'>Invoice Detail Dialog</option>//crlf////tab//<option value='409305'>Placeholder2</option>//crlf////tab//<option value='167025'>Placeholder3</option>//crlf////tab//<option value='2253'>Placeholder4</option>//crlf////tab//<option value='204615'>Placeholder5</option>//crlf//</select>//crlf//^
ID=850881|X=151|Y=33|W=1236|H=2301|AutoHeight=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=983583|AttachLeft=|AlignLeft=983583|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!--servertimer=false-->//crlf//[!------------------------------------------------------------------------//crlf//Displays a table of invoices for the given store.  Can also be used to //crlf//edit a single invoice in a dialog.//crlf////crlf//Params://crlf////tab//StoreID - Store ID//crlf////tab//DialogOnly - If true\\comma\\ the table will be hidden and the edit dialog will //crlf////tab////tab//be displayed for the given InvoiceID//crlf////tab//InvoiceID - When DialogOnly is true\\comma\\ indicates the invoice to display in //crlf////tab////tab//the edit dialog//crlf//--------------------------------------------------------------------------]//crlf//<state>//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\now()\\comma\\getDependencyStates(ASPECT_BACK_OFFICE_INVOICE\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\))}//crlf////tab//__DialogOnly__//crlf////tab//__InvoiceID__//crlf////tab//{tInvoiceDetailDataSubmitted}//crlf////tab//{@if(fileExists(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache/WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Invoices.html\\quot\\)\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\12052019\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@now()}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Debugging//crlf//<include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\sdDOhOHNW118U9dNy3yuOwXV\\quot\\)>//crlf//--------------------------------------------------------------------------]//crlf////crlf//<conditional expression:(\\quot\\{@formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)}\\quot\\=\\quot\\01242020\\quot\\) or (\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Javascript for testing//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<script ID=\\quot\\JS850881\\quot\\>//crlf////crlf////tab////tab//var cSimInvoiceCount=0;//crlf////tab////tab//var cSimItemCount=0;//crlf////tab////tab//var cItemsToAdd=30;//crlf////tab////tab//var cInvoicesToAdd=1;//crlf////crlf////tab////tab//function simulateInvoiceEntry(salt\\comma\\bContinue) {//crlf////tab////tab////crlf////tab////tab////tab//var eButton=document.getElementById(salt\\plus\\\\quot\\SimButton\\quot\\);//crlf////crlf////tab////tab////tab////end simulation if currently simulating//crlf////tab////tab////tab//if((!bContinue) \\amp\\\\amp\\ (eButton.getAttribute(\\quot\\InSimulation\\quot\\).equalsIgnoreCase(\\quot\\true\\quot\\))) {//crlf////tab////tab////tab////tab//eButton.setAttribute(\\quot\\InSimulation\\quot\\\\comma\\\\quot\\false\\quot\\);//crlf////tab////tab////tab////tab//eButton.value=\\quot\\Simulate invoice entry\\quot\\;//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//eButton.setAttribute(\\quot\\InSimulation\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////tab////tab////tab//eButton.value=\\quot\\End Simulation\\quot\\;//crlf////crlf////tab////tab////tab//var DialogSalt=document.getElementById(\\quot\\InvoiceDialogSalt\\quot\\).value;//crlf////crlf////tab////tab////tab//console.log(\\quot\\------------------------------\\quot\\);//crlf////tab////tab////tab//console.log(\\quot\\simulateInvoiceEntry salt=\\quot\\\\plus\\salt\\plus\\\\quot\\ DialogSalt=\\quot\\\\plus\\DialogSalt);//crlf////tab////tab////tab//console.log(\\quot\\------------------------------\\quot\\);//crlf////crlf////tab////tab////tab////insert an invoice//crlf////tab////tab////tab////console.log(\\quot\\insertTableRecord invoice\\quot\\\\plus\\salt);//crlf////tab////tab////tab//insertTableRecord(\\apos\\invoice\\apos\\\\plus\\salt);//crlf////crlf////tab////tab////tab////a timeout is used here because the dialog does not show immediately if the //crlf////tab////tab////tab////table of invoices is refreshed before the simulation is started.//crlf////tab////tab////tab//setTimeout(\\quot\\simulateInvoiceEntryContinue(\\apos\\\\quot\\\\plus\\salt\\plus\\\\quot\\\\apos\\\\comma\\\\apos\\\\quot\\\\plus\\DialogSalt\\plus\\\\quot\\\\apos\\)\\quot\\\\comma\\1000);//crlf////tab////tab//};//crlf////crlf////tab////tab//function simulateInvoiceEntryContinue(salt\\comma\\DialogSalt) {//crlf////tab////tab////tab////select a vendor//crlf////tab////tab////tab//var VendorName=\\quot\\Sysco\\quot\\;//crlf////tab////tab////tab//var VendorID=\\quot\\\\quot\\;//crlf////tab////tab////tab//var e=document.getElementById(DialogSalt\\plus\\\\quot\\VendorID\\quot\\);//crlf////crlf////tab////tab////tab//for(var i=0;i<e.options.length;i\\plus\\\\plus\\) {//crlf////tab////tab////tab////tab//if(e.options[i].text.equalsIgnoreCase(VendorName)) {//crlf////tab////tab////tab////tab////tab//VendorID=e.options[i].value;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//if(VendorID.length==0) {//crlf////tab////tab////tab////tab//alert(\\quot\\Cannot locate \\quot\\\\plus\\VendorName\\plus\\\\quot\\ in vendor list\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////console.log(\\quot\\Selecting vendor\\quot\\);//crlf////tab////tab////tab//e.value=VendorID;//crlf////tab////tab////tab//vendorSelected(DialogSalt);//crlf////tab////tab////tab//submitDialogCell(e);//crlf////crlf////tab////tab////tab////enter an amount//crlf////tab////tab////tab//var e=document.getElementById(DialogSalt\\plus\\\\quot\\InvoiceAmount\\quot\\);//crlf////tab////tab////tab//e.value=\\quot\\100\\quot\\;//crlf////tab////tab////tab//submitDialogCell(e);//crlf////tab////tab////tab//getTotalAmountEnteredFromTable(DialogSalt);//crlf////tab////tab////tab////enter a number//crlf////tab////tab////tab//var e=document.getElementById(DialogSalt\\plus\\\\quot\\InvoiceNumber\\quot\\);//crlf////tab////tab////tab//e.value=\\quot\\1234\\quot\\;//crlf////tab////tab////tab//submitDialogCell(e);//crlf////crlf////tab////tab////tab//cSimItemCount=0;//crlf////tab////tab////tab//setTimeout(\\quot\\simulateItemEntry(\\apos\\\\quot\\\\plus\\salt\\plus\\\\quot\\\\apos\\\\comma\\\\apos\\\\quot\\\\plus\\DialogSalt\\plus\\\\quot\\\\apos\\)\\quot\\\\comma\\6000);//crlf////tab////tab//};//crlf////crlf////tab////tab//function templateExists(DialogSalt) {//crlf////tab////tab////tab//var table=document.getElementById(DialogSalt);//crlf////tab////tab////tab//var index=-1;//crlf////tab////tab////tab//for (var i=0;i<table.rows.length;i\\plus\\\\plus\\) {//crlf////tab////tab////tab////tab//var s=table.rows[i].getAttribute(\\quot\\ID\\quot\\);//crlf////tab////tab////tab////tab//if((s) \\amp\\\\amp\\ (s.equalsIgnoreCase(\\quot\\InsertTemplate\\quot\\\\plus\\DialogSalt)))//crlf////tab////tab////tab////tab//{//crlf////tab////tab////tab////tab////tab//var RowTemplate=table.rows[i];//crlf////tab////tab////tab////tab////tab//var s=RowTemplate.getAttribute(\\quot\\IsInitialized\\quot\\);//crlf////tab////tab////tab////tab////tab//if((s) \\amp\\\\amp\\ (s.equalsIgnoreCase(\\quot\\true\\quot\\))) {//crlf////tab////tab////tab////tab////tab////tab//return(true);//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab////tab//return(false);//crlf////tab////tab//};//crlf////crlf////tab////tab//function simulateItemEntry(salt\\comma\\DialogSalt) {//crlf////tab////tab////tab////console.log(\\quot\\------------------------------\\quot\\);//crlf////tab////tab////tab////console.log(\\quot\\simulateItemEntry cSimItemCount=\\quot\\\\plus\\cSimItemCount);//crlf////tab////tab////tab////console.log(\\quot\\------------------------------\\quot\\);//crlf////crlf////tab////tab////tab////abort if simulation has been canceled//crlf////tab////tab////tab//if(document.getElementById(salt\\plus\\\\quot\\SimButton\\quot\\).getAttribute(\\quot\\InSimulation\\quot\\).equalsIgnoreCase(\\quot\\false\\quot\\)) {//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////delay if table is not loaded yet//crlf////tab////tab////tab//if(!document.getElementById(DialogSalt)) {//crlf////tab////tab////tab////tab//console.log(\\quot\\Waiting to table to load\\quot\\);//crlf////tab////tab////tab////tab//setTimeout(\\quot\\simulateItemEntry(\\apos\\\\quot\\\\plus\\salt\\plus\\\\quot\\\\apos\\\\comma\\\\apos\\\\quot\\\\plus\\DialogSalt\\plus\\\\quot\\\\apos\\)\\quot\\\\comma\\1000);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////delay if template used for new record is not avaliable yet//crlf////tab////tab////tab//if(templateExists(DialogSalt)==false) {//crlf////tab////tab////tab////tab////console.log(\\quot\\Waiting for record template\\quot\\);//crlf////tab////tab////tab////tab//setTimeout(\\quot\\simulateItemEntry(\\apos\\\\quot\\\\plus\\salt\\plus\\\\quot\\\\apos\\\\comma\\\\apos\\\\quot\\\\plus\\DialogSalt\\plus\\\\quot\\\\apos\\)\\quot\\\\comma\\1000);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////insert an item//crlf////tab////tab////tab//if(cSimItemCount==0) {//crlf////tab////tab////tab////tab////console.log(\\quot\\insertTableRecord \\quot\\\\plus\\salt);//crlf////tab////tab////tab////tab//insertTableRecord(DialogSalt);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab////click the add new item button//crlf////tab////tab////tab////tab//addAnotherInvoiceDetail(DialogSalt);//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//var eList=document.getElementById(DialogSalt\\plus\\\\quot\\InvoiceDetailSelectItem\\quot\\);//crlf////tab////tab////tab//var len=eList.options.length;//crlf////tab////tab////tab//var n=Math.round(Math.random()*len);//crlf////tab////tab////tab//n=Math.min(n\\comma\\len-1);//crlf////console.log(\\quot\\set item name: len=\\quot\\\\plus\\len\\plus\\\\quot\\ n=\\quot\\\\plus\\n\\plus\\\\quot\\ salt=\\quot\\\\plus\\salt);//crlf////tab////tab////tab//var ItemName=eList.options[n].value;//crlf////console.log(\\quot\\***** set item name: \\quot\\\\plus\\ItemName\\plus\\\\quot\\ len=\\quot\\\\plus\\len\\plus\\\\quot\\ n=\\quot\\\\plus\\n\\plus\\\\quot\\ salt=\\quot\\\\plus\\salt);//crlf////tab////tab////tab//var e=document.getElementById(DialogSalt\\plus\\\\quot\\InvoiceDetailSelectItem_input\\quot\\);//crlf////tab////tab////tab//e.value=ItemName;//crlf////tab////tab////tab//invoiceDetailItemSelected(e);//crlf////crlf////tab////tab////tab////set the quantity//crlf////tab////tab////tab//var e=document.getElementById(DialogSalt\\plus\\\\quot\\Quantity\\quot\\);//crlf////tab////tab////tab//e.value=\\quot\\1\\quot\\;//crlf////tab////tab////tab//invoiceDetailQuantityChanged(e\\comma\\DialogSalt);//crlf////crlf////tab////tab////tab////add another item//crlf////tab////tab////tab//cSimItemCount\\plus\\\\plus\\;//crlf////tab////tab////tab////console.log(\\quot\\cSimItemCount=\\quot\\\\plus\\cSimItemCount);//crlf////tab////tab////tab//if(cSimItemCount<cItemsToAdd) {//crlf////tab////tab////tab////tab//setTimeout(\\quot\\simulateItemEntry(\\apos\\\\quot\\\\plus\\salt\\plus\\\\quot\\\\apos\\\\comma\\\\apos\\\\quot\\\\plus\\DialogSalt\\plus\\\\quot\\\\apos\\)\\quot\\\\comma\\100);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab//setTimeout(\\quot\\finishInvoiceSim(\\apos\\\\quot\\\\plus\\salt\\plus\\\\quot\\\\apos\\\\comma\\\\apos\\\\quot\\\\plus\\DialogSalt\\plus\\\\quot\\\\apos\\)\\quot\\\\comma\\100);//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab//function finishInvoiceSim(salt\\comma\\DialogSalt) {//crlf////tab////tab////tab////close the detail dialog//crlf////tab////tab////tab////closeInvoiceDetailDialog(document.getElementById(salt\\plus\\\\quot\\CloseIcon\\quot\\));//crlf////crlf////tab////tab////tab////close the invoice dialog//crlf////tab////tab////tab////closeTableEditDialog(document.getElementById(\\apos\\Aspect_Back_Office_Invoice\\apos\\\\plus\\salt));//crlf////crlf////tab////tab////tab//cSimInvoiceCount\\plus\\\\plus\\;//crlf////tab////tab////tab//if(cSimInvoiceCount<cInvoicesToAdd) {//crlf////tab////tab////tab////tab//console.log(\\quot\\cSimInvoiceCount=\\quot\\\\plus\\cSimInvoiceCount);//crlf////tab////tab////tab////tab//setTimeout(\\quot\\simulateInvoiceEntry(\\apos\\\\quot\\\\plus\\salt\\plus\\\\quot\\\\apos\\\\comma\\true)\\quot\\\\comma\\1000);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab//var eButton=document.getElementById(salt\\plus\\\\quot\\SimButton\\quot\\);//crlf////tab////tab////tab////tab//eButton.setAttribute(\\quot\\InSimulation\\quot\\\\comma\\\\quot\\false\\quot\\);//crlf////tab////tab////tab////tab//eButton.value=\\quot\\Simulate invoice entry\\quot\\;//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab///*****************************************************************//crlf////tab////tab//This function is called when the invoice table is refreshed.  It is used to //crlf////tab////tab//display an invoice after it is imported.  The function used to import the invoice //crlf////tab////tab//records the ID (key) of the new record in a hidden element.  When the table is //crlf////tab////tab//refreshed\\comma\\ the dialog is displayed for the key.  They value is clear afterward so //crlf////tab////tab//it will not be displayed again if the table is refreshed.//crlf////tab////tab//*****************************************************************///crlf////tab////tab//function tableRefreshedinvoice__salt__(TableID) {//crlf//console.log(\\quot\\Invoice table tableRefreshedinvoice__salt__ TableID=\\quot\\\\plus\\TableID);//crlf////tab////tab////tab//var salt=TableID.substring(7);//crlf////tab////tab////tab//var sKey=document.getElementById(\\quot\\invoice\\quot\\\\plus\\salt\\plus\\\\quot\\imported_invoice_recordid\\quot\\).value;//crlf////tab////tab////tab//var table=document.getElementById(TableID);//crlf////tab////tab////tab//if(sKey.length>0) {//crlf////tab////tab////tab////tab//appendToLog(\\quot\\TableID=\\quot\\\\plus\\TableID\\plus\\\\quot\\ salt=\\quot\\\\plus\\salt\\plus\\\\quot\\ sKey=\\quot\\\\plus\\sKey);//crlf////tab////tab////tab////tab//var r=getTableRowContainingKey(table\\comma\\sKey);//crlf////tab////tab////tab////tab//if(r>=0) {//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\key=\\quot\\\\plus\\sKey\\plus\\\\quot\\ r=\\quot\\\\plus\\r);//crlf////tab////tab////tab////tab////tab//showTableEditDialogForRow(table\\comma\\r);//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//document.getElementById(\\quot\\invoice\\quot\\\\plus\\salt\\plus\\\\quot\\imported_invoice_recordid\\quot\\).value=\\quot\\\\quot\\;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////record default start date//crlf////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\StartDate\\quot\\);//crlf////tab////tab////tab//putDefault(\\quot\\DateFrom850881\\quot\\\\comma\\e.value);//crlf////tab////tab//};//crlf////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\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\; //crlf////tab////tab////tab//widget:\\quot\\Inventory Drivers\\quot\\; //crlf////tab////tab////tab//containerItemID:\\quot\\590607\\quot\\; //crlf////tab////tab////tab//params:\\quot\\\\quot\\;>//tab////tab////crlf////tab//</script>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Styles for dialog//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<style ID=\\quot\\CSInvoiceTable\\quot\\>//crlf////tab////tab//div.paste_invoice_dialog {display:none;width:100\\percent\\;max-width:600px;position:absolute;top:100px;left:100px;z-index:3}//crlf////tab////tab//div.paste_invoice_dialog_title_container {height:35px;background-color:\\pound\\e9e9e9;padding:5px 0px 5px 5px;margin:0px;border:solid 1px black;font-size:10pt;font-weight:bold;}//crlf////tab////tab//div.confirm_invoice_export {display:none;width:100\\percent\\;max-width:400px;position:absolute;top:100px;left:100px;z-index:3;}//crlf////tab////tab//div.confirm_invoice_export_title_container {height:35px;background-color:\\pound\\e9e9e9;padding:5px 0px 5px 5px;margin:0px;border:solid 1px black;font-size:10pt;font-weight:bold;}//crlf////crlf////tab////tab//@media only screen and (min-width:1024px) {//crlf////tab////tab////tab//div.paste_invoice_dialog_title_container {height:20px;padding:0px 0px 0px 5px};//crlf////tab////tab////tab//div.confirm_invoice_export_title_container {height:20px;padding:0px 0px 0px 5px};//crlf////tab////tab//};//crlf////tab//</style>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Dialog used to paste an invoice//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__PasteInvoiceDialog\\quot\\ class=\\quot\\paste_invoice_dialog\\quot\\>//crlf////tab////tab//<div class=\\quot\\paste_invoice_dialog_title_container\\quot\\>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Cancel Icon//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:right\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\clear\\quot\\ style=\\quot\\position:relative;top:-3px\\quot\\ onclick=\\quot\\setVisible(\\apos\\__salt__PasteInvoiceDialog\\apos\\\\comma\\false)\\quot\\></span>//crlf////tab////tab////tab//</div>//crlf////tab////crlf////tab////tab////tab//<div style=\\quot\\float:left\\quot\\>//crlf////tab////tab////tab////tab//Import Invoice From Clipboard//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Div containing the text area//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div style=\\quot\\border:solid 1px black;padding:5px;margin:0px;width:100\\percent\\;height:auto;background-color:white\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ style=\\quot\\float:right\\quot\\ value=\\quot\\Import Invoice\\quot\\ onClick=\\quot\\importPastedInvoice(\\apos\\__salt__\\apos\\)\\quot\\>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Textarea.  Note that the closing textarea tag must be on the same line as //crlf////tab////tab////tab//the opening tag or the placeholder will not be displayed.//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<textarea ID=\\quot\\__salt__PastedContent\\quot\\ style=\\quot\\width:100\\percent\\;height:300px\\quot\\ placeholder=\\quot\\Paste the contents of the invoice here\\quot\\></textarea>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Dialog used to confirm invoice export//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__confirm_invoice_export\\quot\\ class=\\quot\\confirm_invoice_export\\quot\\>//crlf////tab////tab//<div class=\\quot\\confirm_invoice_export_title_container\\quot\\>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Cancel Icon//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:right\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\clear\\quot\\ style=\\quot\\position:relative;top:-3px\\quot\\ onclick=\\quot\\setVisible(\\apos\\__salt__confirm_invoice_export\\apos\\\\comma\\false)\\quot\\></span>//crlf////tab////tab////tab//</div>//crlf////tab////crlf////tab////tab////tab//<div style=\\quot\\float:left\\quot\\>//crlf////tab////tab////tab////tab//Export Invoices//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div style=\\quot\\border:solid 1px black;background-color:white;padding:5px 5px 5px 5px;\\quot\\>//crlf////tab////tab////tab//<div style=\\quot\\clear:both\\quot\\>//crlf////tab////tab////tab////tab//Invoices will be exported if:<br><br>//crlf////tab////tab////tab////tab//<hr>//crlf////tab////tab////tab////tab//<ul>//crlf////tab////tab////tab////tab////tab//<li>\\quot\\Export to A/P\\quot\\ is enabled for the vendor</li>//crlf////tab////tab////tab////tab////tab//<li>The invoice is not marked as paid</li>//crlf////tab////tab////tab////tab////tab//<li>The invoice has not already been exported</li>//crlf////tab////tab////tab////tab//</ul>//crlf////tab////tab////tab////tab//<hr>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//<div style=\\quot\\text-align:right\\quot\\>//crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Continue\\quot\\ onClick=\\quot\\setVisible(\\apos\\__salt__confirm_invoice_export\\apos\\\\comma\\false);exportInvoicesSub(\\apos\\invoice__salt__\\apos\\)\\quot\\>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Development reminder//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\4idczse69\\quot\\) and (not(defined(\\quot\\__getContent__\\quot\\)))>//crlf////tab////tab//<hr>//crlf////tab////tab//<p><b>Note: The size unit collection is not initialized in the edit invoice detail dialog //crlf////tab////tab////tab//when this table is loaded from the development container.  It is initialized when the //crlf////tab////tab////tab//table is loaded from the UI.</b></p>//crlf////tab////tab//<hr>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Simulation button//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\4idczse69\\quot\\)>//crlf////tab////tab//<input InSimulation=\\quot\\false\\quot\\ ID=\\quot\\__salt__SimButton\\quot\\ type=\\quot\\button\\quot\\ value=\\quot\\Simulate invoice entry 2019\\quot\\ onClick=\\quot\\cSimInvoiceCount=0;simulateInvoiceEntry(\\apos\\__salt__\\apos\\)\\quot\\>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//These values are used when importing an invoice//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__StoreID\\quot\\ value=\\quot\\__StoreID__\\quot\\>//crlf////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__StoreDirectory\\quot\\ value=\\quot\\{@getStoreDir(\\quot\\__StoreID__\\quot\\)}\\quot\\>//crlf////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__HomeDir\\quot\\ value=\\quot\\{@replaceSubstring(addDirSlash(getToken(\\quot\\homedir\\quot\\))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\~~backslash~~\\quot\\)}\\quot\\>//crlf////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\invoice__salt__imported_invoice_recordid\\quot\\ value=\\quot\\\\quot\\>//crlf////crlf////tab//<div style=\\quot\\margin:0px 0px 0px 10px\\quot\\>//crlf////tab////tab//<conditional expression:(not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab//<form name=\\quot\\__salt__form\\quot\\>//crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Filter: Start Date//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab//InputType:\\quot\\date\\quot\\;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__Salt__StartDate\\quot\\;//crlf////tab////tab////tab////tab////tab//Condition:\\quot\\not(len(trim(\\apos\\$value$\\apos\\))=0)\\quot\\;//crlf////tab////tab////tab////tab////tab//Expression:\\quot\\gte(date(Date\\comma\\true)\\comma\\dateNumber(\\apos\\$value$\\apos\\)\\comma\\\\apos\\n\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected: \\quot\\<include type:expression; expression:getDefault(\\quot\\DateFrom850881\\quot\\\\comma\\\\quot\\\\quot\\)>\\quot\\;//crlf////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\placeholder=\\apos\\mm-dd-yyyy\\apos\\ name=\\apos\\__salt__StartDt\\apos\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab//\\amp\\nbsp;-\\amp\\nbsp;//tab////tab////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Filter: End Date//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab//InputType:\\quot\\date\\quot\\;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__Salt__EndDate\\quot\\;//crlf////tab////tab////tab////tab////tab//Condition:\\quot\\not(len(trim(\\apos\\$value$\\apos\\))=0)\\quot\\;//crlf////tab////tab////tab////tab////tab//Expression:\\quot\\lte(date(Date\\comma\\true)\\comma\\dateNumber(\\apos\\$value$\\apos\\)\\comma\\\\apos\\n\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\placeholder=\\apos\\mm-dd-yyyy\\apos\\ name=\\apos\\__salt__EndDt\\apos\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Filter: Vendor//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab//InputType:\\quot\\Select\\quot\\;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__Salt__SelVendor\\quot\\;//crlf////tab////tab////tab////tab////tab//Condition:\\quot\\not(\\apos\\$value$\\apos\\=\\apos\\select\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab////tab//Expression:\\quot\\VendorID=\\apos\\$value$\\apos\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\style=\\quot\\width:200px\\quot\\ onChange=\\quot\\refreshTable(\\apos\\invoice__salt__\\apos\\\\comma\\\\apos\\refresh\\apos\\)\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Vendor_Names_By_ID_With_Select\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Filter: Invoice export status//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab//InputType:\\quot\\Select\\quot\\;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__Salt__ExportStatus\\quot\\;//crlf////tab////tab////tab////tab////tab//Condition:\\quot\\not(\\apos\\$value$\\apos\\=\\apos\\0\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab////tab//Expression:\\quot\\Is_Exported=$value$\\quot\\;//crlf////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\class=\\apos\\medium\\apos\\ onChange=\\quot\\refreshTable(\\apos\\invoice__salt__\\apos\\\\comma\\\\apos\\refresh\\apos\\)\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Invoice_Export_Status_for_Filter\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Contains text//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab////tab////tab////tab//_ID:\\quot\\__salt__ContainsText\\quot\\;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\invoice__salt__ContainsText\\quot\\;//crlf////tab////tab////tab////tab////tab//Condition:\\quot\\not(len(trim(\\apos\\$value$\\apos\\))=0)\\quot\\;//crlf////tab////tab////tab////tab////tab//_Expression:\\quot\\gte(pos(\\apos\\$value$\\apos\\\\comma\\Number\\plus\\Date_Text\\plus\\Date_Text_w_slash\\plus\\Due_Date_Text\\plus\\Due_Date_Text_w_Slash\\plus\\Discount_Date_Text\\plus\\\\apos\\Vendor Name\\apos\\\\plus\\Amount_Text)\\comma\\0\\comma\\n)\\quot\\;//crlf////tab////tab////tab////tab////tab//Expression: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\placeholder=\\apos\\Contains text\\apos\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Filter: Imported invoices only//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<span style=\\quot\\white-space:nowrap\\quot\\>//crlf////tab////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab////tab//InputType:\\quot\\checkbox\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ID:\\quot\\__salt__FilterImportedOnly\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Condition:\\quot\\boolean(\\apos\\$value$\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Expression:\\quot\\Is_Imported\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\refreshTable(\\apos\\invoice__salt__\\apos\\\\comma\\\\apos\\refresh\\apos\\)\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//> //crlf////tab////tab////tab////tab////tab//Imported invoices only//crlf////tab////tab////tab////tab//</span>//crlf////tab////tab////tab//</form>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\ReadOnly\\quot\\\\comma\\\\quot\\__ReadOnly__\\quot\\\\comma\\false)>//crlf////crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\invoice__salt__\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_INVOICE\\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\\gfs(getStoreDir(\\apos\\__StoreID__\\apos\\)\\plus\\\\apos\\invoice.bin\\apos\\)\\plus\\gfs(getStoreDir(\\apos\\__StoreID__\\apos\\)\\plus\\\\apos\\vendor.bin\\apos\\)\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Metadata=Aspect_Back_Office_Invoice\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//basefilter: \\quot\\//crlf////tab////tab////tab////tab//(true) //crlf////tab////tab////tab////tab//<conditional expression:defined(\\quot\\__InvoiceID__\\quot\\)>//crlf////tab////tab////tab////tab////tab//and (ID=\\quot\\__InvoiceID__\\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\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//<conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab////tab//style: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:(not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab//readOnly:\\quot\\__ReadOnly__\\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\\Duplicate_Invoice_Message\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Invoices 2019~~pipe~~260988~~pipe~~Aspect_Back_Office_Invoice~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab//DialogOnly: \\quot\\__DialogOnly__\\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__ContainsText\\comma\\__Salt__StartDate\\comma\\__Salt__EndDate\\comma\\__Salt__ExportStatus\\comma\\__Salt__SelVendor\\comma\\__salt__FilterImportedOnly\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\Import Invoice From File~~pipe~~importInvoice\\comma\\Import Invoice From Clipboard~~pipe~~pasteInvoice\\comma\\separator\\comma\\Export Invoices~~pipe~~exportInvoices\\quot\\;//crlf////tab////tab////tab//faq: \\quot\\yvChqvhP\\quot\\;//crlf////tab////tab////tab//procedure: \\quot\\KEaTBFoE\\comma\\8Zszsg0E\\quot\\;//crlf////tab////tab////tab//video: \\quot\\pv8gz3Ji\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf////crlf////tab//<div style=\\quot\\width:100\\percent\\;min-width:100px;height:600px\\quot\\></div>//crlf//</conditional>//crlf////crlf//<conditional expression:not(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//</conditional>//crlf////crlf//__servertimerresults__^
ID=260988|X=151|Y=33|W=1066|H=639|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=983583|AttachLeft=|AlignLeft=983583|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//04-14-2016//crlf////crlf//To allow using DialogOnly=true to display this dialog in an inspect window\\comma\\ the//crlf//following steps have been taken://crlf////crlf//1.  The value of ItemID has been set in the hidden input with the ID of Menu_Item_ID__DialogID__//crlf//2.  A javascript statement has been included using a script element to refresh the table//crlf////tab////tab//when after it is loaded.  Otherwise\\comma\\ items in the table do not appear until the table//crlf////tab////tab//is manually refreshed.//crlf////crlf//See if these steps can be avoided through improvements in the standard javascript functions.//crlf//--------------------------------------------------------------------------]//crlf////crlf//<!include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__salt__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//{ htmlTable(\\quot\\__pageargs__\\quot\\\\comma\\\\quot\\~\\quot\\\\comma\\\\quot\\=\\quot\\)}//crlf//--------------------------------------------------------------------------]//crlf////crlf//<script ID=\\quot\\JS260988\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////crlf////tab////tab//JAVASCRIPT FUNCTIONS//crlf////crlf////tab////tab//tableRefreshed__salt__(TableID)//crlf////tab////tab////tab//This function updates the datalist used to select an item in the edit invoice detail//crlf////tab////tab////tab//dialog so the list includes item codes for the currently selected vendor.  //crlf////crlf////tab////tab//updateDefaultPurchaseInfo()//crlf////crlf////tab////tab//updateDefaultPurchaseInfoGotResult(s)//crlf////crlf////tab////tab//invoiceDialogOpened(DialogID)//crlf////tab////tab////tab//Called when a dialog is opened to edit an invoice//crlf////crlf////tab////tab//hideInvoiceDetailsTableBody(salt)//crlf////tab////tab////tab//This function is called from the initialization function above.  It hides //crlf////tab////tab////tab//the table body when the dialog is first opened so a table from a previous //crlf////tab////tab////tab//invoice will not be displayed while the table is refreshed.//crlf////crlf////tab////tab//vendorSelected(salt\\comma\\DialogOpening) //crlf////tab////tab////tab//Called when a vendor is selected in the edit invoice dialog//crlf////crlf////tab////tab//setInvoiceTDWidths(DialogID)//crlf////tab////tab////tab//The tables used to get the vendor\\comma\\ invoice date\\comma\\ etc at the top of the //crlf////tab////tab////tab//invoice are displayed inline when the screen size descreases. //crlf////tab////tab////tab////crlf////tab////tab////tab//This function Sets the width of the first td cell in each row to the maximum width of any //crlf////tab////tab////tab//of the first td cells in a row.  This is used to standardize the width of the //crlf////tab////tab////tab//first td cell in each row when the table is displayed inline//crlf////crlf////tab////tab//tableRefreshedOnInterval__salt__(TableID)//crlf////tab////tab////tab//This listener function is called by the refreshTableOnInterval() function //crlf////tab////tab////tab//when a table has been refreshed by merging new or modified records into //crlf////tab////tab////tab//the table//crlf////crlf////tab////tab//tableDataSubmitted__salt__(TableID)//crlf////tab////tab////tab//Called when data is submitted for the invoice detail table//crlf////crlf////tab////tab//tableDataSubmissionComplete__salt__(TableID)//crlf////tab////tab////tab//Called when data has been submitted to the table and all submissions are complete.//crlf////crlf////tab////tab//getTotalAmountEnteredFromTable(TableID)//crlf////tab////tab////tab//Calculates the total extended price for all items entered on the invoice.//crlf////tab////tab////tab//This function is called by the tableDataSubmitted listener.//crlf////tab////tab////tab//This function updates the logged amount more quickly than making a call to the//crlf////tab////tab////tab//source computer.  It will abort if the extended_price (amount) field is not //crlf////tab////tab////tab//included in the table.  The call is still made to getTotalAmountEntered() //crlf////tab////tab////tab//when all submissions are complete so the amount will be updated even if this//crlf////tab////tab////tab//fails.//crlf////crlf////tab////tab//getTotalAmountEntered(TableID\\comma\\LastInvoiceID\\comma\\s)//crlf////tab////tab////tab//Makes a call to the server to get the total extended price for all items entered on the invoice.//crlf////crlf////tab////tab//updateItemDatalists(salt)//crlf////tab////tab////tab//This function updates the two datalists associated with the item input field in the //crlf////tab////tab////tab//invoice detail dialog.  One datalist contains all items and the other contains only //crlf////tab////tab////tab//items purchased from the selected vendor.  Both lists include the vendor code in the //crlf////tab////tab////tab//item name.  The lists are updated by reading from the master list in the invoice dialog.//crlf////crlf////tab////tab//updatesInvoiceDetailSelectItemAlt(salt)//crlf////tab////tab////tab//This function is called after the alternate item list containing items supplied//crlf////tab////tab////tab//by the selected vendor is updated.  The update is initiated by vendorSelected() //crlf////tab////tab////tab//when the vendor selection changes.//crlf////tab////tab////tab//alert(\\quot\\updatesInvoiceDetailSelectItemAlt: \\quot\\+salt);//crlf////crlf////tab////tab//initializeDefaultInvoice(TableID\\comma\\s)//crlf////tab////tab////tab//Initializes an invoice by adding all items purchased from the selected //crlf////tab////tab////tab//vendor to the invoice details.  The items are determined by past invoices//crlf////tab////tab////tab//and are sorted in the order they appear on past invoices//crlf////tab//--------------------------------------------------------------------------]//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//This function is called by refreshTable() when the invoice detail table is refreshed.//crlf////tab//This function updates the datalist used to select an item in the edit invoice detail//crlf////tab//dialog so the list includes item codes for the currently selected vendor.  //crlf////crlf////tab//The collections refreshed by this function are both located in the edit invoice detail //crlf////tab//dialog.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function tableRefreshed__salt__(TableID) {//crlf////tab////tab////appendToLog(\\quot\\tableRefreshed: \\quot\\+TableID);//crlf////crlf////tab////tab////Added Feb 2018//crlf////tab////tab//updateItemDatalists(TableID);//crlf////crlf////tab////tab////show the total amount entered on the invoice//crlf////tab////tab//getTotalAmountEnteredFromTable(TableID);//crlf////crlf////tab////tab////record the amount of time required to open the dialog//crlf////tab////tab////Note that TableID is the same as salt since the table ID is set to salt when it is created//crlf////tab////tab//var eTimeOpened=document.getElementById(TableID+\\quot\\TimeOpened\\quot\\);//crlf////tab////tab//if(eTimeOpened) {//crlf////tab////tab////tab//var iTimeOpened=parseInt(eTimeOpened.value);//crlf////tab////tab////tab//if(iTimeOpened>0) {//crlf////tab////tab////tab////tab//var sInvoiceNumber=document.getElementById(TableID+\\quot\\InvoiceNumber\\quot\\).value;//crlf////tab////tab////tab////tab//if(sInvoiceNumber.trim().length==0) sInvoiceNumber=\\quot\\No Number\\quot\\;//crlf////tab////tab////tab////tab//var sInvoiceDate=document.getElementById(TableID+\\quot\\InvoiceDate\\quot\\).value;//crlf////tab////tab////tab////tab//var s=\\quot\\Edit Invoice: \\quot\\+sInvoiceNumber+\\quot\\: \\quot\\+sInvoiceDate;//crlf////tab////tab////tab////tab//gaevt(\\quot\\View\\quot\\\\comma\\\\quot\\ViewUpdate\\quot\\\\comma\\s\\comma\\new Date().getTime()-iTimeOpened); //crlf////crlf////tab////tab////tab////tab////set the timeopened attribute to 0 so it will not be recorded again if the //crlf////tab////tab////tab////tab////table is refreshed from the table menu//crlf////tab////tab////tab////tab//eTimeOpened.value=0;//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab//};//crlf////crlf////tab//function updateDefaultPurchaseInfo() {//crlf////crlf////tab////tab//var sID=\\quot\\__salt__DefaultPurchaseInfo\\quot\\;//crlf////tab////tab//e=document.getElementById(sID);//crlf////tab////tab//if(!e) {//crlf////tab////tab////tab//appendToLog(\\quot\\updateDefaultPurchaseInfo: cannot locate \\quot\\+sID);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//var sCollectionID=\\quot\\Aspect_BackOffice_Default_Purchase_Info_2018b\\quot\\;//crlf////tab////tab//var sSource=e.getAttribute(\\quot\\source\\quot\\);//crlf////tab////tab//var sFilter=e.getAttribute(\\quot\\filter\\quot\\);//crlf////tab////tab//var sParams=e.getAttribute(\\quot\\params\\quot\\);//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=Greenlight//amp//ID=getWidget//amp//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//Widget=Notification Queries\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//query=getHtmlSelectOptions\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//CollectionID=\\quot\\+sCollectionID;//crlf////tab////tab//sUrl +=\\quot\\//amp//Source=\\quot\\+sSource;//crlf////tab////tab//sUrl +=\\quot\\//amp//Filter=\\quot\\+sFilter;//crlf////tab////tab//sUrl +=\\quot\\//amp//DriverParams=\\quot\\+sParams;//crlf////tab////tab//sUrl +=\\quot\\//amp//SystemDriverN\\quot\\+\\quot\\ame=\\quot\\;//crlf////crlf////tab////tab//var sFunc=\\quot\\updateDefaultPurchaseInfoGotResult(s)\\quot\\;//crlf////tab////tab//appendToLog(\\quot\\updateDefaultPurchaseInfo: sFunc=\\quot\\+sFunc);//crlf////tab////tab//appendToLog(\\quot\\updateDefaultPurchaseInfo: sUrl=\\quot\\+sUrl);//crlf////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab//};//crlf////crlf////tab//function updateDefaultPurchaseInfoGotResult(s) {//crlf////tab////tab//var sID=\\quot\\__salt__DefaultPurchaseInfo\\quot\\;//crlf////tab////tab//var e=document.getElementById(sID);//crlf////tab////tab//if(!e) {//crlf////tab////tab////tab//appendToLog(\\quot\\updateDefaultPurchaseInfoGotResult: cannot locate \\quot\\+sID);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////if got data...//crlf////tab////tab//if(s) {//crlf////tab////tab////tab//appendToLog(\\quot\\updateDefaultPurchaseInfoGotResult: got data len=\\quot\\+s.length);//crlf////tab////tab////tab//setOptions(e\\comma\\s);//crlf////tab////tab////tab//s=e.innerHTML;//crlf////tab////tab////tab//s=replaceAllSubstrings(s\\comma\\\\quot\\//power//\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab//e.innerHTML=s;//crlf////tab////tab////tab//updateItemDatalists(\\quot\\__salt__\\quot\\);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//appendToLog(\\quot\\updateDefaultPurchaseInfoGotResult: Error: No data\\quot\\);//crlf////tab////tab//};//crlf////crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when a dialog is opened to edit an invoice//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function invoiceDialogOpened(DialogID) {//crlf////tab////tab//appendToLog(\\quot\\invoiceDialogOpened\\quot\\);//crlf////tab////tab//var d=document.getElementById(DialogID);//crlf////tab////tab//var salt=d.getAttribute(\\quot\\salt\\quot\\);//crlf////tab////tab//var DialogIDSalt=d.getAttribute(\\quot\\DialogIDSalt\\quot\\);//crlf////crlf////tab////tab////record the time the dialog was opened as an attribute in the dialog.  This is used by the //crlf////tab////tab////tableRefreshed function below to record the amount of time required to initialize the dialog//crlf////tab////tab//document.getElementById(salt+\\quot\\TimeOpened\\quot\\).value=new Date().getTime();//crlf////crlf////tab////tab//setInvoiceTDWidths(DialogIDSalt);//crlf////crlf////tab////tab////hide invoice details until a vendor is selected//crlf////tab////tab//var sVendorID=document.getElementById(salt+\\quot\\VendorID\\quot\\).value;//crlf////tab////tab//var sHasDetails=document.getElementById(salt+\\quot\\HasDetails\\quot\\).value;//crlf////tab////tab//appendToLog(\\quot\\VendorID=\\quot\\+sVendorID+\\quot\\ HasDetails=\\quot\\+sHasDetails);//crlf////crlf////tab////tab////if the invoice has details\\comma\\ then show the table//crlf////tab////tab//if(sHasDetails.equalsIgnoreCase(\\quot\\true\\quot\\)) {//crlf////tab////tab////tab////hide the table body so a table populated for a prior dialog will not be displayed when//crlf////tab////tab////tab////inserting a new record//crlf////tab////tab////tab//hideInvoiceDetailsTableBody(salt);//crlf////crlf////tab////tab////tab//setVisible(salt+\\quot\\InvoiceDetailTableContainer\\quot\\\\comma\\true);//crlf////tab////tab////tab//setVisible(salt+\\quot\\SelectVendor\\quot\\\\comma\\false);//crlf////crlf////tab////tab////tab////set the value of the external driver param used to pass the Vendor ID to the details table//crlf////tab////tab////tab////and refresh the table//crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\VendorIDParam\\quot\\);//crlf////tab////tab////tab//if(e.value!=sVendorID) {//crlf////tab////tab////tab////tab//document.getElementById(salt+\\quot\\VendorIDParam\\quot\\).value=sVendorID;//crlf////tab////tab////tab//};//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab////if a vendor is not selected\\comma\\ hide the table//crlf////tab////tab////tab//if((sVendorID==\\quot\\0\\quot\\) ~~pipe~~~~pipe~~ (sVendorID.equalsIgnoreCase(\\quot\\select\\quot\\)) ~~pipe~~~~pipe~~ (sVendorID.length==0)) {//crlf////tab////tab////tab////tab//setVisible(salt+\\quot\\InvoiceDetailTableContainer\\quot\\\\comma\\false);//crlf////tab////tab////tab////tab//setVisible(salt+\\quot\\SelectVendor\\quot\\\\comma\\true);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab////hide the table body so a table populated for a prior dialog will not be displayed when//crlf////tab////tab////tab////tab////inserting a new record//crlf////tab////tab////tab////tab//hideInvoiceDetailsTableBody(salt);//crlf////tab////crlf////tab////tab////tab////tab//setVisible(salt+\\quot\\InvoiceDetailTableContainer\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt+\\quot\\SelectVendor\\quot\\\\comma\\false);//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab////clear the field showing the amount logged.  It will be updated when the table is loaded.//crlf////tab////tab////It is no longer necessary to set the pending submission style since the value is calculated //crlf////tab////tab////from the table and takes no time//crlf////tab////tab//var e=document.getElementById(salt+\\quot\\TotalExtendedPrice\\quot\\);//crlf////tab////tab//e.value=\\quot\\\\quot\\;//crlf////tab////tab////setPendingSubmissionStyle(e\\comma\\false\\comma\\true);//crlf////crlf////tab////tab////hide the icon that indicates the amount logged equals the invoice amount//crlf////tab////tab//setVisible(salt+\\quot\\LoggedAmountMatchesIcon\\quot\\\\comma\\false);//crlf////crlf////tab////tab//var InvoiceID=document.getElementById(salt+\\quot\\InvoiceID\\quot\\).value;//crlf////tab////tab//var StoreID=document.getElementById(salt+\\quot\\StoreID\\quot\\).value;//crlf////crlf////tab////tab////Update the Edit_Count and Date_Last_Edited values for the invoice record.  These//crlf////tab////tab////are used to determine if an imported invoice has been edited.  These are used to //crlf////tab////tab////let users know when an invoice has been imported but not edited or reviewed.//crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=L4HxWEciR8sT7E30IKVZXD70//amp//Widget=Import Vendor Invoice\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=action_list//amp//action=setInvoiceEditedFlag//amp//ActionExec=true\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+StoreID+\\quot\\//amp//InvoiceID=\\quot\\+InvoiceID;//crlf////tab////tab//sUrl +=\\quot\\//amp//Source=<!!!include type:expression; expression:getToken(\\quot\\AspectHashID\\quot\\)>\\quot\\;//crlf////tab////tab//asynchInclude(null\\comma\\sUrl);//crlf////crlf////tab////tab//return(true);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//This function is called from the initialization function above.  It hides //crlf////tab//the table body when the dialog is first opened so a table from a previous //crlf////tab//invoice will not be displayed while the table is refreshed.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function hideInvoiceDetailsTableBody(salt) {//crlf////tab////tab//var ePriorTable=document.getElementById(salt);//crlf////tab////tab//if(ePriorTable) {//crlf////tab////tab////tab//if(ePriorTable.tBodies[0]) {//crlf////tab////tab////tab////tab//setVisible(ePriorTable.tBodies[0]\\comma\\false);//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when a vendor is selected in the edit invoice dialog//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function vendorSelected(salt\\comma\\DialogOpening) //crlf////tab//{//crlf////tab////tab//var sVendorID=document.getElementById(salt+\\quot\\VendorID\\quot\\).value;//crlf////crlf////tab////tab////show the table of invoice details//crlf////tab////tab//setVisible(salt+\\quot\\InvoiceDetailTableContainer\\quot\\\\comma\\true);//crlf////tab////tab//setVisible(salt+\\quot\\SelectVendor\\quot\\\\comma\\false);//crlf////crlf////tab////tab////set the value of the external driver param used to pass the Vendor ID to the details table//crlf////tab////tab//var e=document.getElementById(salt+\\quot\\VendorIDParam\\quot\\);//crlf////tab////tab//if(e.value!=sVendorID) {//crlf////tab////tab////tab//document.getElementById(salt+\\quot\\VendorIDParam\\quot\\).value=sVendorID;//crlf////tab////tab////tab////removed Feb 2018//crlf////tab////tab////tab////refreshTable(salt);//crlf////tab////tab//}//crlf////crlf////tab////tab////update the datalists associated with the item input field in the invoice detail dialog//crlf////tab////tab////This includes the vendor code in the item name and sets the contents of the 2nd datalist//crlf////tab////tab////to only items supplied by the selected vendor//crlf////tab////tab//updateItemDatalists(salt);//crlf////crlf////tab////tab////set the default due date//crlf////tab////tab//setDueDate(salt);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//The tables used to get the vendor\\comma\\ invoice date\\comma\\ etc at the top of the //crlf////tab//invoice are displayed inline when the screen size descreases. //crlf////tab////crlf////tab//This function Sets the width of the first td cell in each row to the maximum width of any //crlf////tab//of the first td cells in a row.  This is used to standardize the width of the //crlf////tab//first td cell in each row when the table is displayed inline//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function setInvoiceTDWidths(DialogID) {//crlf////tab////tab//var arTable=new Array();//crlf////tab////tab//arTable[0]=document.getElementById(DialogID+\\quot\\InvoiceDialogTable1\\quot\\);//crlf////tab////tab//arTable[1]=document.getElementById(DialogID+\\quot\\InvoiceDialogTable2\\quot\\);//crlf////tab////tab//arTable[2]=document.getElementById(DialogID+\\quot\\InvoiceDialogTable3\\quot\\);//crlf////tab////tab//arTable[3]=document.getElementById(DialogID+\\quot\\InvoiceDialogTable4\\quot\\);//crlf////crlf////tab////tab//if(arTable[0].getAttribute(\\quot\\TDWidthInitialized\\quot\\)) return;//crlf////tab////tab//arTable[0].setAttribute(\\quot\\TDWidthInitialized\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////crlf////tab////tab//var iMaxWidth=0;//crlf////tab////tab//for(var i=0;i<arTable.length;i++) {//crlf////tab////tab////tab//for(var j=0;j<arTable[i].rows.length;j++) {//crlf////tab////tab////tab////tab//iMaxWidth=Math.max(iMaxWidth\\comma\\arTable[i].rows[j].cells[0].offsetWidth);//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab////add some more padding//crlf////tab////tab////iMaxWidth+=10;//crlf////crlf////tab////tab//for(var i=0;i<arTable.length;i++) {//crlf////tab////tab////tab//for(var j=0;j<arTable[i].rows.length;j++) {//crlf////tab////tab////tab////tab//arTable[i].rows[j].cells[0].style.width=iMaxWidth+\\quot\\px\\quot\\;//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//This listener function is called by the refreshTableOnInterval() function //crlf////tab//when a table has been refreshed by merging new or modified records into //crlf////tab//the table//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function tableRefreshedOnInterval__salt__(TableID) {//crlf////tab////tab////show the total amount entered on the invoice//crlf////tab////tab//getTotalAmountEnteredFromTable(TableID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when data is submitted for the invoice detail table//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function tableDataSubmitted__salt__(TableID) {//crlf////tab////tab//var e=document.getElementById(TableID+\\quot\\TotalExtendedPrice\\quot\\);//crlf////tab////tab////setPendingSubmissionStyle(e\\comma\\false\\comma\\true);//crlf////crlf////tab////tab////update the total logged field in the invoice header.  A timeout is used so//crlf////tab////tab////processing of the data submission will not be interrupted if an error occurs//crlf////tab////tab//setTimeout(\\quot\\getTotalAmountEnteredFromTable('\\quot\\+TableID+\\quot\\')\\quot\\\\comma\\100);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when data has been submitted to the table and all submissions are complete.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function tableDataSubmissionComplete__salt__(TableID) {//crlf////tab////tab////alert(\\quot\\tableDataSubmissionComplete__salt__\\quot\\);//crlf////crlf////tab////tab////update the total logged field in the invoice header.  A timeout is used so//crlf////tab////tab////processing of the data submission will not be interrupted if an error occurs//crlf////tab////tab//setTimeout(\\quot\\getTotalAmountEnteredFromTable('\\quot\\+TableID+\\quot\\')\\quot\\\\comma\\100);//crlf////crlf////tab////tab////This is no longer used as of 2/2018.  It creates too many calls when working remotely //crlf////tab////tab////through the server.  It shouldn't be necessary either if the amount is displayed in //crlf////tab////tab////the table.//crlf////tab////tab//if(false) {//crlf////tab////tab////tab////Set the submission style to indicate that the total needs to be updated.//crlf////tab////tab////tab////However\\comma\\ only update the field when there are no outstanding submissions for the table.//crlf////tab////tab////tab////This function is called whenever a data submission has been completed\\comma\\ not just when//crlf////tab////tab////tab////all submissions are complete.  Calling the getTotalAmountEntered() function creates//crlf////tab////tab////tab////a burden when editing invoices on a remote computer.//crlf////tab////tab////tab//var e=document.getElementById(TableID+\\quot\\TotalExtendedPrice\\quot\\);//crlf////tab////tab////tab////setPendingSubmissionStyle(e\\comma\\false\\comma\\true);//crlf////tab////tab////tab//if(countPendingSubmissions(TableID)==0)//tab//getTotalAmountEntered(TableID);//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Calculates the total extended price for all items entered on the invoice.//crlf////tab//This function is called by the tableDataSubmitted listener.//crlf////tab//This function updates the logged amount more quickly than making a call to the//crlf////tab//source computer.  It will abort if the extended_price (amount) field is not //crlf////tab//included in the table.  The call is still made to getTotalAmountEntered() //crlf////tab//when all submissions are complete so the amount will be updated even if this//crlf////tab//function fails.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function getTotalAmountEnteredFromTable(TableID) {//crlf////tab////tab////appendToLog(\\quot\\getTotalAmountEnteredFromTable: \\quot\\+TableID);//crlf////tab////tab//var table=document.getElementById(TableID);//crlf////tab////tab//if(!table) return;//crlf////crlf////tab////tab//var arFieldID=getSubStringArray(table.getAttribute(\\quot\\aspectFields\\quot\\)\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\true);//crlf////tab////tab////appendToLog(\\quot\\arFieldID=\\quot\\+arFieldID);//crlf////crlf////tab////tab////get first row in table not including template//crlf////tab////tab//var row=null;//crlf////tab////tab//for (var i=0;(!row) //amp////amp// (i<table.rows.length);i++) {//crlf////tab////tab////tab//if(table.rows[i].getAttribute(\\quot\\keyvalue\\quot\\)) {//crlf////tab////tab////tab////tab//row=table.rows[i];//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab////tab////crlf////tab////tab////abort if row not found//crlf////tab////tab//if(!row) {//crlf////tab////tab////tab//console.log(\\quot\\Could not locate first row in table\\quot\\);//crlf////tab////tab////tab////appendToLog(\\quot\\Could not locate first row in table\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////determine the cell containing the amount//crlf////tab////tab//var iCellIndex=-1;//crlf////tab////tab//for (var i=0;i<arFieldID.length;i++) {//crlf////tab////tab////tab//if(arFieldID[i].equalsIgnoreCase(\\quot\\Extended_Price\\quot\\)) {//crlf////tab////tab////tab////tab//iCellIndex=i;//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab////this was the old method.  It does not work when fields are added to the table.//crlf////tab////tab//if(false) {//crlf////tab////tab////tab//for (var i=0;i<row.cells.length;i++) {//crlf////tab////tab////tab////tab//var sCellIndex=row.cells[i].getAttribute(\\quot\\CellIndex\\quot\\);//crlf////tab////tab////tab////tab//if(sCellIndex) {//crlf////tab////tab////tab////tab////tab//var iCellIndex=parseInt(sCellIndex);//crlf////tab////tab////tab////tab////tab//var sFieldID=arFieldID[iCellIndex];//crlf////tab////tab////tab////tab////tab//if(sFieldID) {//crlf////tab////tab////tab////tab////tab////tab//if(sFieldID.equalsIgnoreCase(\\quot\\Extended_Price\\quot\\)) {//crlf////tab////tab////tab////tab////tab////tab////tab//iCellIndex=i;//crlf////tab////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab//if(iCellIndex<0) {//crlf////tab////tab////tab//console.log(\\quot\\Could not determine cell containing amount\\quot\\);//crlf////tab////tab////tab////appendToLog(\\quot\\Could not determine cell containing amount\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////adjust the index to allow for the edit icon and inspect menu//crlf////tab////tab//iCellIndex+=3;//crlf////tab////tab////appendToLog(\\quot\\getTotalAmountEnteredFromTable iCellIndex=\\quot\\+iCellIndex)//crlf////crlf////tab////tab//var dAmount=0;//crlf////tab////tab//for(var i=0;i<table.rows.length;i++) {//crlf////tab////tab////tab//if(table.rows[i].getAttribute(\\quot\\keyvalue\\quot\\)) {//crlf////tab////tab////tab////tab//var eNode=table.rows[i].cells[iCellIndex].childNodes[0];//crlf////tab////tab////tab////tab//var s=replaceAllSubstrings(eNode.innerHTML\\comma\\\\quot\\//amp//nbsp;\\quot\\\\comma\\\\quot\\\\quot\\).trim();//crlf////tab////tab////tab////tab//var s=replaceAllSubstrings(s\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\quot\\);//crlf////tab////tab////tab////tab////appendToLog(\\quot\\eNode.type=\\quot\\+eNode.type+\\quot\\ innerHTML=\\quot\\+eNode.innerHTML+\\quot\\ s=\\quot\\+s);//crlf////tab////tab////tab////tab//if(s.length>0) {//crlf////tab////tab////tab////tab////tab//var d=parseFloat(s);//crlf////tab////tab////tab////tab////tab//dAmount+=d;//crlf////tab////tab////tab////tab////tab//dAmount=Math.round(dAmount*100)/100;//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Adding extended price1: [\\quot\\+s+\\quot\\] d=\\quot\\+d+\\quot\\ dAmount=\\quot\\+dAmount);//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab////appendToLog(\\quot\\dAmount=\\quot\\+dAmount);//crlf////tab////tab//var e=document.getElementById(TableID+\\quot\\TotalExtendedPrice\\quot\\);//crlf////tab////tab//e.value=formatNumber(dAmount\\comma\\\\quot\\//pound////pound////pound//\\comma\\//pound////pound////pound//.00\\quot\\);//crlf////tab////tab////setPendingSubmissionStyle(e\\comma\\false\\comma\\false);//crlf////crlf////tab////tab////show icon indicating that logged amount equals invoice amount//crlf////tab////tab//var eInvoiceAmount=document.getElementById(TableID+\\quot\\InvoiceAmount\\quot\\);//crlf////tab////tab//var dInvoiceAmount=parseFloat(eInvoiceAmount.value);//crlf////tab////tab////appendToLog(\\quot\\dInvoiceAmount=\\quot\\+dInvoiceAmount+\\quot\\ dAmount=\\quot\\+dAmount);//crlf////tab////tab//setVisible(TableID+\\quot\\LoggedAmountMatchesIcon\\quot\\\\comma\\dInvoiceAmount==dAmount);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Makes a call to the server to get the total extended price for all items entered on the invoice.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function getTotalAmountEntered(TableID\\comma\\LastInvoiceID\\comma\\s) {//crlf////tab////tab//appendToLog(\\quot\\getTotalAmountEntered s=\\quot\\+s);//crlf////tab////tab//printStackTrace();//crlf////tab////tab//var e=document.getElementById(TableID+\\quot\\TotalExtendedPrice\\quot\\);//crlf////crlf////tab////tab//var table=document.getElementById(TableID);//crlf////tab////tab//var sParamsActive=table.getAttribute(\\quot\\paramsactive\\quot\\);//crlf////tab////tab//var sStoreID=getElementValue(sParamsActive\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sInvoiceID=getElementValue(sParamsActive\\comma\\\\quot\\InvoiceID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sDate=getElementValue(sParamsActive\\comma\\\\quot\\Date\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sSource=table.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab//if(s) {//crlf////tab////tab////tab////don't update the amount if the dialog has been opened for a different invoice//crlf////tab////tab////tab//if(sInvoiceID==LastInvoiceID) {//crlf////tab////tab////tab////tab//setPendingSubmissionStyle(e\\comma\\false\\comma\\false);//crlf////tab////tab////tab////tab//var d=parseFloat(s);//crlf////tab////tab////tab////tab//if(isNaN(d)) d=0;//crlf////tab////tab////tab////tab//e.value=formatNumber(d\\comma\\\\quot\\//pound////pound////pound////pound////pound////pound//.00\\quot\\);//crlf////tab////tab////tab//};//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//setPendingSubmissionStyle(e\\comma\\false\\comma\\true);//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?network=greenlight//amp//id=getWidget\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Invoice Detail Summary\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//ContainerItemID=sensor_list//amp//sensor=getTotalExtendedPrice//amp//SensorExec=true\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//StoreID=\\quot\\+sStoreID+\\quot\\//amp//InvoiceID=\\quot\\+sInvoiceID+\\quot\\//amp//Date=\\quot\\+sDate+\\quot\\//amp//Source=\\quot\\+sSource;//crlf////tab////tab////alert(\\quot\\sUrl=\\quot\\+sUrl);//crlf////crlf////tab////tab//var sFunc=\\quot\\getTotalAmountEntered(\\\quot\\\\quot\\+TableID+\\quot\\\\\quot\\\\comma\\\\\quot\\\\quot\\+sInvoiceID+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////appendToLog(\\quot\\getTotalAmountEntered url=\\quot\\+sUrl);//crlf////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//This function updates the two datalists associated with the item input field in the //crlf////tab//invoice detail dialog.  One datalist contains all items and the other contains only //crlf////tab//items purchased from the selected vendor.  Both lists include the vendor code in the //crlf////tab//item name.  The lists are updated by reading from the master list in the invoice dialog.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//var LastUpdateVendorID=\\quot\\not defined\\quot\\;//crlf////tab//var LastIncludeInactive=false;//crlf////crlf////tab//function updateItemDatalists(salt)//crlf////tab//{//crlf////tab////tab////console.log(\\quot\\updateItemDatalists salt=\\quot\\+salt);//crlf////crlf////tab////tab////get the datalists associated with the item input field in the invoice detail dialog//crlf////tab////tab//var elist1=document.getElementById(salt+\\quot\\InvoiceDetailSelectItem\\quot\\);//crlf////tab////tab//var elist2=document.getElementById(salt+\\quot\\InvoiceDetailSelectItemAlt\\quot\\);//crlf////tab////tab//if(!elist1) {//crlf////tab////tab////tab//appendToLog(\\quot\\updateItemDatalists: cannot locate datalists: \\quot\\+salt+\\quot\\InvoiceDetailSelectItem\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////tab////tab//if(!elist2) {//crlf////tab////tab////tab//appendToLog(\\quot\\updateItemDatalists: cannot locate datalists: \\quot\\+salt+\\quot\\InvoiceDetailSelectItemAlt\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////get the currently selected vendor ID//crlf////tab////tab//var sVendorID=document.getElementById(salt+\\quot\\VendorID\\quot\\).value;//crlf////crlf////tab////tab////determine if inactive items should be included//crlf////tab////tab//bIncludeInactive=false;//crlf////tab////tab//var eInactive=document.getElementById(salt+\\quot\\ShowInactiveItems\\quot\\);//crlf////tab////tab//if(eInactive) bIncludeInactive=eInactive.checked;//crlf////crlf////tab////tab////console.log(\\quot\\updateItemDatalists sVendorID=\\quot\\+sVendorID+\\quot\\ Last=\\quot\\+LastUpdateVendorID+\\quot\\ len=\\quot\\+elist1.options.length);//crlf////tab////tab//if((sVendorID==LastUpdateVendorID) //amp////amp// (bIncludeInactive==LastIncludeInactive) //amp////amp// (elist1.options.length>1)) {//crlf////tab////tab////tab//console.log(\\quot\\aborting updateItemDatalists because vendor has not changed: [\\quot\\+sVendorID+\\quot\\]\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////get the master list of items//crlf////tab////tab//var eItemList=document.getElementById(salt+\\quot\\DefaultPurchaseInfo\\quot\\);//crlf////tab////tab//if(!eItemList) {//crlf////tab////tab////tab//appendToLog(\\quot\\updateItemDatalists: cannot locate: \\quot\\+salt+\\quot\\DefaultPurchaseInfo\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////appendToLog(\\quot\\Adding \\quot\\+eItemList.options.length+\\quot\\ items to item datalist\\quot\\);//crlf////tab////tab//var sList1=\\quot\\\\quot\\;//crlf////tab////tab//var sList2=\\quot\\\\quot\\;//crlf////tab////tab//var cAdded1=0;//crlf////tab////tab//var cAdded2=0;//crlf////tab////tab//for(var i=0;i<eItemList.options.length;i++) {//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//The format of options is //crlf////tab////tab////tab////tab//<option value=\\quot\\[ItemID]\\quot\\>//crlf////tab////tab////tab////tab////tab//Item ID~~pipe~~Name\\comma\\//crlf////tab////tab////tab////tab////tab//vendor1 ID]vendor1 size prefix~~pipe~~vendor1 size unit~~pipe~~vendor1 price~~pipe~~vendor1 size~~pipe~~Vendor 1 Code\\comma\\//crlf////tab////tab////tab////tab////tab//vendor2 ID]vendor2 size prefix~~pipe~~vendor2 size unit~~pipe~~vendor2 price~~pipe~~vendor2 size~~pipe~~Vendor 1 Code\\comma\\//crlf////tab////tab////tab////tab////tab//vendor3 ID]vendor3 size prefix~~pipe~~vendor3 size unit~~pipe~~vendor3 price~~pipe~~vendor3 size~~pipe~~Vendor 1 Code//crlf////tab////tab////tab////tab//</option>//crlf////crlf////tab////tab////tab////tab//e.g. <option value=\\quot\\844\\quot\\>844~~pipe~~SPRITE\\comma\\1~~pipe~~1~~pipe~~16~~pipe~~77.52~~pipe~~ Case~~pipe~~4004362\\comma\\35~~pipe~~1~~pipe~~16~~pipe~~88.94~~pipe~~ Case~~pipe~~\\comma\\22~~pipe~~1~~pipe~~16~~pipe~~73.25~~pipe~~ Case~~pipe~~</option>//tab////tab////tab////crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab//var arInfo=getSubStringArray(eItemList.options[i].text\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////crlf////tab////tab////tab////get the item name and ID//crlf////tab////tab////tab//var a=getSubStringArray(arInfo[0]\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab//if((bIncludeInactive) ~~pipe~~~~pipe~~ (a[0].toUpperCase().indexOf(\\quot\\[INACTIVE]\\quot\\)<0)) {//crlf////tab////tab////tab////tab//var sItemName=replaceAllSubstrings(a[0]\\comma\\\\quot\\\x22\\quot\\\\comma\\\\quot\\\x27\\quot\\);//crlf////tab////tab////tab////tab//sItemName=replaceAllSubstrings(sItemName\\comma\\\\quot\\//power//c\\quot\\\\comma\\\\quot\\\x2C\\quot\\);//crlf////tab////tab////tab////tab//sItemName=replaceAllSubstrings(sItemName\\comma\\\\quot\\//power//q\\quot\\\\comma\\\\quot\\//amp////pound//34;\\quot\\);//crlf////tab////tab////tab////tab//var sItemID=a[1];//crlf////tab////tab////tab////tab//var bBelongsToVendor=false;//crlf////tab////tab////tab////tab//for(var j=1;j<arInfo.length;j++) {//crlf////tab////tab////tab////tab////tab//var a=getSubStringArray(arInfo[j]\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab////tab////tab//if(a[0].equalsIgnoreCase(sVendorID)) {//crlf////tab////tab////tab////tab////tab////tab//var sCode=a[5];//crlf////tab////tab////tab////tab////tab////tab//if(sCode.trim().length>0) sItemName +=\\quot\\ [\\quot\\+sCode+\\quot\\]\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//bBelongsToVendor=true;//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab////<option aspectid=\\quot\\1075\\quot\\ value=\\quot\\American Block\\quot\\></option>//crlf////tab////tab////tab////tab//var sOption=\\quot\\<option aspectid=\\\quot\\\\quot\\+sItemID+\\quot\\\\\quot\\ value=\\\quot\\\\quot\\+sItemName+\\quot\\\\\quot\\></option>\\quot\\;//crlf////crlf////tab////tab////tab////tab//sList1+=sOption+\\quot\\\r\n\\quot\\;//crlf////tab////tab////tab////tab//cAdded1++;//crlf////crlf////tab////tab////tab////tab//if(bBelongsToVendor) {//crlf////tab////tab////tab////tab////tab//sList2+=sOption+\\quot\\\r\n\\quot\\;//crlf////tab////tab////tab////tab////tab//cAdded2++;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab//elist1.innerHTML=sList1;//crlf////tab////tab//elist2.innerHTML=sList2;//crlf////crlf////tab////tab//LastUpdateVendorID=sVendorID;//crlf////tab////tab//LastIncludeInactive=bIncludeInactive;//crlf////tab////tab////console.log(\\quot\\Set LastUpdateVendorID=\\quot\\+LastUpdateVendorID+\\quot\\ LastIncludeInactive=\\quot\\+LastIncludeInactive+\\quot\\ Added1=\\quot\\+cAdded1+\\quot\\ Added2=\\quot\\+cAdded2);//crlf////crlf////tab////tab////appendToLog(salt+\\quot\\InvoiceDetailSelectItem.innerHTML len=\\quot\\+elist1.innerHTML.length);//crlf////tab////tab////appendToLog(salt+\\quot\\InvoiceDetailSelectItemAlt.innerHTML len=\\quot\\+elist2.innerHTML.length);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//This function is called after the alternate item list containing items supplied//crlf////tab//by the selected vendor is updated.  The update is initiated by vendorSelected() //crlf////tab//when the vendor selection changes.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function updatesInvoiceDetailSelectItemAlt(salt) {//crlf////tab////tab//alert(\\quot\\updatesInvoiceDetailSelectItemAlt: \\quot\\+salt);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Initializes an invoice by adding all items purchased from the selected //crlf////tab//vendor to the invoice details.  The items are determined by past invoices//crlf////tab//and are sorted in the order they appear on past invoices//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function initializeDefaultInvoice(TableID\\comma\\s) {//crlf////tab////tab//if(s) {//crlf////tab////tab////tab//refreshTable(TableID\\comma\\\\quot\\refresh\\quot\\);//crlf////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//var eTable=document.getElementById(TableID);//crlf////tab////tab//var sTableParams=eTable.getAttribute(\\quot\\AspectParamsActive\\quot\\);//crlf////tab////tab//var sStoreID=getElementValue(sTableParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sInvoiceID=getElementValue(sTableParams\\comma\\\\quot\\InvoiceID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////tab////tab////alert(\\quot\\initializeDefaultInvoice: \\quot\\+TableID+\\quot\\ StoreID=\\quot\\+sStoreID+\\quot\\ InvoiceID=\\quot\\+sInvoiceID);//crlf////crlf////tab////tab////call the agent action used to initialize the invoice details//crlf////tab////tab//showDialog(\\quot\\icon=true//amp//msg=Initializing invoice...\\quot\\);//crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=greenlight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Invoice Detail Summary\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//ContainerItemID=action_list\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//Action=initializeDefaultInvoice//amp//ActionExec=true\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//StoreID=\\quot\\+sStoreID+\\quot\\//amp//InvoiceID=\\quot\\+sInvoiceID;//crlf////tab////tab//sUrl+=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab////tab//sFunc=\\quot\\initializeDefaultInvoice(\\\quot\\\\quot\\+TableID+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab//};//crlf////crlf////tab//function setDueDate(salt) {//crlf////tab////tab//var eNetDue=document.getElementById(salt+\\quot\\NetDueDays\\quot\\);//crlf////tab////tab//var eDate=document.getElementById(salt+\\quot\\InvoiceDate\\quot\\);//crlf////tab////tab//var eDueDate=document.getElementById(salt+\\quot\\InvoiceDueDate\\quot\\);//crlf////tab////tab////crlf////tab////tab//var eVendorID=document.getElementById(salt+\\quot\\VendorID\\quot\\);//crlf////tab////tab//if(eVendorID.value!=\\quot\\0\\quot\\) {//crlf////tab////tab////tab//var eNetDueDaysCollection=document.getElementById(salt+\\quot\\NetDueDaysColl\\quot\\);//crlf////crlf////tab////tab////tab//var NetDueDays=getOptionValue(eNetDueDaysCollection\\comma\\eVendorID.value);//crlf////tab////tab////tab//if(NetDueDays) {//crlf////tab////tab////tab////tab//if(NetDueDays>0) {//crlf////tab////tab////tab////tab////tab//var t1=new Date(eDate.value);//crlf////tab////tab////tab////tab////tab////for some reason\\comma\\ it's necessary to add 1 to the number of days//crlf////tab////tab////tab////tab////tab//eDueDate.value=formatDate(new Date(t1.getTime()+(parseInt(NetDueDays)+1)*1440*60*1000)\\comma\\\\quot\\yyyy-MM-dd\\quot\\);//crlf////tab////tab////tab////tab////tab//submitDialogCell(eDueDate);//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//};//crlf//</script>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Display inputs at the top of the invoice (vendor\\comma\\ date\\comma\\ etc) inline when //crlf//the screen width is small.//crlf//--------------------------------------------------------------------------]//crlf//<style ID=\\quot\\CSSAspect_Back_Office_Invoice_Dialog\\quot\\>//crlf////tab//table.invoice_dialog1 tr {display:table-row;margin-right:0px;}//crlf////tab//@media only screen and (min-width:700px) {//crlf////tab////tab///* when the minimum width is 700px\\comma\\ display the table rows inline *///crlf////tab////tab//table.invoice_dialog1 tr {display:inline;margin-right:10px;}//crlf////tab//}//crlf//</style>//crlf////crlf//<!-- Dialog used to edit a record -->//crlf//<!conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div ID=\\quot\\Aspect_Back_Office_Invoice__DialogID__\\quot\\ DialogIDSalt=\\quot\\__DialogID__\\quot\\ salt=\\quot\\__salt__\\quot\\ aspectinit=\\quot\\invoiceDialogOpened\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:850px; border:none; display:block;\\quot\\>//crlf//</conditional>//crlf//<!conditional expression:not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div ID=\\quot\\Aspect_Back_Office_Invoice__DialogID__\\quot\\ DialogIDSalt=\\quot\\__DialogID__\\quot\\ salt=\\quot\\__salt__\\quot\\ aspectinit=\\quot\\invoiceDialogOpened\\quot\\ class=\\quot\\default_table_dialog\\quot\\ AdjustHeight=\\quot\\false\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:650px; display:<!!include type:expression; expression:if(not(defined(\\quot\\__DialogID__\\quot\\))\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>;\\quot\\>//crlf//</conditional>//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//<!conditional expression:not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//<div ID=\\quot\\Aspect_Back_Office_Invoice__salt__\\quot\\ class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this);closeTableEditDialog(document.getElementById('Aspect_Back_Office_Invoice_Detail__salt__'))\\quot\\></div>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<!-- Used as an external filter in the details table -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\InvoiceID__DialogID__\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\__InvoiceID__\\quot\\ expression=\\quot\\InvoiceID='$value$'\\quot\\ param=\\quot\\InvoiceID=$value$\\quot\\>//crlf////crlf////tab////tab//<!-- //crlf////tab////tab////tab////tab//Used as an external driver param in the details table //crlf////tab////tab////tab////tab//Invoices are recorded in a dated file based on the date the invoice is ENTERED\\comma\\//crlf////tab////tab////tab////tab//not on the date the invoice is applied to for cost of sales calculations.//crlf////tab////tab////tab////tab//This avoids having to move details from one file to another if the date of the//crlf////tab////tab////tab////tab//invoice is changed.//crlf////tab////tab//-->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\DateEntered__DialogID__\\quot\\ name=\\quot\\Date_Entered\\quot\\ param=\\quot\\Date=$value$\\quot\\>//crlf////tab////tab////crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\InvoiceDialogSalt\\quot\\ value=\\quot\\__salt__\\quot\\>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//These inputs are used by the invoiceDialogOpened() function to set the Edited flag in the //crlf////tab////tab//invoice record.  This flag is used to determine when an invoice has been imported//crlf////tab////tab//but not edited.//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__StoreID\\quot\\ value=\\quot\\__StoreID__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__InvoiceID\\quot\\ name=\\quot\\ID\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__HasDetails\\quot\\ name=\\quot\\Has_Details\\quot\\>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//These fields are used to determine if a prompt should be given when a price changes//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__PromptOnPriceChange\\quot\\ value=\\quot\\<!!include type:expression; expression:lookup(Aspect_BackOffice_Store_Prompt_On_Invoice_Price_Change\\comma\\\\quot\\__StoreID__\\quot\\)>\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__PromptOnPriceChangePcnt\\quot\\ value=\\quot\\<!!include type:expression; expression:lookup(Aspect_BackOffice_Store_Prompt_On_Invoice_Price_Change_Pcnt\\comma\\\\quot\\__StoreID__\\quot\\)>\\quot\\>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//This is a hidden field used to set the default due date//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<input ID=\\quot\\__salt__NetDueDays\\quot\\ type=\\quot\\hidden\\quot\\ name=\\quot\\Default_Net_Due_Days\\quot\\></input>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//This field is used to record the time that the dialog is opened.  It is used by the//crlf////tab////tab//tableRefreshed() function to record the amount of time required to fully initialize the dialog//crlf////tab////tab//--------------------------------------------------------------------------]//tab////tab////tab////tab////tab////crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__TimeOpened\\quot\\ value=0>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//This is a hidden collection used to get the default purchase size and price//crlf////tab////tab//when an item is selected in the invoice detail//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:Collection;//crlf////tab////tab////tab//ID:\\quot\\__salt__DefaultPurchaseInfo\\quot\\;//crlf////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Default_Purchase_Info_2018\\quot\\;//crlf////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\style='display:none'\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\Record_Type=1\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//This is a hidden collection used to get the default purchase size and price//crlf////tab////tab//when an item is selected in the invoice detail//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:Collection;//crlf////tab////tab////tab//ID:\\quot\\__salt__NetDueDaysColl\\quot\\;//crlf////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Vendor_Net_Due_Days_by_ID\\quot\\;//crlf////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\style='display:none'\\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////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab//>//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\\>Edit Invoice</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'>Edit Invoice</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//<div style=\\quot\\float:left\\quot\\>//crlf////tab////tab////tab////tab//<table ID=\\quot\\__DialogID__InvoiceDialogTable1\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Vendor</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Vendor_Names_By_ID_With_Select\\quot\\\\comma\\\\quot\\VendorID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID='__salt__VendorID' class=\\quot\\+quote(\\quot\\long\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\vendorSelected(\\quot\\+quote(\\quot\\__salt__\\quot\\\\comma\\char(0x27))+\\quot\\)\\quot\\+char(0x3B)+\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Number</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ID=\\quot\\__salt__InvoiceNumber\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class=\\quot\\long\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Number\\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////tab//<div style=\\quot\\float:left\\quot\\>//crlf////tab////tab////tab////tab//<table ID=\\quot\\__DialogID__InvoiceDialogTable2\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Date</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ID=\\quot\\__salt__InvoiceDate\\quot\\ ONBLUR=\\quot\\submitDialogCell(this);setDueDate('__salt__')\\quot\\ class=\\quot\\date\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Date\\quot\\ TYPE=\\quot\\date\\quot\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\yyyy-MM-dd\\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>Due</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ID=\\quot\\__salt__InvoiceDueDate\\quot\\ ONBLUR=\\quot\\submitDialogCell(this)\\quot\\ class=\\quot\\date\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Due_Date\\quot\\ TYPE=\\quot\\date\\quot\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\yyyy-MM-dd\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////tab////tab////tab//<div style=\\quot\\float:left\\quot\\>//crlf////tab////tab////tab////tab//<table ID=\\quot\\__DialogID__InvoiceDialogTable3\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Amount</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ID=\\quot\\__salt__InvoiceAmount\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this);getTotalAmountEnteredFromTable('__salt__')\\quot\\ class=\\quot\\number\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Amount\\quot\\ TYPE=\\quot\\number\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Logged</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input type=\\quot\\number\\quot\\ class=\\quot\\number\\quot\\ style=\\quot\\text-align:right;background-color://pound//efefef\\quot\\ readonly=\\quot\\readonly\\quot\\ ID=\\quot\\__salt__TotalExtendedPrice\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab//<span ID=\\quot\\__salt__LoggedAmountMatchesIcon\\quot\\ class=\\quot\\done\\quot\\ style=\\quot\\display:none;line-height:18px;padding:10px\\quot\\></span>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////tab////tab////tab//<div style=\\quot\\clear:both;position:relative;top:-5px\\quot\\>//crlf////tab////tab////tab////tab//<table ID=\\quot\\__DialogID__InvoiceDialogTable4\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Check</td>//crlf////tab////tab////tab////tab////tab////tab//<td {@htmlTooltip(\\quot\\Optional.  Check number the invoice was paid by\\quot\\)}>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ class=\\quot\\long\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Check_Number\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Paid\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Paid//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////tab////tab////tab//<div style=\\quot\\clear:both\\quot\\>//crlf////tab////tab////tab////tab//<constant name:\\quot\\__tooltipDuplicateInvoice__\\quot\\; value: \\quot\\This message indicates that another invoice //crlf////tab////tab////tab////tab////tab//with the same vendor and invoice number already exists\\quot\\>//crlf////tab////tab////tab////tab//<span {@htmlTooltip(\\quot\\__tooltipDuplicateInvoice__\\quot\\)} name=\\quot\\Duplicate_Invoice_Message\\quot\\ style=\\quot\\font-weight:bold;color:red\\quot\\></span>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input CHECKED=\\quot\\checked\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\true\\quot\\ NAME=\\quot\\Is_Exported\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input>Exported</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab//<div style=\\quot\\clear:both\\quot\\></div>//crlf////tab////tab////tab//<hr>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//NOTE: When DialogOnly is true://crlf////crlf////tab////tab////tab//Lookup the date to be passed in the driver params.  Do this even//crlf////tab////tab////tab//if a date parameter is supplied because the date passed to the driver needs to be the //crlf////tab////tab////tab//date the invoice was ENTERED on\\comma\\ not the invoice date//crlf////crlf////tab////tab////tab//The table body for invoice details is hidden for some reason\\comma\\ possibly something to //crlf////tab////tab////tab//do with initializing the dialog.  A javascript statement is defined below to refresh//crlf////tab////tab////tab//the table after it is loaded.  Need to improve this. (04-13-2016)//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<!conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab////tab//<!!include type:expression; expression:htmlConstant(\\quot\\DateEntered\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lookup(Aspect_BackOffice_Lookup_Invoice_Date_Entered_By_ID\\comma\\\\quot\\__InvoiceID__\\quot\\\\comma\\0\\comma\\\\quot\\StoreID=__StoreID__\\quot\\))>//crlf////tab////tab////tab////tab//<script ID=\\quot\\JSEditInvoiceDetail\\quot\\>//crlf////tab////tab////tab////tab//  refreshTable('__salt__'\\comma\\'refresh'); //crlf////tab////tab////tab////tab//</script>//crlf////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab//<div ID=\\quot\\__salt__SelectVendor\\quot\\ style=\\quot\\height:400px\\quot\\>//crlf////tab////tab////tab////tab//<p>Select a vendor...</p>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<div ID=\\quot\\__salt__InvoiceDetailTableContainer\\quot\\ style=\\quot\\display:none\\quot\\>//crlf////tab////tab////tab////tab//<div ID=\\quot\\__salt__InvoiceItems\\quot\\>//crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//This is an external driver param used to pass the selected Vendor ID to the table//crlf////tab////tab////tab////tab////tab//of invoice details.  This is used to add the vendor's item code to the item name//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__VendorIDParam\\quot\\ name=\\quot\\VendorID\\quot\\ param=\\quot\\VendorID=$value$\\quot\\>//crlf////crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//Don't limit the height of the table when DialogOnly is true.  Relative positioning//crlf////tab////tab////tab////tab////tab//is used to ensure the dialog used to edit a record is positioned properly.//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<!conditional expression:(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab//<div style=\\quot\\width:100\\percent\\;border:none;\\quot\\>//crlf////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab//<!conditional expression:(not(\\quot\\__DialogOnly__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab////tab//Previously\\comma\\ the div below was used to limit the height of the div containing the //crlf////tab////tab////tab////tab////tab////tab//table.  Now\\comma\\ the height is set to auto and the scrollIntoView() function is called//crlf////tab////tab////tab////tab////tab////tab//when an invoice detail dialog is opened to scroll the dialog into view.//crlf////crlf////tab////tab////tab////tab////tab////tab//It still works properly if this div is enabled.  However\\comma\\ the table controls are//crlf////tab////tab////tab////tab////tab////tab//scrolled out of view and it is not as clean.//crlf////crlf////tab////tab////tab////tab////tab////tab//The AdjustHeight attribute has been added to the dialog.  This causes the //crlf////tab////tab////tab////tab////tab////tab//showTableEditDialog() function to skip setting the dialog's height to a fixed value //crlf////tab////tab////tab////tab////tab////tab//to accommodate the tabs.  This means that the height of the dialog will change if //crlf////tab////tab////tab////tab////tab////tab//it contains tabs and the heights of each tab are not identical (which they're not).//crlf////crlf////tab////tab////tab////tab////tab////tab//<div style=\\quot\\position:relative;width:100\\percent\\;height:400px;overflow:auto;border:none;\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab////tab//<div style=\\quot\\height:auto\\quot\\>//crlf////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//driver: \\quot\\Aspect_Back_Office_Invoice_Detail\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//_NoRefresh: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//state: \\quot\\getStoreDir('__StoreID__')+'invoice_detail.__DateEntered__.bin'\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//params: \\quot\\InvoiceID=__InvoiceID__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Date=__DateEntered__~~pipe~~Metadata=Aspect_Back_Office_Invoice_Detail_For_Dialog\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:defined(\\quot\\__InvoiceID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//_params: \\quot\\InvoiceID=__InvoiceID__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Date=__DateEntered__~~pipe~~Metadata=Aspect_Back_Office_Invoice_Detail_For_Dialog\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:not(defined(\\quot\\__InvoiceID__\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//_params: \\quot\\InvoiceID=Undefined~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~StoreID=__StoreID__~~pipe~~Date={@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}~~pipe~~Metadata=Aspect_Back_Office_Invoice_Detail_For_Dialog\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//keyDescription: \\quot\\Item_Name\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//display: \\quot\\Invoice Details by Invoice Order\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//filter: \\quot\\(not(//pound//InvoiceID='undefined'))\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//basefilter: \\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//(true)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:defined(\\quot\\__InvoiceID__\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//and (InvoiceID='__InvoiceID__')//crlf////tab////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//InspectMenu: \\quot\\ulcZ3KBm\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//_style: \\quot\\width:100\\percent\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//_height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//_maxheight:\\quot\\400px\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//InsertPosition: \\quot\\bottom\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//EmbedValues: \\quot\\Item_Name\\comma\\Size_Prefix\\comma\\Size_Unit\\comma\\Size\\comma\\Quantity\\comma\\Extended_Price\\comma\\ItemID\\comma\\ID\\comma\\Sort_Index\\comma\\Move\\comma\\Conversion_Is_Valid\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//EditDialogID: \\quot\\KAV7tpXDgrrC34l3qOMpj1Sy~~pipe~~Invoices 2019~~pipe~~251686~~pipe~~Aspect_Back_Office_Invoice_Detail~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:not(defined(\\quot\\__DialogOnly__\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//ExternalParams: \\quot\\__salt__VendorIDParam\\comma\\InvoiceID__DialogID__\\comma\\DateEntered__DialogID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//ExternalFilters: \\quot\\InvoiceID__DialogID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Timestamp: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Menu: \\quot\\Initialize Invoice~~pipe~~initializeDefaultInvoice\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//<!conditional expression:false>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//RefreshOnDataSubmit is set to true to provide a failsafe to make sure records are//crlf////tab////tab////tab////tab////tab////tab////tab////tab//refreshed after saving.  It appears that sometimes they are not.  The RefreshOnDataSubmit//crlf////tab////tab////tab////tab////tab////tab////tab////tab//causes the table to be refreshed after data has been submitted and there are //crlf////tab////tab////tab////tab////tab////tab////tab////tab//no pending submissions.  If the problem with records being refreshed is fixed\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//this can be disabled.//crlf////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshOnDataSubmit: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshWhenHidden: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//<!-- Add space to display the edit dialog for the last record in the table -->//crlf////tab////tab////tab////tab////tab////tab//<div style=\\quot\\height:175px\\quot\\></div>//crlf////tab////tab////tab////tab////tab//</div>//crlf////tab////tab////tab////tab//</div>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</div>//crlf////crlf//^
ID=251686|X=151|Y=33|W=798|H=590|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=983583|AttachLeft=|AlignLeft=983583|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!--servertimer=false-->//crlf//[!------------------------------------------------------------------------//crlf//Notes://crlf//09-18-2016//crlf//- The salt in this item is inherited from the edit invoice dialog that uses it //crlf////tab//as an edit dialog for items included on the invoice.  This means that salt and //crlf////tab//DialogID are interchangeable.//crlf////crlf//- In the editInvoiceDetail() function which is called when the dialog is opened\\comma\\ the//crlf////tab//DialogID represents the FULL dialog ID - e.g. Aspect_Back_Office_Invoice_Detail<salt>.//crlf////tab//In other functions\\comma\\ the DialogID parameter indicates only the salt value.  This is why //crlf////tab//the sDialogIDSalt variable is used in the editInvoiceDetail() function.//crlf////crlf//- An attribute name AmountInitialized is set in the amount field to indicate that an amount//crlf////tab//has been entered in that field manually and should be kept.  When this attribute equals false\\comma\\//crlf////tab//the amount will change when the quantity changes.  If the amount is overridden by a manual input\\comma\\ //crlf////tab//the flag will be set to true and changes in the quantity will not affect the amount.//crlf////crlf//- The select item input uses the datalist with the ID __DialogID__InvoiceDetailSelectItem.  A second //crlf////tab//datalist is created with the ID __DialogID__InvoiceDetailSelectItemAlt.  The second datalist contains //crlf////tab//only items supplied by the vendor selected in the invoice.  The showAllInvoiceDetailSelections() //crlf////tab//function is called when the \\quot\\show all items\\quot\\ checkbox is clicked to set the \\quot\\list\\quot\\ attribute in //crlf////tab//the element used to select an item to one list or the other.//crlf//--------------------------------------------------------------------------]//crlf////crlf//<!!include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__salt__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<script ID=\\quot\\JS251686\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////crlf////tab////tab//JAVASCRIPT FUNCTIONS//crlf////crlf////tab////tab//editInvoiceDetail - called when the invoice detail dialog is displayed.//crlf////tab////tab////tab//Displays the name of the imported inventory item name if the invoice was imported.//crlf////crlf////tab////tab//setInvoiceDetailTDWidths - Sets the width of the first td cell in each row to the maximum //crlf////tab////tab////tab//width of any of the first td cells in a row.  This is used to standardize the width of the //crlf////tab////tab////tab//first td cell in each row when the table is displayed inline//crlf////crlf////tab////tab//closeInvoiceDetailDialog - Called when the close icon is clicked to close the dialog.  //crlf////tab////tab////tab//Currently has no purpose except to override closing of the dialog.//crlf////crlf////tab////tab//addAnotherInvoiceDetail - Closes the current edit dialog and adds a new record//crlf////crlf////tab////tab//showAllInvoiceDetailSelections - Called when the checkbox is clicked to show all items//crlf////crlf////tab////tab//showInactiveInvoiceDetailSelections - Called when the checkbox is clicked to show inactive items//crlf////crlf////tab////tab//enableSizeEdit - Makes the purchase size editable or not by setting the visibility of the //crlf////tab////tab////tab//table rows containing the size and the inputs used to edit the size//crlf////crlf////tab////tab//getDisplayStyle - Returns the display style to be used when making a table row visible.  //crlf////tab////tab////tab//This will depend on whether the table is being displayed inline or not.//crlf////crlf////tab////tab//checkForPriceChange - Called when either the quantity or amount is changed.  Gives a //crlf////tab////tab////tab//prompt if the prices changes by more than a given percentage//crlf////crlf////tab////tab//invoiceDetailQuantityChanged - Called when the quantity is edited.  Sets the extended //crlf////tab////tab////tab//price if it does not already contain a value.//crlf////crlf////tab////tab//invoiceDetailAmountChanged - Called when the amount is edited.  Sets the AmountInitialized //crlf////tab////tab////tab//attribute in the input to True to indicate that an amount has been entered.  When this //crlf////tab////tab////tab//attribute is True\\comma\\ changes in the quantity will no longer cause adjustments to the amount.//crlf////crlf////tab////tab//invoiceDetailSizePrefixChanged - Called when the size prefix is modified//crlf////crlf////tab////tab//invoiceDetailSizeUnitChanged - Called when the size unit is modified//crlf////crlf////tab////tab//updateVendorInfo - [NOT USED] Called when the item\\comma\\ size prefix\\comma\\ size unit or price are changed.  //crlf////tab////tab////tab//Records the data in the inventory item record//crlf////crlf////tab////tab//invoiceDetailItemSelected - Called when an item is selected in the drop-down list.  Calls the //crlf////tab////tab////tab//default dataListInputChanged() Function to submit the data and then sets the purchase size //crlf////tab////tab////tab//and default price.//crlf////crlf////tab////tab//setDefaultPrice - Sets the default price for the currently selected item//crlf////crlf////tab////tab//setDefaultPurchaseSize - Sets the default purchase size for the currently selected item by looking //crlf////tab////tab////tab//up the purchase information in the hidden element containing data for all items. e is the visible //crlf////tab////tab////tab//element used to select the item.//crlf////tab//--------------------------------------------------------------------------]//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//This function is called when the invoice detail dialog is displayed.//crlf////tab//It displays the name of the imported inventory item name if the invoice was//crlf////tab//imported.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function editInvoiceDetail(DialogID\\comma\\bInitialized) {//crlf////tab////tab//var d=document.getElementById(DialogID);//crlf////tab////tab//var salt=d.getAttribute(\\quot\\salt\\quot\\);//crlf////tab////tab//var sDialogIDSalt=d.getAttribute(\\quot\\DialogIDSalt\\quot\\);//crlf////crlf////tab////tab//if(bInitialized) {//crlf////tab////tab////tab//setInvoiceDetailTDWidths(sDialogIDSalt);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////display the vendor's name for the item if the invoice was imported//crlf////tab////tab//var e=document.getElementById(salt+\\quot\\Imported_Item_Name\\quot\\);//crlf////tab////tab//var sItemName=e.value;//crlf////tab////tab//var bShow=(sItemName.trim().length>0);//crlf////tab////tab//setVisible(salt+\\quot\\VendorName\\quot\\\\comma\\bShow);//crlf////crlf////tab////tab////01-30-2017: for some reason\\comma\\ the table row containing the imported item name has the //crlf////tab////tab////display attribute set to table-row instead of inline.  This is a workaround.//crlf////tab////tab////It may need more work.//crlf////tab////tab////appendToLog(\\quot\\editInvoiceDetail5 salt=\\quot\\+salt);//crlf////tab////tab//if(bShow) document.getElementById(salt+\\quot\\VendorName\\quot\\).style.display=\\quot\\inline\\quot\\;//crlf////tab////tab////appendToLog(\\quot\\editInvoiceDetail5a\\quot\\);//crlf////crlf////tab////tab////set the AmountInitialized attribute in the amount field.  //crlf////tab////tab//var eAmount=document.getElementById(sDialogIDSalt+\\quot\\Amount\\quot\\);//crlf////tab////tab//var dAmount=parseFloat(eAmount.value);//crlf////tab////tab//if((dAmount==0) ~~pipe~~~~pipe~~ (isNaN(dAmount))) {//crlf////tab////tab////tab////appendToLog(\\quot\\editInvoiceDetail6\\quot\\);//crlf////tab////tab////tab//eAmount.setAttribute(\\quot\\AmountInitialized\\quot\\\\comma\\\\quot\\false\\quot\\);//crlf////tab////tab////tab////appendToLog(\\quot\\editInvoiceDetail6a\\quot\\);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab////appendToLog(\\quot\\editInvoiceDetail7\\quot\\);//crlf////tab////tab////tab//eAmount.setAttribute(\\quot\\AmountInitialized\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////tab////tab////tab////appendToLog(\\quot\\editInvoiceDetail7a\\quot\\);//crlf////tab////tab//};//crlf////tab////tab////appendToLog(\\quot\\editInvoiceDetail8\\quot\\);//crlf////crlf////tab////tab////disable editing of the size if the size is valid//crlf////tab////tab//if(!document.getElementById(sDialogIDSalt+\\quot\\SizePrefix\\quot\\)) {//crlf////tab////tab////tab//alert(\\quot\\Cannot locate ID=\\quot\\+sDialogIDSalt+\\quot\\SizePrefix\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//var dPrefix=parseFloat(document.getElementById(sDialogIDSalt+\\quot\\SizePrefix\\quot\\).value);//crlf////tab////tab//if(!document.getElementById(sDialogIDSalt+\\quot\\SizeUnit\\quot\\)) return;//crlf////tab////tab//var sUnit=document.getElementById(sDialogIDSalt+\\quot\\SizeUnit\\quot\\).value;//crlf////tab////tab//if((dPrefix==0) ~~pipe~~~~pipe~~ (isNaN(dPrefix)) ~~pipe~~~~pipe~~ (sUnit==\\quot\\0\\quot\\)) {//crlf////tab////tab////tab////the size is invalid\\comma\\ so make it editable//crlf////tab////tab////tab//enableSizeEdit(sDialogIDSalt\\comma\\true);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab////the size is valid\\comma\\ so don't make it editable//crlf////tab////tab////tab//enableSizeEdit(sDialogIDSalt\\comma\\false);//crlf////tab////tab//};//crlf////crlf////tab////tab////if an item is selected...//crlf////tab////tab//var sItemID=document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItem_input_submit\\quot\\).value;//crlf////tab////tab//if(sItemID!=\\quot\\000\\quot\\) {//crlf////tab////tab////tab////if the size is invalid\\comma\\ set it to the default purchase size//crlf////tab////tab////tab//if((dPrefix==0) ~~pipe~~~~pipe~~ (sUnit==\\quot\\0\\quot\\)) {//crlf////tab////tab////tab////tab////call the function to set the default size and price as if the item has just been selected//crlf////tab////tab////tab////tab//setDefaultPurchaseSize(document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItem_input\\quot\\));//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////if the default price is invalid\\comma\\ initialize it//crlf////tab////tab////tab//var dPrice=parseFloat(document.getElementById(sDialogIDSalt+\\quot\\UnitPrice\\quot\\).value);//crlf////tab////tab////tab//if((dPrice==0) ~~pipe~~~~pipe~~ (isNaN(dPrice))) {//crlf////tab////tab////tab////tab////this sets the default price AND the last price paid//crlf////tab////tab////tab////tab//setDefaultPrice(sDialogIDSalt);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab////set the last price paid//crlf////tab////tab////tab////tab//setLastPricePaid(sDialogIDSalt);//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//checkForPriceChange(sDialogIDSalt);//crlf////tab////tab////tab////crlf////tab////tab////tab//var sName=document.getElementById(salt+\\quot\\HiddenItemName\\quot\\).value;//crlf////tab////tab////tab////appendToLog(\\quot\\sName:\\quot\\+sName);//crlf////crlf////tab////tab////tab////------------------------------------------------------------------------------------------------------------//crlf////tab////tab////tab////make sure the item exists in the datalist containing all items.  Deleted items will not be included in the datalists initially//crlf////tab////tab////tab////------------------------------------------------------------------------------------------------------------//crlf////tab////tab////tab//var eDataList=document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItem\\quot\\);//crlf////tab////tab////tab//var bExists=false;//crlf////tab////tab////tab//for(var i=0;(!bExists) //amp////amp// (i<eDataList.options.length);i++) {//crlf////tab////tab////tab////tab//var sValue=eDataList.options[i].value;//crlf////tab////tab////tab////tab//var sAspectID=eDataList.options[i].getAttribute(\\quot\\aspectid\\quot\\);//crlf////tab////tab////tab////tab//if(sAspectID.equalsIgnoreCase(sItemID)) {//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Found item in \\quot\\+eDataList.id+\\quot\\ sValue=\\quot\\+sValue+\\quot\\ sAspectID=\\quot\\+sAspectID);//crlf////tab////tab////tab////tab////tab//bExists=true;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//if(!bExists) {//crlf////tab////tab////tab////tab//var sOption=\\quot\\<option value=\\\quot\\\\quot\\+sName+\\quot\\\\\quot\\ aspectid=\\\quot\\\\quot\\+sItemID+\\quot\\\\\quot\\></option>\\quot\\//crlf////tab////tab////tab////tab//eDataList.innerHTML=sOption+eDataList.innerHTML;//crlf////tab////tab////tab////tab//document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItem_input\\quot\\).value=sName;//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Added option: \\quot\\+sOption+\\quot\\ to datalist: \\quot\\+eDataList.id);//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////------------------------------------------------------------------------------------------------------------//crlf////tab////tab////tab////make sure the item exists in the datalist containing items supplied by the selected vendor.  //crlf////tab////tab////tab////Deleted items will not be included in the datalists initially//crlf////tab////tab////tab////------------------------------------------------------------------------------------------------------------//crlf////tab////tab////tab//var eDataList=document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItemAlt\\quot\\);//crlf////tab////tab////tab//var bExists=false;//crlf////tab////tab////tab//for(var i=0;(!bExists) //amp////amp// (i<eDataList.options.length);i++) {//crlf////tab////tab////tab////tab//var sValue=eDataList.options[i].value;//crlf////tab////tab////tab////tab//var sAspectID=eDataList.options[i].getAttribute(\\quot\\aspectid\\quot\\);//crlf////tab////tab////tab////tab//if(sAspectID.equalsIgnoreCase(sItemID)) {//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Found item in \\quot\\+eDataList.id+\\quot\\ sValue=\\quot\\+sValue+\\quot\\ sAspectID=\\quot\\+sAspectID);//crlf////tab////tab////tab////tab////tab//bExists=true;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//if(!bExists) {//crlf////tab////tab////tab////tab//var sOption=\\quot\\<option value=\\\quot\\\\quot\\+sName+\\quot\\\\\quot\\ aspectid=\\\quot\\\\quot\\+sItemID+\\quot\\\\\quot\\></option>\\quot\\//crlf////tab////tab////tab////tab//eDataList.innerHTML=sOption+eDataList.innerHTML;//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Added option: \\quot\\+sOption+\\quot\\ to datalist: \\quot\\+eDataList.id);//crlf////tab////tab////tab//};//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItem_input\\quot\\).value=\\quot\\\\quot\\;//crlf////crlf////tab////tab////tab////clear the current price//crlf////tab////tab////tab//var eCurrentUnitPrice=document.getElementById(sDialogIDSalt+\\quot\\CurrentUnitPrice\\quot\\);//crlf////tab////tab////tab//eCurrentUnitPrice.disabled=true;//crlf////tab////tab////tab//eCurrentUnitPrice.value=\\quot\\\\quot\\;//crlf////tab////tab////tab////crlf////tab////tab////tab////clear the last price paid//crlf////tab////tab////tab//document.getElementById(sDialogIDSalt+\\quot\\LastUnitPrice\\quot\\).value=\\quot\\\\quot\\;//crlf////tab////tab//};//crlf////crlf////tab////tab////copy the list attribute to _list.//crlf////tab////tab//var eDataListInput=document.getElementById(sDialogIDSalt+\\quot\\InvoiceDetailSelectItem_input\\quot\\);//crlf////tab////tab//if(eDataListInput.getAttribute(\\quot\\list\\quot\\)) {//crlf////tab////tab////tab//eDataListInput.setAttribute(\\quot\\_list\\quot\\\\comma\\eDataListInput.getAttribute(\\quot\\list\\quot\\));//crlf////tab////tab//};//crlf////tab////tab//eDataListInput.setAttribute(\\quot\\onkeydown\\quot\\\\comma\\\\quot\\return datalistKeyDown(event\\comma\\ this)\\quot\\);//crlf////crlf////tab////tab////if no item is selected\\comma\\ disable the list attribute.  This prevents the list from being //crlf////tab////tab////displayed until a minimum number of characters have been added to the input//crlf////tab////tab//var isFirefox=typeof InstallTrigger !=='undefined';//crlf////tab////tab//if(!isFirefox) {//crlf////tab////tab////tab//if(eDataListInput.value.length==0) eDataListInput.removeAttribute(\\quot\\list\\quot\\);//crlf////tab////tab//};//crlf////crlf////tab////tab////show the button to add another detail if no item is selected//crlf////tab////tab//var eAddAnotherDetailContainer=document.getElementById(sDialogIDSalt+\\quot\\AddAnotherInvoiceDetailContainer\\quot\\);//crlf////tab////tab//if(sItemID==\\quot\\000\\quot\\) {//crlf////tab////tab////tab//eAddAnotherDetailContainer.style.display=\\quot\\block\\quot\\;//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//eAddAnotherDetailContainer.style.display=\\quot\\none\\quot\\;//crlf////tab////tab//};//crlf////crlf////tab////tab////make sure input displaying last price is disabled//crlf////tab////tab//document.getElementById(sDialogIDSalt+\\quot\\LastUnitPrice\\quot\\).disabled=true;//crlf////crlf////tab////tab//return(true);//crlf////tab//};//crlf////crlf////tab////Called when a character is added or deleted from the datalist.//crlf////tab////The list is disabled until three or more characters have been entered //crlf////tab////This is an attempt to avoid what appears to be a chrome bug that causes a crash//crlf////tab////when there are too many matching items in the list//crlf////tab//function datalistKeyDown(evt\\comma\\ control) //crlf////tab//{//crlf////tab////tab//var key=evt.keyCode ? evt.keyCode : evt.which ? evt.which : evt.charCode;//crlf////crlf////tab////tab//var isFirefox=typeof InstallTrigger !=='undefined';//crlf////tab////tab//if(isFirefox) return(key);//crlf////crlf////tab////tab//var len=(key==8) ? control.value.length-1 : control.value.length+1;//crlf////tab////tab////console.log(\\quot\\control value=\\quot\\+control.value+\\quot\\ key=\\quot\\+key+\\quot\\ len=\\quot\\+len);//crlf////tab////tab//if(len>=3) {//crlf////tab////tab////tab//control.setAttribute(\\quot\\list\\quot\\\\comma\\control.getAttribute(\\quot\\_list\\quot\\));//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//control.removeAttribute(\\quot\\list\\quot\\);//crlf////tab////tab//};//crlf////tab////tab//return key;//crlf////tab//}//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Sets the width of the first td cell in each row to the maximum width of any //crlf////tab//of the first td cells in a row.  This is used to standardize the width of the //crlf////tab//first td cell in each row when the table is displayed inline//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function setInvoiceDetailTDWidths(DialogID) {//crlf////tab////tab//var table=document.getElementById(DialogID+\\quot\\InvoiceDetailDialogTable\\quot\\);//crlf////crlf////tab////tab//if(table.getAttribute(\\quot\\TDWidthInitialized\\quot\\)) return;//crlf////crlf////tab////tab//var iMaxWidth=0;//crlf////tab////tab//for(var i=1;i<table.rows.length;i++) {//crlf////tab////tab////tab//iMaxWidth=Math.max(iMaxWidth\\comma\\table.rows[i].cells[0].offsetWidth);//crlf////tab////tab//};//crlf////crlf////tab////tab////add some more padding//crlf////tab////tab//iMaxWidth+=10;//crlf////crlf////tab////tab//for(var i=0;i<table.rows.length;i++) {//crlf////tab////tab////tab////table.rows[i].cells[0].style.paddingRight=(iMaxWidth-table.rows[i].cells[0].offsetWidth)+\\quot\\px\\quot\\;//crlf////tab////tab////tab//table.rows[i].cells[0].style.width=iMaxWidth+\\quot\\px\\quot\\;//crlf////tab////tab//};//crlf////crlf////tab////tab//table.setAttribute(\\quot\\TDWidthInitialized\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the close icon is clicked to close the dialog.  Currently has //crlf////tab//no purpose except to override closing of the dialog.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function closeInvoiceDetailDialog(e) {//crlf////tab////tab//closeTableEditDialog(e);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Closes the current edit dialog and adds a new record//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function addAnotherInvoiceDetail(DialogID) {//crlf////tab////tab////appendToLog(\\quot\\addAnotherInvoiceDetail started\\quot\\);//crlf////tab////tab////close the dialog//crlf////tab////tab//closeInvoiceDetailDialog(document.getElementById(DialogID+\\quot\\CloseIcon\\quot\\));//crlf////crlf////tab////tab////insert another record//crlf////tab////tab//insertTableRecord(DialogID);//crlf////crlf////tab////tab////it's not clear why this needs to be called since the editInvoiceDetail() function called //crlf////tab////tab////when the dialog is displayed should take care of it.  This function sets the TD widths of //crlf////tab////tab////the descriptions so they're all the same\\comma\\ even when the table is displayed inline on a //crlf////tab////tab////larger screen.//crlf////tab////tab//setInvoiceDetailTDWidths(DialogID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the checkbox is clicked to show all items//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function showAllInvoiceDetailSelections(e\\comma\\DialogID) {//crlf////tab////tab//var eInput=document.getElementById(DialogID+\\quot\\InvoiceDetailSelectItem_input\\quot\\);//crlf////tab////tab//if(e.checked) {//crlf////tab////tab////tab//setDatalist(eInput\\comma\\DialogID+\\quot\\InvoiceDetailSelectItem\\quot\\\\comma\\true);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//setDatalist(eInput\\comma\\DialogID+\\quot\\InvoiceDetailSelectItemAlt\\quot\\\\comma\\true);//crlf////tab////tab//};//crlf////crlf////tab////tab//if(eInput.value.length<3) {//crlf////tab////tab////tab//eInput.removeAttribute(\\quot\\list\\quot\\);//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the checkbox is clicked to show inactive items//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function showInactiveInvoiceDetailSelections(e\\comma\\DialogID) {//crlf////tab////tab////update the datalists to include the inactive items//crlf////tab////tab////console.log(\\quot\\showInactiveInvoiceDetailSelections DialogID=\\quot\\+DialogID);//crlf////tab////tab//var eInput=document.getElementById(DialogID+\\quot\\InvoiceDetailSelectItem_input\\quot\\);//crlf////tab////tab//if(!eInput.getAttribute(\\quot\\list\\quot\\)) {//crlf////tab////tab////tab//eInput.setAttribute(\\quot\\list\\quot\\\\comma\\eInput.getAttribute(\\quot\\_list\\quot\\));//crlf////tab////tab//};//crlf////tab////tab//updateItemDatalists(DialogID);//crlf////tab////tab//if(eInput.value.length<3) eInput.removeAttribute(\\quot\\list\\quot\\);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Makes the purchase size editable or not by setting the visibility of the //crlf////tab//table rows containing the size and the inputs used to edit the size//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function enableSizeEdit(DialogID\\comma\\b) {//crlf////console.log(\\quot\\enableSizeEdit: DialogID=\\quot\\+DialogID+\\quot\\ b=\\quot\\+b);//crlf////tab////tab////printStackTrace();//crlf////crlf////tab////tab////Ensure that a size is displayed in the read-only span element.  Don't hide the inputs//crlf////tab////tab////if a size is not displayed.  Otherwise\\comma\\ there will be no hyperlink for the user to click //crlf////tab////tab////to edit the size//crlf////tab////tab//var s=document.getElementById(DialogID+\\quot\\SizeReadOnly\\quot\\).innerHTML.trim();//crlf////tab////tab//if(s.length==0) b=true;//crlf////tab////tab//if(s.equalsIgnoreCase(\\quot\\Error\\quot\\)) b=true;//crlf////console.log(\\quot\\enableSizeEdit: s=\\quot\\+s+\\quot\\ b=\\quot\\+b);//crlf////tab////tab////console.log(\\quot\\enableSizeEdit: SizeReadOnly innerHTML=\\quot\\+document.getElementById(DialogID+\\quot\\SizeReadOnly\\quot\\).innerHTML.trim()+\\quot\\ b=\\quot\\+b);//crlf////tab////tab////console.log(\\quot\\enableSizeEdit: getDisplayStyle(DialogID)=\\quot\\+getDisplayStyle(DialogID));//crlf////crlf////tab////tab//if(b) {//crlf////tab////tab////tab//document.getElementById(DialogID+\\quot\\TRSizeReadOnly\\quot\\).style.display=\\quot\\none\\quot\\;//crlf////tab////tab////tab//document.getElementById(DialogID+\\quot\\TRSizeEditable\\quot\\).style.display=getDisplayStyle(DialogID);//crlf////console.log(\\quot\\enableSizeEdit: set1 style=\\quot\\+getDisplayStyle(DialogID));//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//document.getElementById(DialogID+\\quot\\TRSizeReadOnly\\quot\\).style.display=getDisplayStyle(DialogID);//crlf////tab////tab////tab//document.getElementById(DialogID+\\quot\\TRSizeEditable\\quot\\).style.display=\\quot\\none\\quot\\;//crlf////console.log(\\quot\\enableSizeEdit: set2 style=\\quot\\+getDisplayStyle(DialogID));//crlf////tab////tab//};//crlf////tab////tab////setVisible(document.getElementById(DialogID+\\quot\\TRSizeReadOnly\\quot\\)\\comma\\!b);//crlf////tab////tab////setVisible(document.getElementById(DialogID+\\quot\\TRSizeEditable\\quot\\)\\comma\\b);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Returns the display style to be used when making a table row visible.  This will //crlf////tab//depend on whether the table is being displayed inline or not.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function getDisplayStyle(DialogID) {//crlf////tab////tab//var s=document.getElementById(DialogID+\\quot\\UnitPriceContainer\\quot\\).style.display;//crlf////tab////tab//if(s.length==0) s=\\quot\\inline\\quot\\;//crlf////tab////tab//return(s);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when either the quantity or amount is changed.  Gives a prompt if the //crlf////tab//prices changes by more than a given percentage//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function checkForPriceChange(DialogID) {//crlf////tab////tab////get the input used to display the current unit price//crlf////tab////tab//var eCurrentUnitPrice=document.getElementById(DialogID+\\quot\\CurrentUnitPrice\\quot\\);//crlf////tab////tab//eCurrentUnitPrice.disabled=true;//crlf////tab////tab//eCurrentUnitPrice.value=\\quot\\\\quot\\;//crlf////crlf////tab////tab////get the span tag used to display the price change percent.  Clear it initially//crlf////tab////tab//var ePriceChangePercent=document.getElementById(DialogID+\\quot\\PriceChangePercent\\quot\\);//crlf////tab////tab//ePriceChangePercent.innerHTML=\\quot\\\\quot\\;//crlf////crlf////tab////tab////get the input used to display the last unit price.  Hide it initially//crlf////tab////tab//var eLastUnitPrice=document.getElementById(DialogID+\\quot\\LastUnitPrice\\quot\\);//crlf////tab////tab//eLastUnitPrice.disabled=true;//crlf////tab////tab//document.getElementById(DialogID+\\quot\\LastUnitPriceContainer\\quot\\).style.display=\\quot\\none\\quot\\;//crlf////crlf////tab////tab//var dQty=parseFloat(document.getElementById(DialogID+\\quot\\Quantity\\quot\\).value);//crlf////tab////tab//var dAmount=parseFloat(document.getElementById(DialogID+\\quot\\Amount\\quot\\).value);//crlf////tab////tab//var dPrice=parseFloat(document.getElementById(DialogID+\\quot\\UnitPrice\\quot\\).value);//crlf////crlf////tab////tab////abort if the quantity or amount are 0//crlf////tab////tab//if((isNaN(dQty)) ~~pipe~~~~pipe~~ (dQty==0) ~~pipe~~~~pipe~~ (isNaN(dAmount)) ~~pipe~~~~pipe~~ (dAmount==0)) return;//crlf////crlf////tab////tab////calculate the new unit price and price change amount//tab////tab////crlf////tab////tab//var dNewPrice=dAmount/dQty;//crlf////tab////tab//var dPriceChange=dNewPrice-dPrice;//crlf////tab////tab//var dPcntChange=Math.abs(dPriceChange)/dPrice*100;//crlf////crlf////tab////tab////display the new unit price//crlf////tab////tab//eCurrentUnitPrice.value=formatNumber(dNewPrice\\comma\\\\quot\\//pound////pound////pound////pound////pound////pound//.00\\quot\\);//crlf////crlf////tab////tab////if the previous price is 0\\comma\\ abort//crlf////tab////tab//if(dPrice==0) return;//crlf////crlf////tab////tab////display the last unit price//crlf////tab////tab////eLastUnitPrice.value=formatNumber(dPrice\\comma\\\\quot\\//pound////pound////pound////pound////pound////pound//.00\\quot\\);//crlf////tab////tab//document.getElementById(DialogID+\\quot\\LastUnitPriceContainer\\quot\\).style.display=getDisplayStyle(DialogID);//crlf////tab////tab////tab////crlf////tab////tab////get the flag indicating whether notifications should be displayed for price changes//crlf////tab////tab//var bPromptOnPriceChange=document.getElementById(DialogID+\\quot\\PromptOnPriceChange\\quot\\).value.equalsIgnoreCase(\\quot\\true\\quot\\);//crlf////tab////tab//if(bPromptOnPriceChange) {//crlf////tab////tab////tab////get the percent change required to display a notification//crlf////tab////tab////tab//var PromptOnPcnt=parseFloat(document.getElementById(DialogID+\\quot\\PromptOnPriceChangePcnt\\quot\\).value);//crlf////tab////tab////tab//if(PromptOnPcnt>0) {//crlf////tab////tab////tab////tab//if(dPcntChange>=PromptOnPcnt) {//crlf////tab////tab////tab////tab////tab//var s=(dNewPrice>dPrice) ? \\quot\\+\\quot\\ : \\quot\\-\\quot\\;//crlf////tab////tab////tab////tab////tab//s+=formatNumber(dPcntChange\\comma\\\\quot\\//pound////pound////pound////pound////pound////pound//\\quot\\)+\\quot\\\\percent\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ePriceChangePercent.innerHTML=s;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the quantity is edited.  Sets the extended price if it does not //crlf////tab//already contain a value.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function invoiceDetailQuantityChanged(e\\comma\\DialogID) {//crlf////crlf////tab////tab////submit the data//crlf////tab////tab//submitDialogCell(e);//crlf////crlf////tab////tab////if the amount is zero\\comma\\ set the amount and submit the data.  The price is determined by //crlf////tab////tab////the invoiceDetailItemSelected() function when an item is selected//crlf////tab////tab//var dQuantity=parseFloat(e.value);//crlf////tab////tab//var dPrice=parseFloat(document.getElementById(DialogID+\\quot\\UnitPrice\\quot\\).value);//crlf////crlf////tab////tab//if(!isNaN(dPrice)) {//crlf////tab////tab////tab//if(dPrice!=0) {//crlf////tab////tab////tab////tab//var eAmount=document.getElementById(DialogID+\\quot\\Amount\\quot\\);//crlf////tab////tab////tab////tab//var dAmount=(eAmount.value.trim().length==0) ? 0 : parseFloat(eAmount.value);//crlf////tab////tab////tab////tab//var sAmountInitialized=eAmount.getAttribute(\\quot\\AmountInitialized\\quot\\);//crlf////tab////tab////tab////tab////only update the amount if the AmountInitialized is false.  Do not update it if the amount //crlf////tab////tab////tab////tab////is zero.  A zero amount may have been entered intentionally.//crlf////tab////tab////tab////tab////if((dAmount==0) ~~pipe~~~~pipe~~ (isNaN(dAmount)) ~~pipe~~~~pipe~~ (sAmountInitialized.equalsIgnoreCase(\\quot\\false\\quot\\))) {//crlf////tab////tab////tab////tab//if(sAmountInitialized.equalsIgnoreCase(\\quot\\false\\quot\\)) {//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\dQuantity=\\quot\\+dQuantity+\\quot\\ dPrice=\\quot\\+dPrice);//crlf////tab////tab////tab////tab////tab////eAmount.value=(dQuantity*dPrice).toFixed(2);//crlf////tab////tab////tab////tab////tab//var dValue=Math.round(dQuantity*dPrice*100)/100;//crlf////tab////tab////tab////tab////tab//eAmount.value=dValue;//crlf////crlf////tab////tab////tab////tab////tab////call submitDialogCellSub instead of submitDialogCell to keep the text selected in the //crlf////tab////tab////tab////tab////tab////amount field.  If submitDialogCell is called\\comma\\ the text will be unselected and difficult to edit//crlf////tab////tab////tab////tab////tab//submitDialogCellSub(eAmount);//tab////tab////crlf////tab////tab////tab////tab////tab//eAmount.select();//crlf////tab////tab////tab////tab//};//crlf////tab////crlf////tab////tab////tab////tab//checkForPriceChange(DialogID);//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab////update the vendor info//crlf////tab////tab//updateVendorInfo(DialogID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the amount is edited.  Sets the AmountInitialized attribute in the //crlf////tab//input to True to indicate that an amount has been entered.  When this attribute//crlf////tab//is True\\comma\\ changes in the quantity will no longer cause adjustments to the amount.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function invoiceDetailAmountChanged(e\\comma\\DialogID) {//crlf////tab////tab////submit the data//crlf////tab////tab//submitDialogCell(e);//crlf////crlf////tab////tab////setTimeout(function() {submitDialogCell(e);}\\comma\\1000);//crlf////crlf////tab////tab//e.setAttribute(\\quot\\AmountInitialized\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////tab////tab//checkForPriceChange(DialogID);//crlf////crlf////tab////tab////update the vendor info//crlf////tab////tab//updateVendorInfo(DialogID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the size prefix is modified//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function invoiceDetailSizePrefixChanged(e\\comma\\DialogID) {//crlf////tab////tab////submit the data//crlf////tab////tab//submitDialogCell(e);//crlf////crlf////tab////tab//setDefaultPrice(DialogID);//crlf////tab////tab////crlf////tab////tab////update the vendor info (no longer used.  A driver listener script is used to update the vendor info)//crlf////tab////tab////updateVendorInfo(DialogID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the size unit is modified//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function invoiceDetailSizeUnitChanged(e) {//crlf////tab////tab////submit the data//crlf////tab////tab//submitDialogCell(e);//crlf////crlf////tab////tab//var DialogID=e.getAttribute(\\quot\\DialogID\\quot\\);//crlf////tab////tab//setDefaultPrice(DialogID);//crlf////tab////tab////crlf////tab////tab////update the vendor info (no longer used.  A driver listener script is used to update the vendor info)//crlf////tab////tab////var DialogID=e.getAttribute(\\quot\\DialogID\\quot\\);//crlf////tab////tab////updateVendorInfo(DialogID);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when the item\\comma\\ size prefix\\comma\\ size unit or price are changed.  Records //crlf////tab//the data in the inventory item record//crlf////crlf////tab//2017-01: THIS FUNCTION IS NOT USED.  INSTEAD\\comma\\ VENDOR INFORMATION IS //crlf////tab//UPDATED IN THE INVENTORY ITEM RECORD USING A DRIVER LISTENER.  //crlf////tab//THE Aspect_Back_Office_Invoice_Detail_DataSubmitted SCRIPT IN THE ASPECT BACKOFFICE//crlf////tab//PACKAGE REPLACES THIS SCRIPT.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function updateVendorInfo(DialogID) {//crlf////tab////tab//return;//crlf////crlf////tab////tab//var d=document.getElementById(\\quot\\Aspect_Back_Office_Invoice_Detail\\quot\\+DialogID);//crlf////tab////tab//var sSalt=d.getAttribute(\\quot\\salt\\quot\\);//crlf////crlf////tab////tab//var sItemID=document.getElementById(DialogID+\\quot\\InvoiceDetailSelectItem_input_submit\\quot\\).value;//crlf////tab////tab//var sVendorID=document.getElementById(DialogID+\\quot\\VendorID\\quot\\).value;//crlf////tab////tab//var sVendorItemCode=document.getElementById(sSalt+\\quot\\Imported_Item_Code\\quot\\).value;//crlf////tab////tab//var sSizePrefix=document.getElementById(DialogID+\\quot\\SizePrefix\\quot\\).value;//crlf////tab////tab//var sSizeUnit=document.getElementById(DialogID+\\quot\\SizeUnit\\quot\\).value;//crlf////tab////tab//var dQuantity=parseFloat(document.getElementById(DialogID+\\quot\\Quantity\\quot\\).value);//crlf////tab////tab//var//tab//dAmount=parseFloat(document.getElementById(DialogID+\\quot\\Amount\\quot\\).value);//crlf////tab////tab//var dUnitPrice=(dQuantity==0) ? 0 : dAmount/dQuantity;//crlf////crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=greenlight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Dialogs//amp//ContainerItemID=AspectScript\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//Query=updateVendorInfo\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//Source={AspectHashID}\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//StoreID=__StoreID__\\quot\\;//crlf////tab////tab//sUrl+=\\quot\\//amp//ItemID=\\quot\\+sItemID;//crlf////tab////tab//sUrl+=\\quot\\//amp//VendorID=\\quot\\+sVendorID;//crlf////tab////tab//sUrl+=\\quot\\//amp//VendorItemCode=\\quot\\+sVendorItemCode;//crlf////tab////tab//sUrl+=\\quot\\//amp//SizePrefix=\\quot\\+sSizePrefix;//crlf////tab////tab//sUrl+=\\quot\\//amp//SizeUnit=\\quot\\+sSizeUnit;//crlf////tab////tab//sUrl+=\\quot\\//amp//SizePrice=\\quot\\+dUnitPrice;//crlf////tab////tab////appendToLog(\\quot\\url=\\quot\\+sUrl);//crlf////tab////tab//asynchInclude(null\\comma\\sUrl);//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Called when an item is selected in the drop-down list.  Calls the default //crlf////tab//dataListInputChanged() function to submit the data and then sets the purchase size//crlf////tab//and default price.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function invoiceDetailItemSelected(e) {//crlf////tab////tab////appendToLog(\\quot\\invoiceDetailItemSelected\\quot\\);//crlf////crlf////tab////tab////restore the list before calling submitDialog//crlf////tab////tab//var bRemoveList=false;//crlf////tab////tab//if(!e.getAttribute(\\quot\\list\\quot\\)) {//crlf////tab////tab////tab//e.setAttribute(\\quot\\list\\quot\\\\comma\\e.getAttribute(\\quot\\_list\\quot\\));//crlf////tab////tab////tab//bRemoveList=true;//crlf////tab////tab//};//crlf////crlf////tab////tab////update the hidden input used to submit the data//crlf////tab////tab//dataListInputChanged(e);//crlf////crlf////tab////tab////set the default purchase size and price//crlf////tab////tab//setDefaultPurchaseSize(e);//crlf////crlf////tab////tab////record the vendor item code in the inventory item record//crlf////tab////tab//var DialogID=e.getAttribute(\\quot\\dialogid\\quot\\);//crlf////tab////tab//updateVendorInfo(DialogID);//crlf////crlf////tab////tab//if(bRemoveList=false) {//crlf////tab////tab////tab//e.removeAttribute(\\quot\\list\\quot\\);//crlf////console.log(\\quot\\remove list\\quot\\);//crlf////tab////tab//};//crlf////tab//};//crlf////tab////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Sets the default price for the currently selected item.  Also updates the last //crlf////tab//price paid.  Called when the dialog is opened.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function setLastPricePaid(DialogID) {//crlf////tab////tab//var sItemID=document.getElementById(DialogID+\\quot\\InvoiceDetailSelectItem_input_submit\\quot\\).value;//crlf////tab////tab//var dPrefix=parseFloat(document.getElementById(DialogID+\\quot\\SizePrefix\\quot\\).value);//crlf////tab////tab//var sUnit=document.getElementById(DialogID+\\quot\\SizeUnit\\quot\\).value;//crlf////crlf////tab////tab////if the size is valid\\comma\\ set the default price //crlf////tab////tab//if((dPrefix!=0) //amp////amp// (sUnit!=\\quot\\0\\quot\\)) {//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//get the hidden elsement containing purchase sizes and price by vendor for each item//crlf////tab////tab////tab//This is a select element created in the invoice dialog using the Aspect_BackOffice_Default_Purchase_Info_2018 collection.//crlf////tab////tab////tab//The format of options is //crlf////tab////tab////tab////tab//<option value=\\quot\\[ItemID]\\quot\\>//crlf////tab////tab////tab////tab////tab//Name~~pipe~~Item ID\\comma\\//crlf////tab////tab////tab////tab////tab//vendor1 ID]vendor1 size prefix~~pipe~~vendor1 size unit~~pipe~~vendor1 price~~pipe~~vendor1 size~~pipe~~Vendor 1 Code\\comma\\//crlf////tab////tab////tab////tab////tab//vendor2 ID]vendor2 size prefix~~pipe~~vendor2 size unit~~pipe~~vendor2 price~~pipe~~vendor2 size~~pipe~~Vendor 1 Code\\comma\\//crlf////tab////tab////tab////tab////tab//vendor3 ID]vendor3 size prefix~~pipe~~vendor3 size unit~~pipe~~vendor3 price~~pipe~~vendor3 size~~pipe~~Vendor 1 Code//crlf////tab////tab////tab////tab//</option>//crlf////crlf////tab////tab////tab////tab//e.g. <option value=\\quot\\844\\quot\\>844~~pipe~~SPRITE\\comma\\1~~pipe~~1~~pipe~~16~~pipe~~77.52~~pipe~~ Case~~pipe~~4004362\\comma\\35~~pipe~~1~~pipe~~16~~pipe~~88.94~~pipe~~ Case~~pipe~~\\comma\\22~~pipe~~1~~pipe~~16~~pipe~~73.25~~pipe~~ Case~~pipe~~</option>//tab////tab////tab////crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab//var ePurchaseInfo=document.getElementById(DialogID+\\quot\\DefaultPurchaseInfo\\quot\\);//crlf////crlf////tab////tab////tab////get the input containing the vendor ID//crlf////tab////tab////tab//var eVendorID=document.getElementById(DialogID+\\quot\\VendorID\\quot\\);//crlf////tab////tab////tab//var sVendorID=eVendorID.value;//crlf////crlf////tab////tab////tab////locate the item in the list and update the size prefix and unit//crlf////tab////tab////tab//for(var i=0;i<ePurchaseInfo.options.length;i++) {//crlf////tab////tab////tab////tab//if(ePurchaseInfo.options[i].value.equalsIgnoreCase(sItemID)) {//crlf////tab////tab////tab////tab////tab////get the purchase size info.  This is a comma-delimited string containing three //crlf////tab////tab////tab////tab////tab////records.  Each record is a pipe-delimited string containing //crlf////tab////tab////tab////tab////tab////VendorID ~~pipe~~ Size Prefix ~~pipe~~ Size Unit ~~pipe~~ Price ~~pipe~~ Formatted Size//crlf////tab////tab////tab////tab////tab//var arVendorInfo=getSubStringArray(ePurchaseInfo.options[i].text\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab////tab////tab//var bDone=false;//crlf////tab////tab////tab////tab////tab////start at element 1 since element 0 is the item id and name//crlf////tab////tab////tab////tab////tab//for(var j=1;((!bDone) //amp////amp// (j<arVendorInfo.length));j++) {//crlf////tab////tab////tab////tab////tab////tab//var a=getSubStringArray(arVendorInfo[j]\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab////tab////tab////tab//if((parseFloat(a[1])==dPrefix) //amp////amp// (a[2].equalsIgnoreCase(sUnit))) {//crlf////tab////tab////tab////tab////tab////tab////tab//document.getElementById(DialogID+\\quot\\LastUnitPrice\\quot\\).value=formatNumber(parseFloat(a[3])\\comma\\\\quot\\//pound////pound////pound////pound////pound////pound//.00\\quot\\);//crlf////tab////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab////tab//if(a[0].equalsIgnoreCase(sVendorID)) bDone=true;//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab////tab////alert(\\quot\\Could not find item: \\quot\\+sItemID);//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Sets the default price for the currently selected item.  Also updates the last //crlf////tab//price paid since these are the same.  Called when the dialog is opened and by //crlf////tab//setDefaultPurchaseSize().//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function setDefaultPrice(DialogID) {//crlf////tab////tab//var sItemID=document.getElementById(DialogID+\\quot\\InvoiceDetailSelectItem_input_submit\\quot\\).value;//crlf////tab////tab//var dPrefix=parseFloat(document.getElementById(DialogID+\\quot\\SizePrefix\\quot\\).value);//crlf////tab////tab//var sUnit=document.getElementById(DialogID+\\quot\\SizeUnit\\quot\\).value;//crlf////crlf////tab////tab////if the size is valid\\comma\\ set the default price //crlf////tab////tab////appendToLog(\\quot\\setDefaultPrice dPrefix=\\quot\\+dPrefix+\\quot\\ sUnit=\\quot\\+sUnit);//crlf////tab////tab//if((!isNaN(dPrefix)) //amp////amp// (dPrefix!=0) //amp////amp// (sUnit!=\\quot\\0\\quot\\)) {//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//get the hidden elsement containing purchase sizes and price by vendor for each item//crlf////tab////tab////tab//This is a select element created in the invoice dialog using the Aspect_BackOffice_Default_Purchase_Info_2018 collection.//crlf////tab////tab////tab//The format of options is //crlf////tab////tab////tab////tab//<option value=\\quot\\[ItemID]\\quot\\>//crlf////tab////tab////tab////tab////tab//Name~~pipe~~Item ID\\comma\\//crlf////tab////tab////tab////tab////tab//vendor1 ID]vendor1 size prefix~~pipe~~vendor1 size unit~~pipe~~vendor1 price~~pipe~~vendor1 size~~pipe~~Vendor 1 Code\\comma\\//crlf////tab////tab////tab////tab////tab//vendor2 ID]vendor2 size prefix~~pipe~~vendor2 size unit~~pipe~~vendor2 price~~pipe~~vendor2 size~~pipe~~Vendor 1 Code\\comma\\//crlf////tab////tab////tab////tab////tab//vendor3 ID]vendor3 size prefix~~pipe~~vendor3 size unit~~pipe~~vendor3 price~~pipe~~vendor3 size~~pipe~~Vendor 1 Code//crlf////tab////tab////tab////tab//</option>//crlf////crlf////tab////tab////tab////tab//e.g. <option value=\\quot\\844\\quot\\>844~~pipe~~SPRITE\\comma\\1~~pipe~~1~~pipe~~16~~pipe~~77.52~~pipe~~ Case~~pipe~~4004362\\comma\\35~~pipe~~1~~pipe~~16~~pipe~~88.94~~pipe~~ Case~~pipe~~\\comma\\22~~pipe~~1~~pipe~~16~~pipe~~73.25~~pipe~~ Case~~pipe~~</option>//tab////tab////tab////crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab//var ePurchaseInfo=document.getElementById(DialogID+\\quot\\DefaultPurchaseInfo\\quot\\);//crlf////crlf////tab////tab////tab////get the input containing the vendor ID//crlf////tab////tab////tab//var eVendorID=document.getElementById(DialogID+\\quot\\VendorID\\quot\\);//crlf////tab////tab////tab//var sVendorID=eVendorID.value;//crlf////crlf////tab////tab////tab////locate the item in the list and update the size prefix and unit//crlf////tab////tab////tab//for(var i=0;i<ePurchaseInfo.options.length;i++) {//crlf////tab////tab////tab////tab//if(ePurchaseInfo.options[i].value.equalsIgnoreCase(sItemID)) {//crlf////tab////tab////tab////tab////tab////get the purchase size info.  This is a comma-delimited string containing three //crlf////tab////tab////tab////tab////tab////records.  Each record is a pipe-delimited string containing //crlf////tab////tab////tab////tab////tab////VendorID ~~pipe~~ Size Prefix ~~pipe~~ Size Unit ~~pipe~~ Price ~~pipe~~ Formatted Size//crlf////tab////tab////tab////tab////tab//var arVendorInfo=getSubStringArray(ePurchaseInfo.options[i].text\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab////tab////tab//var bDone=false;//crlf////tab////tab////tab////tab////tab////start at element 1 since element 0 is the item id and name//crlf////tab////tab////tab////tab////tab//for(var j=1;((!bDone) //amp////amp// (j<arVendorInfo.length));j++) {//crlf////tab////tab////tab////tab////tab////tab//var a=getSubStringArray(arVendorInfo[j]\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab////tab////tab////tab////tab//if((parseFloat(a[1])==dPrefix) //amp////amp// (a[2].equalsIgnoreCase(sUnit))) {//crlf////tab////tab////tab////tab////tab////tab////tab//document.getElementById(DialogID+\\quot\\UnitPrice\\quot\\).value=a[3];//crlf////tab////tab////tab////tab////tab////tab////tab//document.getElementById(DialogID+\\quot\\LastUnitPrice\\quot\\).value=formatNumber(parseFloat(a[3])\\comma\\\\quot\\//pound////pound////pound////pound////pound////pound//.00\\quot\\);//crlf////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\setDefaultPrice found item: \\quot\\+sItemID);//crlf////tab////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab////tab//if(a[0].equalsIgnoreCase(sVendorID)) bDone=true;//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab////tab////appendToLog(\\quot\\setDefaultPrice Could not find item: \\quot\\+sItemID);//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Sets the default purchase size for the currently selected item by looking up //crlf////tab//the purchase information in the hidden element containing data for all items.//crlf////tab//e is the visible element used to select the item.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//function setDefaultPurchaseSize(e) {//crlf////tab////tab////get the ID of the hidden input used to submit the data.  This input will contain the Item ID.//crlf////tab////tab//var eHiddenInput=document.getElementById(e.id+\\quot\\_submit\\quot\\);//crlf////tab////tab//var sItemID=eHiddenInput.value;//crlf////crlf////tab////tab////get the DialogID.  This is used to locate the hidden select box containing the default //crlf////tab////tab////purchase sises and prices//crlf////tab////tab//var sDialogID=e.getAttribute(\\quot\\DialogID\\quot\\);//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//get the hidden elsement containing purchase sizes and price by vendor for each item//crlf////tab////tab//This is a select element created in the invoice dialog using the Aspect_BackOffice_Default_Purchase_Info_2018 collection.//crlf////tab////tab//The format of options is //crlf////tab////tab////tab////tab//<option value=\\quot\\[ItemID]\\quot\\>//crlf////tab////tab////tab////tab////tab//Name~~pipe~~Item ID//crlf////tab////tab////tab////tab////tab//vendor1 ID]vendor1 size prefix~~pipe~~vendor1 size unit~~pipe~~vendor1 price~~pipe~~vendor1 size~~pipe~~Vendor 1 Code\\comma\\//crlf////tab////tab////tab////tab////tab//vendor2 ID]vendor2 size prefix~~pipe~~vendor2 size unit~~pipe~~vendor2 price~~pipe~~vendor2 size~~pipe~~Vendor 1 Code\\comma\\//crlf////tab////tab////tab////tab////tab//vendor3 ID]vendor3 size prefix~~pipe~~vendor3 size unit~~pipe~~vendor3 price~~pipe~~vendor3 size~~pipe~~Vendor 1 Code//crlf////tab////tab////tab////tab//</option>//crlf////crlf////tab////tab////tab////tab//e.g. <option value=\\quot\\844\\quot\\>844~~pipe~~SPRITE\\comma\\1~~pipe~~1~~pipe~~16~~pipe~~77.52~~pipe~~ Case~~pipe~~4004362\\comma\\35~~pipe~~1~~pipe~~16~~pipe~~88.94~~pipe~~ Case~~pipe~~\\comma\\22~~pipe~~1~~pipe~~16~~pipe~~73.25~~pipe~~ Case~~pipe~~</option>//tab////tab////tab////crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//var ePurchaseInfo=document.getElementById(sDialogID+\\quot\\DefaultPurchaseInfo\\quot\\);//crlf////crlf////tab////tab////get the input containing the vendor ID//crlf////tab////tab//var eVendorID=document.getElementById(sDialogID+\\quot\\VendorID\\quot\\);//crlf////tab////tab//var sVendorID=eVendorID.value;//crlf////crlf////tab////tab////locate the item in the list and update the size prefix and unit//crlf////tab////tab//for(var i=0;i<ePurchaseInfo.options.length;i++) {//crlf////tab////tab////tab//if(ePurchaseInfo.options[i].value.equalsIgnoreCase(sItemID)) {//crlf////tab////tab////tab////tab//var dPrefix=0;//crlf////tab////tab////tab////tab//var sUnitID=\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//var dPrice=0;//crlf////tab////tab////tab////tab//var sFormattedSize=\\quot\\\\quot\\;//crlf////crlf////tab////tab////tab////tab//var arVendorInfo=getSubStringArray(ePurchaseInfo.options[i].text\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab////tab//var bDone=false;//crlf////tab////tab////tab////tab////start at element 1 since element 0 is the item id and name//crlf////tab////tab////tab////tab//for(var j=1;((!bDone) //amp////amp// (j<arVendorInfo.length));j++) {//crlf////tab////tab////tab////tab////tab//var a=getSubStringArray(arVendorInfo[j]\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////crlf////tab////tab////tab////tab////tab////initialize the defaults using the first valid entry//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\a[1]=\\quot\\+a[1]);//crlf////tab////tab////tab////tab////tab//if(parseFloat(a[1])>0) {//crlf////tab////tab////tab////tab////tab////tab//dPrefix=parseFloat(a[1]);//crlf////tab////tab////tab////tab////tab////tab//sUnitID=a[2];//crlf////tab////tab////tab////tab////tab////tab//dPrice=parseFloat(a[3]);//crlf////tab////tab////tab////tab////tab////tab//sFormattedSize=a[4];//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\setDefaultPurchaseSize ItemID=\\quot\\+sItemID+\\quot\\ dPrefix=\\quot\\+dPrefix+\\quot\\ sUnitID=\\quot\\+sUnitID+\\quot\\ dPrice=\\quot\\+dPrice+\\quot\\ sFormattedSize=\\quot\\+sFormattedSize);//crlf////tab////tab////tab////tab////tab////tab////console.log(\\quot\\setDefaultPurchaseSize ItemID=\\quot\\+sItemID+\\quot\\ dPrefix=\\quot\\+dPrefix+\\quot\\ sUnitID=\\quot\\+sUnitID+\\quot\\ dPrice=\\quot\\+dPrice+\\quot\\ sFormattedSize=\\quot\\+sFormattedSize);//crlf////tab////tab////tab////tab////tab////tab//if((a[0].equalsIgnoreCase(sVendorID)) //amp////amp// (sUnitID!=\\quot\\0\\quot\\) //amp////amp// (sUnitID.length>0)) bDone=true;//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//};//crlf////console.log(\\quot\\setDefaultPurchaseSize dPrefix=\\quot\\+dPrefix+\\quot\\ sUnitID=\\quot\\+sUnitID);//crlf////tab////tab////tab////tab//if((dPrefix!=0) //amp////amp// (sUnitID!=\\quot\\0\\quot\\)) {//crlf////tab////tab////tab////tab////tab////set the size prefix and submit it//crlf////tab////tab////tab////tab////tab//var ePrefix=document.getElementById(sDialogID+\\quot\\SizePrefix\\quot\\);//crlf////tab////tab////tab////tab////tab//ePrefix.value=dPrefix;//crlf////tab////tab////tab////tab////tab//submitDialogCell(ePrefix);//crlf////crlf////tab////tab////tab////tab////tab////set the size unit and submit it//crlf////tab////tab////tab////tab////tab//var eUnit=document.getElementById(sDialogID+\\quot\\SizeUnit\\quot\\);//crlf////tab////tab////tab////tab////tab//eUnit.value=sUnitID;//crlf////console.log(\\quot\\setDefaultPurchaseSize set unit=\\quot\\+eUnit.value+\\quot\\ eUnit.id=\\quot\\+eUnit.id);//crlf////tab////tab////tab////tab////tab//submitDialogCell(eUnit);//crlf////crlf////tab////tab////tab////tab////tab////record the default price in the hidden input//crlf////tab////tab////tab////tab////tab//document.getElementById(sDialogID+\\quot\\UnitPrice\\quot\\).value=dPrice;//crlf////crlf////tab////tab////tab////tab////tab////set the formatted size//crlf////tab////tab////tab////tab////tab//document.getElementById(sDialogID+\\quot\\SizeReadOnly\\quot\\).innerHTML=sFormattedSize;//crlf////crlf////tab////tab////tab////tab////tab////if the quantity is nonzero and the amount is zero\\comma\\ set the amount and submit it//crlf////tab////tab////tab////tab////tab//var eQuantity=document.getElementById(sDialogID+\\quot\\Quantity\\quot\\);//crlf////tab////tab////tab////tab////tab//var eAmount=document.getElementById(sDialogID+\\quot\\Amount\\quot\\);//crlf////tab////tab////tab////tab////tab//if(eQuantity.value.length>0) {//crlf////tab////tab////tab////tab////tab////tab//if(parseFloat(eQuantity.value)!=0) {//crlf////tab////tab////tab////tab////tab////tab////tab//if((parseFloat(eAmount.value)==0) ~~pipe~~~~pipe~~ (eAmount.value.length==0)) {//crlf////tab////tab////tab////tab////tab////tab////tab////tab//var dValue=Math.round(parseFloat(eQuantity.value)*dPrice*100)/100;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//eAmount.value=dValue;//crlf////tab////tab////tab////tab////tab////tab////tab////tab//submitDialogCell(eAmount);//crlf////tab////tab////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab////tab////disable editing of the size since a valid size has been found//crlf////tab////tab////tab////tab////tab////console.log(\\quot\\setDefaultPurchaseSize: Prefix=\\quot\\+ePrefix.value+\\quot\\ Unit=\\quot\\+eUnit.value+\\quot\\ sUnitID=\\quot\\+sUnitID);//crlf////tab////tab////tab////tab////tab//enableSizeEdit(sDialogID\\comma\\false);//crlf////crlf////tab////tab////tab////tab////tab////focus the quantity input//crlf////tab////tab////tab////tab////tab//document.getElementById(sDialogID+\\quot\\Quantity\\quot\\).focus();//crlf////crlf////tab////tab////tab////tab////tab//setDefaultPrice(sDialogID)//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else {//crlf////tab////tab////tab////tab////tab////enable editing of the size since a valid size was not found//crlf////tab////tab////tab////tab////tab////console.log(\\quot\\setDefaultPurchaseSize: Unable to find a valid size\\quot\\);//crlf////tab////tab////tab////tab////tab//enableSizeEdit(sDialogID\\comma\\true)//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//function invoiceDetailNextButtonKeyDown(evt\\comma\\e) {//crlf////tab////tab//var key=evt.keyCode ? evt.keyCode : evt.which ? evt.which : evt.charCode;//crlf////tab////tab//if(key==27) {//crlf////tab////tab////tab//closeInvoiceDetailDialog(e);//crlf////tab////tab//};//crlf////tab//};//crlf//</script>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Dialog used to edit a record//crlf//--------------------------------------------------------------------------]//crlf//<div ID=\\quot\\Aspect_Back_Office_Invoice_Detail__DialogID__\\quot\\ DialogIDSalt=\\quot\\__DialogID__\\quot\\ salt=\\quot\\__salt__\\quot\\ aspectinit=\\quot\\editInvoiceDetail\\quot\\ class=\\quot\\default_table_dialog\\quot\\ AdjustHeight=\\quot\\false\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:350px; display:<!!include type:expression; expression:if(not(defined(\\quot\\__DialogID__\\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 ID=\\quot\\__DialogID__CloseIcon\\quot\\ class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeInvoiceDetailDialog(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__invoicedetail')\\quot\\>Invoice Item</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__invoicedetail'>Invoice Item</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__HiddenItemID\\quot\\ name=\\quot\\ItemID\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__HiddenItemName\\quot\\ name=\\quot\\Item_Name\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__Imported_Item_Name\\quot\\ name=\\quot\\Imported_Item_Name\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__Imported_Item_Code\\quot\\ name=\\quot\\Imported_Item_Code\\quot\\>//crlf////crlf////tab////tab//<!-- Main -->//crlf////tab////tab//<div ID=\\quot\\__salt__invoicedetail\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<table ID=\\quot\\__DialogID__InvoiceDetailDialogTable\\quot\\ class=\\quot\\inline\\quot\\ style=\\quot\\max-width:350px\\quot\\>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__salt__VendorName\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>//amp//nbsp;</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<span name=\\quot\\Imported_Item_Name\\quot\\></span>\\comma\\//amp//nbsp;//crlf////tab////tab////tab////tab////tab////tab//<span name=\\quot\\Imported_Pack_Size\\quot\\></span>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Item</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab////tab//< !!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Inventory_Items_by_ID_with_Select\\quot\\\\comma\\\\quot\\ItemID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\class=\\quot\\+quote(\\quot\\long\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)+\\quot\\ onkeydown=\\quot\\+quote(\\quot\\return keyDown(event\\comma\\this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\\\comma\\\\quot\\Record_Type=1\\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\\__DialogID__InvoiceDetailSelectItem\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Name:\\quot\\ItemID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Items_for_Invoice_Detail_Dialog\\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\\onkeydown='return datalistKeyDown(event\\comma\\ this);' placeholder='Type an item name (3 or more characters)' DefaultFocus='true' class='long' Salt='__salt__' DialogID='__DialogID__' onChange='invoiceDetailItemSelected(this)'\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__~~pipe~~VendorID=__VendorID__\\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////tab//<input type=\\quot\\checkbox\\quot\\ ID=\\quot\\__DialogID__ShowAllItems\\quot\\ tabstop=\\quot\\false\\quot\\ checked=\\quot\\checked\\quot\\ onkeydown=\\quot\\return keyDown(event\\comma\\this);\\quot\\ onChange=\\quot\\showAllInvoiceDetailSelections(this\\comma\\'__DialogID__')\\quot\\> Select from all items//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ ID=\\quot\\__DialogID__ShowInactiveItems\\quot\\ tabstop=\\quot\\false\\quot\\ onkeydown=\\quot\\return keyDown(event\\comma\\this);\\quot\\ onChange=\\quot\\showInactiveInvoiceDetailSelections(this\\comma\\'__DialogID__')\\quot\\> Include inactive items//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__DialogID__TRSizeReadOnly\\quot\\>//crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//This row displays the size using a span.  The size can be edited by clicking on it//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<td>Size</td>//crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//Add width to the td tag so it appears on a row by itself\\comma\\ even when the table is//crlf////tab////tab////tab////tab////tab//displayed inline.//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<td style=\\quot\\width:200px\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<span ID=\\quot\\__DialogID__SizeReadOnly\\quot\\ name=\\quot\\Size\\quot\\ class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\enableSizeEdit('__DialogID__'\\comma\\true)\\quot\\></span>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__DialogID__TRSizeEditable\\quot\\>//crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//This row displays the size as an editable prefix and unit//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<td>Size</td>//crlf////tab////tab////tab////tab////tab//<td style=\\quot\\white-space:nowrap\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<input TYPE=\\quot\\number\\quot\\ ID=\\quot\\__DialogID__SizePrefix\\quot\\ ONCHANGE=\\quot\\invoiceDetailSizePrefixChanged(this\\comma\\'__DialogID__')\\quot\\ onkeydown=\\quot\\return keyDown(event\\comma\\this);\\quot\\ class=\\quot\\number\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Size_Prefix\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab// - //crlf////tab////tab////tab////tab////tab////tab//<!!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sizes_With_Select\\quot\\\\comma\\\\quot\\Size_Unit\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\\quot\\+quote(\\quot\\__DialogID__SizeUnit\\quot\\)+\\quot\\ DialogID='__DialogID__' class=\\quot\\+quote(\\quot\\short\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\invoiceDetailSizeUnitChanged(this)\\quot\\)+\\quot\\ onkeydown=\\quot\\+quote(\\quot\\return keyDown(event\\comma\\this)\\quot\\)\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Quantity</td>//crlf////tab////tab////tab////tab////tab//<td><input TYPE=\\quot\\number\\quot\\ ID=\\quot\\__DialogID__Quantity\\quot\\ ONCHANGE=\\quot\\invoiceDetailQuantityChanged(this\\comma\\'__DialogID__')\\quot\\ onkeydown=\\quot\\return keyDown(event\\comma\\this);\\quot\\ class=\\quot\\number\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Quantity\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Amount</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input TYPE=\\quot\\number\\quot\\ ID=\\quot\\__DialogID__Amount\\quot\\ ONCHANGE=\\quot\\invoiceDetailAmountChanged(this\\comma\\'__DialogID__')\\quot\\ onkeydown=\\quot\\return keyDown(event\\comma\\this);\\quot\\ class=\\quot\\number\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Extended_Price\\quot\\></input>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__DialogID__UnitPriceContainer\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Unit Price</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\number\\quot\\ class=\\quot\\number readonly=\\quot\\readonly\\quot\\ ID=\\quot\\__DialogID__CurrentUnitPrice\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<span ID=\\quot\\__DialogID__PriceChangeNotification\\quot\\></span>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__DialogID__LastUnitPriceContainer\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Last Price</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\number\\quot\\ class=\\quot\\number readonly=\\quot\\readonly\\quot\\ ID=\\quot\\__DialogID__LastUnitPrice\\quot\\> //crlf////tab////tab////tab////tab////tab////tab//<span ID=\\quot\\__DialogID__PriceChangePercent\\quot\\></span>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//<div ID=\\quot\\__DialogID__AddAnotherInvoiceDetailContainer\\quot\\ style=\\quot\\text-align:center;padding-top:10px\\quot\\>//crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ tabstop=\\quot\\true\\quot\\ style=\\quot\\width:80\\percent\\\\quot\\ value=\\quot\\Add Another Item\\quot\\ onkeydown=\\quot\\return invoiceDetailNextButtonKeyDown(event\\comma\\this);\\quot\\ onClick=\\quot\\addAnotherInvoiceDetail('__DialogID__')\\quot\\>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//This is a hidden input used to record the default price.  It is set initially when the dialog is open //crlf////tab////tab////tab//using a calculated field in the structure that divides the extended price by the quantity.  It is //crlf////tab////tab////tab//updated whenever an item is selected by the invoiceDetailItemSelected() function which looks up the //crlf////tab////tab////tab//associated size and price for an item using a collection included in the invoice dialog.//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__DialogID__UnitPrice\\quot\\ name=\\quot\\Unit_Price\\quot\\>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//This is a hidden datalist containing a list of items filtered to the selected vendor.//crlf////tab////tab////tab//This list can be used by the actual item select box by changing the \\quot\\list\\quot\\ attribute//crlf////tab////tab////tab//in the input.//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<!!include type:Collection;//crlf////tab////tab////tab////tab//ID:\\quot\\__DialogID__InvoiceDetailSelectItemAlt\\quot\\;//crlf////tab////tab////tab////tab//Name:\\quot\\ItemID\\quot\\;//crlf////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Inventory_Items_for_Invoice_Detail_Dialog\\quot\\;//crlf////tab////tab////tab////tab//DataList:\\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\class='long' DialogID='__DialogID__' style='display:none' onChange='invoiceDetailItemSelected(this)'\\quot\\;//crlf////tab////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__~~pipe~~VendorID=__VendorID__\\quot\\;//crlf////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////tab//__servertimerresults__//crlf//</div>^
ID=291424|X=151|Y=33|W=866|H=665|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=983583|AttachLeft=|AlignLeft=983583|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Master item list//crlf//--------------------------------------------------------------------------]//crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Selected=true//amp//Section=Master item list\\quot\\;>//crlf////crlf////tab//<p>The collection with the ID __salt__DefaultPurchaseInfo is located in the invoice dialog. It contains //crlf////tab////tab//vendor codes\\comma\\ sizes and prices for each item.</p>//crlf////crlf////tab//<code>//crlf////tab////tab////amp//lt;option value=\\quot\\[ItemID]\\quot\\//amp//gt;<br>//crlf////tab////tab////tab////amp//nbsp;//amp//nbsp;Item ID~~pipe~~Name\\comma\\<br>//crlf////tab////tab////tab////tab////amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;vendor1 code]vendor1 size prefix~~pipe~~vendor1 size unit~~pipe~~vendor1 price~~pipe~~vendor1 size\\comma\\<br>//crlf////tab////tab////tab////tab////amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;vendor2 code]vendor2 size prefix~~pipe~~vendor2 size unit~~pipe~~vendor2 price~~pipe~~vendor2 size\\comma\\<br>//crlf////tab////tab////tab////tab////amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;vendor3 code]vendor3 size prefix~~pipe~~vendor3 size unit~~pipe~~vendor3 price~~pipe~~vendor3 size<br>//crlf////tab////tab////amp//lt;/option//amp//gt;<br>//crlf////tab//</code>//crlf////tab//<br>//crlf////crlf////tab//<p>For example:</p>//crlf////tab//<code>//crlf////tab////amp//lt;option value=\\quot\\723\\quot\\//amp//gt;723~~pipe~~MOZZ IN WATER\\comma\\2~~pipe~~1~~pipe~~11~~pipe~~3.46~~pipe~~ Pound\\comma\\22~~pipe~~1~~pipe~~11~~pipe~~9.2575~~pipe~~ Pound\\comma\\1~~pipe~~1~~pipe~~11~~pipe~~4.241~~pipe~~ Pound//amp//lt;/option//amp//gt;//crlf////tab//</code>//crlf////tab//<br>//crlf////tab////crlf////tab//<p>This collection is used to lookup the default price when an invoice detail is entered.  It is also //crlf////tab////tab//used to update the two datalists so the item names include the vendor code for the selected vendor.  //crlf////tab////tab//This avoids having to make a call to the server to update the lists when the vendor is changed.</p>//crlf////crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Item datalists//crlf//--------------------------------------------------------------------------]//crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Selected=trueChapter=__salt__//amp//Section=Item datalists\\quot\\;>//crlf////tab//<p>Two datalists are used for the item selection in an invoice detail.</p//crlf////crlf////tab//<code>//crlf////tab////tab//__DialogID__InvoiceDetailSelectItem<br>//crlf////tab////tab//__DialogID__InvoiceDetailSelectItemAlt<br>//crlf////tab//</code>//crlf////crlf////tab//<p>The first is associated with the input field as it would normally be.  The second is a hidden //crlf////tab////tab//collection.  When the checkbox used to select only items supplied by the selected vendor is //crlf////tab////tab//toggled\\comma\\ the appropriate datalist is associated with the input field.</p>//crlf////crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf//^
ID=409305|X=151|Y=33|W=1123|H=793|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=983583|AttachLeft=|AlignLeft=983583|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=167025|X=151|Y=33|W=866|H=665|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=983583|AttachLeft=|AlignLeft=983583|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=2253|X=151|Y=33|W=866|H=665|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=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=983583|AttachLeft=|AlignLeft=983583|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=204615|X=151|Y=33|W=910|H=608|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=983583|AttachLeft=|AlignLeft=983583|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="Legitimate Usage Menu Item Total" group="" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Legitimate Usage Menu Item Total" modified="08-03-2021 20:32:51" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=08-02-2021 21:38:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=60 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="true" TaskConditional_Expression_Description="" TaskState_Function="gfs(getBackofficeFilespec(\\quote\\\\quote\\,\\quote\\usage.*\\quote\\,incrementTime(LastBusinessDay(),-7),now(),char(0x3B))) + gfs(getBackofficeFilespec(\\quote\\\\quote\\,\\quote\\usage_menuitem_total.*\\quote\\,incrementTime(LastBusinessDay(),-7),now(),char(0x3B)))" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=65|toolboxy=101|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Legitimate Usage Menu Item Total.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\\'193881')\\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\\'843092')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=193881|X=300|Y=126|W=1074|H=652|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_KAV7tpXDgrrC34l3qOMpj1Sy_Legitimate Usage Menu Item Total.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_KAV7tpXDgrrC34l3qOMpj1Sy_Legitimate Usage Menu Item Total.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Legitimate Usage Menu Item Total\\comma\\updateLegitMenuItemTotals\\comma\\action_list\\comma\\Action=updateLegitMenuItemTotals\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//updateLegitMenuItemTotals//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateLegitMenuItemTotals\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates the Aspect_Back-Office_Legitimate_Usage_Menu_Item_Total for all stores and 90 days back//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateLegitMenuItemTotals\\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//arStoreID=getCollection(Aspect_BackOffice_Store_ID_By_ID\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\value\\quot\\)//crlf////crlf////tab////tab////tab////get starting date//crlf////tab////tab////tab//dtFrom=incrementTime(LastBusinessDay()\\comma\\-45)//crlf////crlf////tab////tab////tab////get ending date//crlf////tab////tab////tab//dtTo=now()//crlf////crlf////tab////tab////tab//cUpdated=0//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//cStore=getElementCount(arStoreID)//crlf////tab////tab////tab//bAbort=false//crlf////tab////tab////tab//nStore=0//crlf////tab////tab////tab//while((not(bAbort)) and (nStore<cStore))//crlf////tab////tab////tab////tab//sStoreID=getElement(arStoreID\\comma\\nStore)//crlf////tab////tab////tab////tab//dt=dtFrom//crlf////tab////tab////tab////tab//while(dt<dtTo)//crlf////tab////tab////tab////tab////tab//sDate=formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Update legit menu totals for \\quot\\\\plus\\getStoreName(sStoreID)\\plus\\\\quot\\: \\quot\\\\plus\\sDate)//crlf////tab////tab////tab////tab////tab//sUsageFilename=getStoreDir(sStoreID)\\plus\\\\quot\\usage.\\quot\\\\plus\\sDate\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab////tab//if(fileExists(sUsageFilename))//crlf////tab////tab////tab////tab////tab////tab//sTotalsFilename=getStoreDir(sStoreID)\\plus\\\\quot\\usage_menuitem_total.\\quot\\\\plus\\sDate\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\~~pipe~~Date=\\quot\\\\plus\\sDate//crlf////tab////tab////tab////tab////tab////tab//if(dependencyStateChanged(\\quot\\Aspect_Back-Office_Legitimate_Usage_Menu_Item_Total\\quot\\\\comma\\sParams))//crlf////tab////tab////tab////tab////tab////tab////if((gt(fileModified(sUsageFilename)\\comma\\fileModified(sTotalsFilename)\\comma\\d)) or (not(fileExists(sTotalsFilename))))//crlf////tab////tab////tab////tab////tab////tab////tab//s=updateDependentDriver(\\quot\\Aspect_Back-Office_Legitimate_Usage_Menu_Item_Total\\quot\\\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab////tab//cUpdated\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab////tab////tab//bAbort=boolean(getToken(\\quot\\execrecalculatePerpetuals\\quot\\))//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//nStore\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(bAbort>0)//crlf////tab////tab////tab////tab//return(\\quot\\Ok : Aborted because update perpetual executed.  Updated \\quot\\\\plus\\cUpdated\\plus\\\\quot\\ drivers.\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Updated \\quot\\\\plus\\cUpdated\\plus\\\\quot\\ drivers.\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=843092|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=241975|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=always|^
ID=417630|X=183|Y=312|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Legitimate Usage Menu Item Total\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Legitimate Usage Menu Item Total\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 08-02-2021 22:34:32//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (true))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Legitimate Usage Menu Item Total\\comma\\AgentAction\\comma\\241975\\comma\\0\\comma\\updateLegitMenuItemTotals//crlf////tab////tab//Result=execAgentAction(\\quot\\updateLegitMenuItemTotals\\quot\\)//crlf////tab////tab//::node\\comma\\KAV7tpXDgrrC34l3qOMpj1Sy_Legitimate Usage Menu Item Total\\comma\\AgentTerminate\\comma\\417630\\comma\\0\\comma\\Ok//crlf////tab////tab//agentReportStatus(\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy_Legitimate Usage Menu Item Total\\quot\\\\comma\\\\quot\\417630\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart))//crlf////tab////tab//scriptSetResult(Result)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;08022021//amp//nbsp;223432//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_Legitimate//amp//nbsp;Usage//amp//nbsp;Menu//amp//nbsp;Item//amp//nbsp;Total\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;08-02-2021//amp//nbsp;22:34:32</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(true))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\updateLegitMenuItemTotals\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy_Legitimate//amp//nbsp;Usage//amp//nbsp;Menu//amp//nbsp;Item//amp//nbsp;Total\\quot\\\\comma\\\\quot\\417630\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>08022021 223432</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\\chart241975\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\124\\quot\\ style=\\quot\\width: 120px; height: 124px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Legitimate Usage Menu Item Total</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: always<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart417630\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 271px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart241975\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart417630\\quot\\ style=\\quot\\position: absolute; top: 163px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\56\\quot\\ style=\\quot\\width: 150px; height: 56px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>updateLegitMenuItemTotals<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div>^
ID=241975|X=183|Y=204|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=417630|AgentChildNoNode=|AgentSensor=|AgentAction=updateLegitMenuItemTotals|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=|AgentNodeTermType=|
</widget>