{"id":2002,"date":"2014-09-29T20:14:52","date_gmt":"2014-09-30T03:14:52","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=2002"},"modified":"2020-08-31T09:40:50","modified_gmt":"2020-08-31T16:40:50","slug":"how-to-alter-the-bi-folder-naming-sequence","status":"publish","type":"post","link":"https:\/\/ephesoft.com\/docs\/how-to-alter-the-bi-folder-naming-sequence\/","title":{"rendered":"Altering the Batch Instance Folder Naming Sequence"},"content":{"rendered":"
Applies to<\/strong>: All versions of Ephesoft Transact<\/span><\/p>\n The following steps describe how to edit the batch instance folder naming sequence. By default, new batch instances start with \u201cBI1\u201d and cycle numerically and alphabetically.<\/span><\/p>\n The steps for this article vary based on your selected database:<\/span><\/p>\n Use the following query to set the naming value.<\/span><\/p>\n Note<\/strong>: The batch instance identifier is in hexadecimal format, but the above query uses decimal format. As such you will need to enter the seed in decimal. In the example above, the seed is changed to 20481, which will set the next batch instance number to be BI5001 (5001 hexadecimal = 20481 decimal).<\/span><\/p>\n Use the following query to set the naming value.<\/span><\/p>\n Note<\/strong>: You must be the system administrator (sa) in Microsoft SQL Server Management Studio (SSMS) to run this query.<\/span><\/p>\n Note<\/strong>: The batch instance identifier is in hexadecimal format, but the above query uses decimal format. As such you will need to enter the seed in decimal. In the example above, the seed is changed to 20481, which will set the next batch instance number to be BI5001 (5001 hexadecimal = 20481 decimal).<\/span><\/p>\n <\/p>\n","protected":false},"excerpt":{"rendered":" Applies to: All versions of Ephesoft Transact The following steps describe how to edit the batch instance folder naming sequence. […]<\/p>\n","protected":false},"author":54,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12382],"tags":[992,994,281,991,620,153,721,993],"yoast_head":"\n\n
<\/a>MySQL or MariaDB<\/span><\/h2>\n
ALTER TABLE batch_instance AUTO_INCREMENT = 20481<\/span><\/pre>\n
<\/a>MSSQL<\/span><\/h2>\n
DBCC CHECKIDENT (\"batch_instance\", RESEED, 20481);<\/span><\/pre>\n