This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Items: | |
- Description: Auto Batch | |
Url: https://gist.github.com/kendash/9ada73d833dcc5517162/raw/ | |
Version: 213 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"AccountScreens":null,"AccountTransactionDocumentTypes":null,"AccountTransactionTypes":null,"AccountTypes":null,"Accounts":null,"Actions":null,"AutoConfigurationTasks":[{"CreateBackup":false,"Description":"Creates a SQL Agent Job that clears the tip adjust screen when Auto Batch is used. It clears it at 2am.","Language":"En","Name":"Set Auto Batch","SortOrder":0,"TaskData":"[{\"Action\":\"var databases = sql.Query('SELECT name FROM master.dbo.sysdatabases').Join('|');\\u000d\\u000aresult = '[?Database::'+databases+']';\",\"ActionType\":4,\"Condition\":null,\"Description\":\"Select Database\"},{\"Action\":\"USE [msdb]\\u000d\\u000aGO\\u000d\\u000a\\u000d\\u000a\\\/****** Object: Job [Batch Out] Script Date: 1\\\/12\\\/2025 1:48:25 PM ******\\\/\\u000d\\u000aBEGIN TRANSACTION\\u000d\\u000aDECLARE @ReturnCode INT\\u000d\\u000aSELECT @ReturnCode = 0\\u000d\\u000a\\\/****** Object: JobCategory [[Uncategorized (Local)]] Script Date: 1\\\/12\\\/2025 1:48:25 PM ******\\\/\\u000d\\u000aIF NOT EXISTS (SELECT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"AccountScreens":null,"AccountTransactionDocumentTypes":null,"AccountTransactionTypes":null,"AccountTypes":null,"Accounts":null,"Actions":null,"AutoConfigurationTasks":[{"CreateBackup":false,"Description":"Activates Time Clock, Creates Employee Entity Type and adds Employee Entities. On this configuration Time Clock users are tracked as Ticket Entities.","Language":"en","Name":"Activate Time Clock & Add Employees","SortOrder":0,"TaskData":"[{\"Action\":\"[?Employee Name:[A-Z][A-Za-z ]+]\\u000d\\u000a[?Entry PIN:.{4}]\\u000d\\u000a[?Operator Number:\\\\d+]\\u000d\\u000a[?Pay Rate:\\\\d+\\\\.\\\\d{0,2}]\",\"ActionType\":4,\"Condition\":null,\"Description\":\"Ask Employee Name\"},{\"Action\":\"var result = true;\\u000d\\u000avar exists = api.Rule('TC_Set Ticket Employee').Exists();\\u000d\\u000aif(!exists)\\u000d\\u000a{\\u000d\\u000a var operation = dlg.AskQuestion('Do you want to enable Time Clock?','Yes,No. Cancel It');\\u000d\\u000a if(operation == 'Yes')\\u000d\\u000a {\\u000d\\u000a Data.Se |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"AccountScreens":null,"AccountTransactionDocumentTypes":null,"AccountTransactionTypes":null,"AccountTypes":null,"Accounts":null,"Actions":null,"AutoConfigurationTasks":[{"CreateBackup":true,"Description":"Creates a Ticket State driven auto print system based off Payment Types and Ticket Closed event.","Language":"en","Name":"Automatic Print by Payment Type","SortOrder":0,"TaskData":"[{\"Action\":\"var payments = sql.Query('select Name from PaymentTypes').Join('|');\\u000d\\u000aresult = '[?Payment Type::'+payments+']'\\u000d\\u000a\",\"ActionType\":4,\"Condition\":null,\"Description\":\"Initialize Payment Type Parameters\"},{\"Action\":\"var printertemplates = sql.Query('select Name from PrinterTemplates').Join('|');\\u000d\\u000aresult = '[?Printer Template::'+printertemplates+']'\",\"ActionType\":4,\"Condition\":null,\"Description\":\"Initialize Printer Template Parameters\"},{\"Action\":\"Data.Set('op','Create');\\u000d\\u000aif(!sql.Exists(\\\"SELECT Id from PaymentTypes where Name = '[:Payment Type]'\\\ |